qark
qark copied to clipboard
APK exploit app crashes when open
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
Manually copy and paste the folder
@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.
any update here?
Hi, Build my first apk, no error in logs during the build, but force close when i run it ( aligned apk)
tried several times , apk always force close when launched :/ did any of you succeed solving this issue?
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?
anyone found a solution for this issue?
I haven't found a solution and am just using a very old version that works.