Jump to content

aaptOptions after Poweramp V914

Recommended Posts

@maxmp, I have implemented the aaptOptions as shown in your sample app

aaptOptions {
    def localProps = new Properties()
    def paResources = localProps['Poweramp.apk'] ?: "Poweramp-build-914-resources.zip"

    additionalParameters "--emit-ids", "stable-ids.txt",
                            "--package-id", "0x80",
                            "-I", "${projectDir}/${paResources}"
    if(rootProject.file("stable-ids.txt").exists()) {
        additionalParameters "--stable-ids", "stable-ids.txt"

Q. with each subsequent release of Poweramp, will we also need to update Poweramp-build-914-resources.zip

and if so, will the next version be published on https://github.com/maxmpz/powerampapi

Link to comment
Share on other sites

@flyingdutchman the resources zip which is used to build skins should be updated if you're going to use some new attributes/identifiers/styles which are incrementally added with new builds. You can skip updating if your skin builds OK, as all those resource ids are stable and specifically "fixed" not to change with updates.

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.
Note: Your post will require moderator approval before it will be visible.

Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
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.

  • Create New...