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
No resource identifier found in package 'android' and Cant find 9patch chunk in file #1323
Comments
(I removed the |
I don't get it. How did you make it work? |
If you removed the qihoo attribute, the recompiled app will crashed. I have tried many times but still crashed. |
@iBotPeaches I also have the same problem, how to solve it, hope you soon guide me how to fix it Thanks, |
@iBotPeaches I removed the qihoo attribute from the AndroidManifest file
And when i remove the qiloo
But the apk that was build after signing it and install it on my phone is not working and i keep getting this message Unfortunately, (The App name) has stopped Qihoo is a Chinese security company, who make an antivirus app for Android ` |
Regardless of whatever the company is. That is an attribute that is not in an AOSP framework, therefore it is invalid. You cannot build the application without removing it. Is it possible Qihoo is intercepting Android applications on download? Repackaging them and injecting contents and thus labeling them as Qihoo secure? |
That is a low level stack trace of native components, there is nothing there that points to the removal of |
Which can not do anything? |
Information
apktool -version
) - APKTool V 2.2.0Stacktrace/Logcat
This error shown when decompiling:
W: Cant find 9patch chunk in file: "drawable-hdpi-v4/show_head_toast_bg.9.PNG". Renaming it to *.png.
Then without making any change, recompile and got this error:
I: Using Apktool 2.2.0
I: Checking whether sources has changed...
I: Smaling smali folder into classes.dex...
I: Checking whether resources has changed...
I: Building resources...
W: warning: string 'text_add_io_success' has no default translation.
W: warning: string 'text_register_hint_user' has no default translation.
W: D:\Android\Decompiler\APKTool\geek\AndroidManifest.xml:32: error: No resource identifier found for attribute 'qihoo' in package 'android'
W: Exception in thread "main" brut.androlib.AndrolibException: brut.androlib.AndrolibException: brut.common.BrutException: could not exec (exit code = 1): [C:\Users\Me\AppData\Local\Temp\brut_util_Jar_6476050558657285376.tmp, p, --forced-package-id, 127, --min-sdk-version, 10, --target-sdk-version, 19, --version-code, 26, --version-name, 2.3.9, -F, C:\Users\Me\AppData\Local\Temp\APKTOOL1894102460996166075.tmp, -0, arsc, -0, appkey, -0, res/drawable-hdpi-v4/show_head_toast_bg.9.PNG, -0, arsc, -I, C:\Users\Me\AppData\Local\apktool\framework\1.apk, -S, D:\Android\Decompiler\APKTool\geek\res, -M, D:\Android\Decompiler\APKTool\geek\AndroidManifest.xml] at brut.androlib.Androlib.buildResourcesFull(Androlib.java:473) at brut.androlib.Androlib.buildResources(Androlib.java:407) at brut.androlib.Androlib.build(Androlib.java:306) at brut.androlib.Androlib.build(Androlib.java:263) at brut.apktool.Main.cmdBuild(Main.java:224) at brut.apktool.Main.main(Main.java:84) Caused by: brut.androlib.AndrolibException: brut.common.BrutException: could not exec (exit code = 1): [C:\Users\Me\AppData\Local\Temp\brut_util_Jar_6476050558657285376.tmp, p, --forced-package-id, 127, --min-sdk-version, 10, --target-sdk-version, 19, --version-code, 26, --version-name, 2.3.9, -F, C:\Users\Me\AppData\Local\Temp\APKTOOL1894102460996166075.tmp, -0, arsc, -0, appkey, -0, res/drawable-hdpi-v4/show_head_toast_bg.9.PNG, -0, arsc, -I, C:\Users\MeAppData\Local\apktool\framework\1.apk, -S, D:\Android\Decompiler\APKTool\geek\res, -M, D:\Android\Decompiler\APKTool\geek\AndroidManifest.xml] at brut.androlib.res.AndrolibResources.aaptPackage(AndrolibResources.java:439) at brut.androlib.Androlib.buildResourcesFull(Androlib.java:459) ... 5 more Caused by: brut.common.BrutException: could not exec (exit code = 1): [C:\Users\MeAppData\Local\Temp\brut_util_Jar_6476050558657285376.tmp, p, --forced-package-id, 127, --min-sdk-version, 10, --target-sdk-version, 19, --version-code, 26, --version-name, 2.3.9, -F, C:\Users\Me\AppData\Local\Temp\APKTOOL1894102460996166075.tmp, -0, arsc, -0, appkey, -0, res/drawable-hdpi-v4/show_head_toast_bg.9.PNG, -0, arsc, -I, C:\Users\Me\AppData\Local\apktool\framework\1.apk, -S, D:\Android\Decompiler\APKTool\geek\res, -M, D:\Android\Decompiler\APKTool\geek\AndroidManifest.xml] at brut.util.OS.exec(OS.java:95) at brut.androlib.res.AndrolibResources.aaptPackage(AndrolibResources.java:433) ... 6 more
Steps to Reproduce
Frameworks
framework-res.zip
twframework-res.zip
This framework taken from Samsung Galaxy Tab S 7" SM T-705 with Android 5.0.2, where app installed just fine from Google Play Store.
APK
apk.zip
Questions to ask before submission
apktool d
,apktool b
without changing anything? YesThe text was updated successfully, but these errors were encountered: