Dominic Lemire

Results 15 comments of Dominic Lemire

I see the same exception when I use Apktool on any recent "Android Instrumented Test" APK. I assume inez's APK is also a instrumented test APK based on the "-androidTest"...

Can you give this a try? https://github.com/gramound/TestApks/commit/6f1f747ce9cbffd89094d147fd44c0954bb5a09b ` ./gradlew assembleDebugAndroidTest ` ` apktool d ./app/build/outputs/apk/androidTest/debug/app-debug-androidTest.apk `

Until we figure this out, could we add a "case 0: pkg = null; break;" to loadMainPkg, such that we'd jump to the more meaningful exception "arsc files with zero...

@inez - Does adding `--no-res` fix your issue? (It works for my test apks).

It's a parsing error. (The bytes in the first 6 "Skipping overlay" lines above represent ASCII for "eringConfig".) It's trying to decode a XML_TYPE_OVERLAY as XML_TYPE_OVERLAY_POLICY. Correct decode gives overlay...

On second thought ```--no-res``` is not good enough for me, because it leaves the AndroidManifest.xml as binary XML. The issue with this empty resources.arsc is that apktool can't find the...

Actually, prehaps injecting a default bogus package name could be good enough in that situation? I had accidentally left the code snippet above in my build and was having no...

Thanks! I just want to clarify we don't get nothing. We actually get the decompiled test source code (e.g. smali_classes3/com/ibotpeaches/issue2701/ExampleInstrumentedTest.smali) This is extremely useful with closed source test suites.

Same issue here on mastodon.social, It fails when I picked the "Strong password" generated by Apple (the one with the dashes like abcdef-ghijkl-mnopqr). It accepts the password no problem at...

Re-cloning didn't help for me unfortunately. Did you install your own java 17? I thought Android Studio used its own from: ``` % /Applications/Android\ Studio.app/Contents/jbr/Contents/Home/bin/javac -version javac 21.0.5 ```