Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
apktool doesn't regenerate configChanges="orientation|screenSize" #415
What is the expected output? What do you see instead?
I expect to find the JRFragmentHostActivity activities to have configChanges attributes of "orientation|screenSize". Instead I see configChanges="orientation".
What version of the product are you using? On what operating system?
apktool1.4.3.tar.bz2 with apktool-install-macosx-r04-brut1.tar.bz2
Please provide any additional information below.
SimpleDemo-debug.apk was built with ant with project.properties target=android-15. The source manifest can be found here:
I have seen this behavior with other APKs too. They behave on the device as if they do have the screensize attribute though.
Comment #2 originally posted by ruairitobrien on 2012-07-23T11:31:31.000Z:
Not sure how or when it is created but it looks like (purely guessing) it gets created on the first execution of the apktool. It appears that it does not get updated when you update the SDK.
Deleting that file and running apktool after updating the Android SDK seems to create a new framework/1.apk file that supports the latest SDK and should solve the issue mentioned above.
Comment #8 originally posted by connor.tumbleson on 2012-12-19T14:12:35.000Z: