Closed ghost closed 4 years ago
When submitting an issue, please use the issue template. We made the template w/ the information we need to help you such as your host OS, metasploit version, command used that caused the error etc. Please help us help you.
When submitting an issue, please use the issue template. We made the template w/ the information we need to help you such as your host OS, metasploit version, command used that caused the error etc. Please help us help you.
I use metasploit on ubuntu server
Hey 😊 Have you find a fix for the error or not ? Thanks a lot for the help
[-] No platform was selected, choosing Msf::Module::Platform::Android from the payload [-] No arch selected, selecting arch: dalvik from the payload [] Creating signing key and keystore.. [] Decompiling original APK.. [] Decompiling payload APK.. [] Locating hook point.. [] Adding payload as package com.androidrocker.voicechanger.alvlg [] Loading /tmp/d20200611-108507-kql776/original/smali/com/androidrocker/voicechanger/VoiceChangerApplication.smali and injecting payload.. [] Poisoning the manifest with meterpreter permissions.. [] Adding
[] Adding
[] Adding
[] Adding
[] Adding
[] Adding
[] Adding
[] Adding
[] Adding
[] Adding
[] Adding
[] Adding
[] Adding
[] Adding
[] Adding
[] Adding
[] Adding
[*] Rebuilding apk with meterpreter injection as /tmp/d20200611-108507-kql776/output.apk
[-] I: Using Apktool 2.3.4-dirty
I: Checking whether sources has changed...
I: Smaling smali folder into classes.dex...
Exception in thread "main" java.lang.NoSuchMethodError: java.nio.ByteBuffer.clear()Ljava/nio/ByteBuffer;
at org.jf.dexlib2.writer.DexWriter.writeAnnotationDirectories(DexWriter.java:790)
at org.jf.dexlib2.writer.DexWriter.writeTo(DexWriter.java:340)
at org.jf.dexlib2.writer.DexWriter.writeTo(DexWriter.java:297)
at brut.androlib.src.SmaliBuilder.build(SmaliBuilder.java:61)
at brut.androlib.src.SmaliBuilder.build(SmaliBuilder.java:36)
at brut.androlib.Androlib.buildSourcesSmali(Androlib.java:419)
at brut.androlib.Androlib.buildSources(Androlib.java:350)
at brut.androlib.Androlib.build(Androlib.java:302)
at brut.androlib.Androlib.build(Androlib.java:269)
at brut.apktool.Main.cmdBuild(Main.java:238)
at brut.apktool.Main.main(Main.java:76)
Error: Unable to rebuild apk with apktool