Jump to content

Template for v3 to design skins??


KiLLaBee
 Share

Recommended Posts

  • Replies 32
  • Created
  • Last Reply

Top Posters In This Topic

Top Posters In This Topic

I understand. I have sent them another email regarding this matter, a reply to their reply-email to me from a few days ago. You or your interaction has not been mentioned in my email, it is my business only. Will see if they respond the same as last time. If they do, I - and probably many other PA v3 users around the world - will then have to go to one of their competitors for good v3 skins and the loss is theirs.

Link to comment
Share on other sites

  • 3 months later...

Jumping in in this topic.

I am curious about how to develop a Poweramp V3 skin and cloned Github project.

I'm a seasoned developer, but not that many experience with Java/Android Studio.

And I understand how a skin is built & works on V3, no problem with that.
 

But trying to open & build this project in Android Studio (latest), adjusting stuff as described in this README and... I have errors and it does not work.

https://github.com/maxmpz/powerampapi/blob/master/poweramp_skin_sdk/poweramp_skin_sample/readme.md

For a start, "stable-ids.txt" is missing from the project. I created an empty file, and it worked,

Then, I could not proceed on this. No matter I do, i always get a build error -- but hey, maybe I'm skipping something basic here...

additionalParameters "--shared-lib", "-I", "./../../Poweramp-v3-build-842-uni.apk"

Error: 

AAPT: W/ziparchive(76693): Unable to open './../../Poweramp-v3-build-842-uni.apk': No such file or directory
error: failed to open APK: I/O error.

 

Just to skip that and try I removed that line, and I got a new one, concerning "stable-ids.txt"

AAPT: error: can't assign ID 0x00010000 to resource com.Poweramp.v3.sampleskin:attr/OpenSans_font with conflicting ID 0x80000000.
error: failed assigning IDs.

I've cleaned project, rebuild & make again. No luck.


As you can see, Skin Sample project is not working out of the box, even if we follow given instructions.


Can we have a revised/updated version, please?
That would be awesome!


[UPDATE]

I moved the apk file to project's root and removed all relative paths, and now it's working! :D

additionalParameters "--stable-ids", "stable-ids.txt", "--emit-ids", "stable-ids.txt",
        "--shared-lib", "-I", "Poweramp-v3-build-842-uni.apk"


Thanks

Link to comment
Share on other sites

@Mercury, the extra parameters are to ensure skin settings are preserved so this works too. Just create an empty stable-ids.txt and saved it somewhere. The <somewhere> path is then reflected in your gradle file. The double \\ is to ensure the \ is interpreted correctly. the first \ is the escape character to indicate to treat the following character as an ascii char

additionalParameters "--stable-ids", "F:\\Android\\Android\\APK\\Poweramp\\stable-ids.txt", "--emit-ids", "F:\\Android\\Android\\APK\\Poweramp\\stable-ids.txt",
"--package-id", "0x80", "-I", "F:\\Android\\Android\\APK\\Poweramp\\Poweramp-v3-build-842-uni.apk"
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...