Need h help try to re-compile using objection patchapk -s appsname.apk Rebuilding the APK may have failed. Read the following output to determine if apktool actually had an error: #3749
Closed
krishnastunning
started this conversation in
General
Replies: 1 comment
-
Increase your heap or use |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
$objection patchapk -s jiotvs.apk i am using to compile apk but getting error:
Rebuilding the APK may have failed. Read the following output to determine if apktool actually had an error:
Exception in thread "main" java.lang.RuntimeException: java.util.concurrent.ExecutionException: java.lang.OutOfMemoryError: Java heap space
at brut.androlib.ApkBuilder.build(SourceFile:0)
at brut.apktool.Main.main(SourceFile:0)
Caused by: java.util.concurrent.ExecutionException: java.lang.OutOfMemoryError: Java heap space
at java.base/java.util.concurrent.FutureTask.report(FutureTask.java:122)
at java.base/java.util.concurrent.FutureTask.get(FutureTask.java:191)
... 2 more
Caused by: java.lang.OutOfMemoryError: Java heap space
at com.android.tools.smali.smali.smaliTreeWalker.method_type_list(SourceFile)
at com.android.tools.smali.smali.smaliTreeWalker.method_prototype(SourceFile)
at com.android.tools.smali.smali.smaliTreeWalker.method_reference(SourceFile:0)
at com.android.tools.smali.smali.smaliTreeWalker.insn_format35c_method(SourceFile)
at com.android.tools.smali.smali.smaliTreeWalker.instruction(SourceFile:0)
at com.android.tools.smali.smali.smaliTreeWalker.ordered_method_items(SourceFile:0)
at com.android.tools.smali.smali.smaliTreeWalker.method(SourceFile:0)
at com.android.tools.smali.smali.smaliTreeWalker.methods(SourceFile:0)
at brut.androlib.mod.SmaliMod.assembleSmaliFile(SourceFile:0)
at brut.androlib.src.SmaliBuilder.buildFile(SourceFile)
at brut.androlib.ApkBuilder.buildSourcesSmali(SourceFile:0)
at brut.androlib.ApkBuilder.scheduleDexBuild(SourceFile)
at brut.androlib.ApkBuilder.lambda$scheduleBuildDexFiles$1(SourceFile)
at brut.androlib.ApkBuilder$$Lambda$43/0x0000000840079c40.run(Unknown Source)
at java.base/java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:515)
at java.base/java.util.concurrent.FutureTask.run(FutureTask.java:264)
at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128)
at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628)
at java.base/java.lang.Thread.run(Thread.java:829)
Built new APK with injected loadLibrary and frida-gadget
Performing zipalign
Zipaligning the APK may have failed. Read the following output to determine if zipalign actually had an error:
W/zip ( 4445): WARNING: header mismatch
W/zip ( 4445): WARNING: header mismatch
W/zip ( 4445): WARNING: header mismatch
W/zip ( 4445): WARNING: header mismatch
Beta Was this translation helpful? Give feedback.
All reactions