qark icon indicating copy to clipboard operation
qark copied to clipboard

APK exploit app crashes when open

Open dayerdl opened this issue 5 years ago • 8 comments

I build and install the qark exploit app into a simulator API 21

:app:processDebugManifest :app:processDebugResources :app:generateDebugSources :app:compileDebugJava :app:preDexDebug :app:dexDebug :app:processDebugJavaRes UP-TO-DATE :app:validateDebugSigning :app:packageDebug :app:zipalignDebug :app:assembleDebug

BUILD SUCCESSFUL

Total time: 13.739 secs Finish building exploit APK...

i get this error E/AndroidRuntime( 3815): java.lang.RuntimeException: Unable to instantiate activity ComponentInfo{com.secbro.qark/com.secbro.qark.TopLevelActivity}: java.lang.ClassNotFoundException: Didn't find class "com.secbro.qark.TopLevelActivity" on path: DexPathList[[zip file "/data/app/com.secbro.qark-1/base.apk"],nativeLibraryDirectories=[/vendor/lib64, /system/lib64]] E/AndroidRuntime( 3815): at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2209) E/AndroidRuntime( 3815): at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2360) E/AndroidRuntime( 3815): at android.app.ActivityThread.access$800(ActivityThread.java:144) E/AndroidRuntime( 3815): at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1278) E/AndroidRuntime( 3815): at android.os.Handler.dispatchMessage(Handler.java:102) E/AndroidRuntime( 3815): at android.os.Looper.loop(Looper.java:135) E/AndroidRuntime( 3815): at android.app.ActivityThread.main(ActivityThread.java:5221) E/AndroidRuntime( 3815): at java.lang.reflect.Method.invoke(Native Method) E/AndroidRuntime( 3815): at java.lang.reflect.Method.invoke(Method.java:372) E/AndroidRuntime( 3815): at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:899) E/AndroidRuntime( 3815): at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:694) E/AndroidRuntime( 3815): Caused by: java.lang.ClassNotFoundException: Didn't find class "com.secbro.qark.TopLevelActivity" on path: DexPathList[[zip file "/data/app/com.secbro.qark-1/base.apk"],nativeLibraryDirectories=[/vendor/lib64, /system/lib64]] E/AndroidRuntime( 3815): at dalvik.system.BaseDexClassLoader.findClass(BaseDexClassLoader.java:56) E/AndroidRuntime( 3815): at java.lang.ClassLoader.loadClass(ClassLoader.java:511) E/AndroidRuntime( 3815): at java.lang.ClassLoader.loadClass(ClassLoader.java:469) E/AndroidRuntime( 3815): at android.app.Instrumentation.newActivity(Instrumentation.java:1065) E/AndroidRuntime( 3815): at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2199) E/AndroidRuntime( 3815): ... 10 more E/AndroidRuntime( 3815): Suppressed: java.lang.ClassNotFoundException: com.secbro.qark.TopLevelActivity E/AndroidRuntime( 3815): at java.lang.Class.classForName(Native Method) E/AndroidRuntime( 3815): at java.lang.BootClassLoader.findClass(ClassLoader.java:781) E/AndroidRuntime( 3815): at java.lang.BootClassLoader.loadClass(ClassLoader.java:841) E/AndroidRuntime( 3815): at java.lang.ClassLoader.loadClass(ClassLoader.java:504) E/AndroidRuntime( 3815): ... 13 more E/AndroidRuntime( 3815): Caused by: java.lang.NoClassDefFoundError: Class not found using the boot class loader; no stack available

dayerdl avatar Apr 22 '19 19:04 dayerdl

Manually copy and paste the folder

flamecopper avatar May 26 '19 10:05 flamecopper

@flamecopper Could you specify which folder needs to be copied to where? I assume after building the apk you're saying there's a folder in the exploit apk folder that needs to be copied over to some place in the Android filesystem?

This seems to be broken in all qark versions from 2.x through 4.0.0. Tested them all.

vollkorn1982 avatar Jul 19 '19 09:07 vollkorn1982

any update here?

lecndav avatar Nov 02 '19 11:11 lecndav

Hi, Build my first apk, no error in logs during the build, but force close when i run it ( aligned apk)

nocomp avatar Dec 28 '19 15:12 nocomp

tried several times , apk always force close when launched :/ did any of you succeed solving this issue?

nocomp avatar Dec 28 '19 16:12 nocomp

Manually copy and paste the folder

Hi @flamecopper can you please give us more details ? I ve reinstalled a new box, java 8, python 3.6, the rigjt biild tool version. I am using the 4.0.0 version and it crash everytime i lauch the exploit app. Got no error during the build, would love some update and help. Thxx for your time @dayerdl did you find a solution?

nocomp avatar Dec 29 '19 20:12 nocomp

anyone found a solution for this issue?

mal92 avatar May 22 '20 05:05 mal92

I haven't found a solution and am just using a very old version that works.

vollkorn1982 avatar May 22 '20 08:05 vollkorn1982