Closed RobertRBT closed 3 years ago
I am having the same issue on the Hago games application.
$ apktool --force d base.apk
I: Using Apktool 2.4.0 on base.apk I: Loading resource table... I: Decoding AndroidManifest.xml with resources... I: Loading resource table from file: /home/user/.local/share/apktool/framework/1.apk I: Regular manifest package... I: Decoding file-resources... W: Cant find 9patch chunk in file: "a2/aav.9.png". Renaming it to *.png. W: Cant find 9patch chunk in file: "a2/agz.9.png". Renaming it to *.png. W: Cant find 9patch chunk in file: "a2/aau.9.png". Renaming it to *.png. W: Cant find 9patch chunk in file: "a2/aac.9.png". Renaming it to *.png. W: Cant find 9patch chunk in file: "a2/aaq.9.png". Renaming it to *.png. W: Cant find 9patch chunk in file: "a2/aaw.9.png". Renaming it to *.png. W: Cant find 9patch chunk in file: "a2/aab.9.png". Renaming it to *.png. I: Decoding values */* XMLs... I: Baksmaling classes.dex... I: Baksmaling classes4.dex... I: Baksmaling classes6.dex... I: Baksmaling classes2.dex... I: Baksmaling classes3.dex... I: Baksmaling classes7.dex... I: Baksmaling classes5.dex... I: Copying assets and libs... I: Copying unknown files... I: Copying original files...
This error leads to this error when I go to rebuild. (existing issue on build error can be found here)
AndrolibException: brut.common.BrutException: could not exec (exit code = 1): [/tmp/brut_util_Jar_4186283449969250832.tmp, p, --debug-mode, --forced-package-id, 127, --min-sdk-version, 18, --target-sdk-version, 28, --version-code, 11115, --version-name, 3.2.8, --no-version-vectors, -F, /tmp/APKTOOL15867791035596301195.tmp, -0, kotlin_module, -0, META-INF/android.arch.lifecycle_extensions.version, -0, META-INF/com.android.databinding_library.version, -0, META-INF/androidx.cardview_cardview.version, -0, META-INF/com.google.android.material_material.version, -0, META-INF/androidx.versionedparcelable_versionedparcelable.version, -0, META-INF/androidx.cursoradapter_cursoradapter.version, -0, META-INF/androidx.vectordrawable_vectordrawable-animated.version, -0, META-INF/androidx.drawerlayout_drawerlayout.version, -0, META-INF/android.support.design_material.version, -0, META-INF/android.arch.persistence_db-framework.version, -0, META-INF/androidx.browser_browser.version, -0, META-INF/com.android.databinding_baseAdapters.version, -0, META-INF/androidx.recyclerview_recyclerview.version, -0, META-INF/android.arch.lifecycle_livedata-core.version, -0, META-INF/androidx.vectordrawable_vectordrawable.version, -0, META-INF/androidx.legacy_legacy-support-core-utils.version, -0, META-INF/androidx.slidingpanelayout_slidingpanelayout.version, -0, META-INF/androidx.customview_customview.version, -0, META-INF/androidx.legacy_legacy-support-core-ui.version, -0, META-INF/android.arch.lifecycle_viewmodel.version, -0, META-INF/android.arch.lifecycle_livedata.version, -0, META-INF/androidx.media_media.version, -0, META-INF/androidx.viewpager_viewpager.version, -0, META-INF/androidx.appcompat_appcompat.version, -0, META-INF/androidx.core_core.version, -0, META-INF/androidx.swiperefreshlayout_swiperefreshlayout.version, -0, META-INF/androidx.print_print.version, -0, META-INF/androidx.legacy_legacy-support-v4.version, -0, META-INF/android.arch.persistence.room_runtime.version, -0, META-INF/android.arch.persistence_db.version, -0, META-INF/androidx.asynclayoutinflater_asynclayoutinflater.version, -0, META-INF/androidx.coordinatorlayout_coordinatorlayout.version, -0, META-INF/androidx.transition_transition.version, -0, META-INF/android.arch.lifecycle_runtime.version, -0, META-INF/androidx.documentfile_documentfile.version, -0, META-INF/androidx.fragment_fragment.version, -0, META-INF/android.arch.core_runtime.version, -0, META-INF/androidx.loader_loader.version, -0, META-INF/androidx.localbroadcastmanager_localbroadcastmanager.version, -0, META-INF/androidx.interpolator_interpolator.version, -0, svga, -0, dat, -0, lua, -0, kotlin_metadata, -0, png, -0, r/a7/b5l.9.png, -0, r/a7/b5k.9.png, -0, webp, -0, r/a2/b17.9.png, -0, r/a2/agz.9.png, -0, r/a2/b1z.9.png, -0, r/a2/aip.9.png, -0, r/a2/aab.9.png, -0, r/a2/aav.9.png, -0, r/a2/aac.9.png, -0, r/a2/aaq.9.png, -0, r/a2/b20.9.png, -0, r/a2/b5l.9.png, -0, r/a2/a6b.9.png, -0, r/a2/a6a.9.png, -0, r/a2/a_3.9.png, -0, r/a2/a69.9.png, -0, r/a2/aq4.9.png, -0, r/a2/b5k.9.png, -0, r/a2/aaw.9.png, -0, r/a2/aau.9.png, -0, arsc, -I, /home/user/.local/share/apktool/framework/1.apk, -S, /home/user/Desktop/apk/base/res, -M, /home/user/Desktop/apk/base/AndroidManifest.xml]
are you ok?
are you ok?
I hope.
It appears I let too long go by, the original issue has no APK. The 2nd comment isn't related to the first and none of this looks to be an issue with the 9patch code.
Closing.
Information
apktool -version
) -2.4.0Stacktrace/Logcat
Steps to Reproduce
apktool d cleanmaster7.2.5.apk
Frameworks
If this APK is from an OEM ROM (Samsung, HTC, LG). Please attach framework files (
.apks
that live in/system/framework
or/system/priv-app
)APK
If this APK can be freely shared, please upload/attach a link to it.
Questions to ask before submission
apktool d
,apktool b
without changing anything?Yes