Jump to content

Android Studio - Gradle upgrade breaking spectrums loading


Recommended Posts

@maxmp, I was not able to post in Developers area hence this post here. Basically a request for help/assistance

After my latest upgrade of $YAPS$ skin (v138) recently some users made me aware that the spectrums no longer loaded and defaulted to Poweramp - spectrum-centered. 

To make a long story short, it turns out that the Gradle update from

classpath 'com.android.tools.build:gradle:4.1.3'
to
 classpath 'com.android.tools.build:gradle:4.2.0'

causes the problem. 

below some stacktrace


05-14 10:24:50.796 3579-3579/? W/SkinnableThemeManager: Loading skin=/data/app/skins.v3.Poweramp.apowerampskin-1/base.apk
05-14 10:24:52.212 3579-3579/? E/SkinInfo: fillFromXml bad tag=resources at Binary XML file line #2 app=skins.v3.Poweramp.apowerampskin
05-14 10:24:52.227 3579-3579/? E/SkinInfo: fillFromXml bad tag=resources at Binary XML file line #2 app=skins.v3.Poweramp.apowerampskin
05-14 10:24:52.246 3579-3579/? E/SkinInfo: fillFromXml bad tag=resources at Binary XML file line #2 app=skins.v3.Poweramp.apowerampskin

05-14 10:24:55.037 3579-23702/? E/Loader.cpp: loadPreset bad uri= apk://skins.v3.Poweramp.apowerampskin#cyberia.milk  parse res=1 scheme size=0 uri frag size=0 fragmentOpt size=0
05-14 10:24:55.037 3579-23702/? E/MilkRenderer: preset=null, failed to load= apk://skins.v3.Poweramp.apowerampskin#cyberia.milk  frag=null trying=Poweramp - spectrum-centered
 

it is worth noting that the error:

05-14 10:24:52.246 3579-3579/? E/SkinInfo: fillFromXml bad tag=resources at Binary XML file line #2 app=skins.v3.Poweramp.apowerampskin

shows even when things work as expected.

Reverting back to 'com.android.tools.build:gradle:4.1.3' resolves the issue

 

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

 Share

×
×
  • Create New...