Can't rebuild *simple* app :( #2200
Steps to Reproduce
There is only one apk in folder /system/framework and it is framework-res.apk
Questions to ask before submission
The text was updated successfully, but these errors were encountered:
no the problem is using the www is doing it :D but anyways the apktool is not working :/ many people have this problem but no one is answering for workaround... looks like there is no fix for it and must to wait for update and who knows when it will be updated :(
I've been able to rebuild this file with apktool 2.4.1.
First I decompiled it:
Then recompiled it with aapt:
This is saying there are some duplicate lines in "styles.xml". If I delete those and try recompiling again, it works.
This translation warning isn't an issue worth worrying about.
However, if I recompile with aapt2, I get something slightly different:
There are some lines in "attrs.xml" that are causing trouble. Those lines are these:
This can be fixed, but then apktool gives different errors. So it's easier just to use aapt instead.
It's not impossible that these dummy values might cause some trouble with the recompiled APK. Or they might not cause any trouble at all and the app will work just fine. The only way to tell is to try it and see what happens.
Hope this helps!
yeah but your error is different then my #2265