New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Can't convert to ComplexColor: type=0x1 #1382
Comments
I need to refresh myself on colors for Android. This application is huge so going to run some localized tests so I can pinpoint the problem. We have
So about every syntax format possible for colors. Apktool may be decoding incorrectly or building incorrectly. Will need to investigate at smaller size. |
Today I investigated about this issue and I found out the cause. More specifically:
in
in
in So, basically all (and the only ones) references to color attrs in Example, from
Finally, replacing those references with standard color types (eg. |
Okay, so let me follow this to get things straight.
Clean
Dirty
So we improperly converted the resource from type 8 to type 7.
So the correct type was I improperly patched the newly added
so I need to take another look at it. |
You're right, treating Sent also a pull request, 983e0ad. Tested and working just fine, thank you! |
Information
apktool -version
) - 2.2.1Stacktrace/Logcat
http://pastebin.com/raw/ZF5VxH3F
Steps to Reproduce
Application crashes with no modifications done to it, after decompilation/compilation.
apktool d LGSystemUI.apk
apktool b LGSystemUI
Frameworks
lge-res.apk: https://mega.nz/#!6UtWhDjA!iw6MjIan1GY9bzf9tXeV5zMZJ6w1zvEgMuI1kOuezdU
framework-res.apk: https://mega.nz/#!TM9DlYqY!YuGlJICKx7SpOswEsT4Ax4uR9EmElu2qiApsQZero1I
APK
LGSystemUI.apk: https://mega.nz/#!PA9BmCoa!roycqSEpcvU-H1dEH8X6a1zy4iBi3er1BeO8I9RHk-o
Questions to ask before submission
apktool d
,apktool b
without changing anything? YesThe text was updated successfully, but these errors were encountered: