Jump to content

Recommended Posts

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

aaptOptions {
    def localProps = new Properties()
    localProps.load(rootProject.file("local.properties").newDataInputStream())
    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
https://forum.powerampapp.com/topic/22779-aaptoptions-after-poweramp-v914/
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.

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...