Closed andrea1984 closed 9 months ago
After decompiling an APK, modifified the smali files, when rebuilding the following error appears:
00.023 I: [BUILD] Scanning XML directory ... 00.053 I: [BUILD] Scanning: app 00.241 I: [BUILD] Initializing android framework ... 00.241 I: [BUILD] Loading android framework for version: 33 00.341 I: [BUILD] Initialized framework: android-33 (UpsideDownCake) 00.342 I: [BUILD] Encoding attrs ... 00.453 I: [BUILD] Encoding values ... 00.657 I: [BUILD] Scan: package_1/res 00.692 I: [BUILD] Scanned 1004 files: package_1/res 00.720 I: [BUILD] Add manifest: AndroidManifest.xml 00.721 I: [BUILD] Building dex ... 00.766 I: [BUILD] WARN: Ignore: app/smali/.DS_Store 00.848 I: [BUILD] (1/3) Cached: classes.dex 00.914 I: [BUILD] (2/3) Cached: classes2.dex 00.914 I: [BUILD] (3/3) Smali: classes3.dex ERROR: java.io.IOException: Failed to build smali, check the logs at com.reandroid.apkeditor.smali.SmaliCompiler.build(SmaliCompiler.java:87) at com.reandroid.apkeditor.smali.SmaliCompiler.build(SmaliCompiler.java:65) at com.reandroid.apkeditor.smali.SmaliCompiler.buildDexFiles(SmaliCompiler.java:57) at com.reandroid.apk.ApkModuleEncoder.encodeDexFiles(ApkModuleEncoder.java:112) at com.reandroid.apk.ApkModuleEncoder.scanDirectory(ApkModuleEncoder.java:40) at com.reandroid.apkeditor.compile.Builder.buildXml(Builder.java:116) at com.reandroid.apkeditor.compile.Builder.run(Builder.java:47) at com.reandroid.apkeditor.compile.Builder.execute(Builder.java:176) at com.reandroid.apkeditor.Main.execute(Main.java:85) at com.reandroid.apkeditor.Main.execute(Main.java:64) at com.reandroid.apkeditor.Main.main(Main.java:36)
Don't know where read the log, and why the error occurs. Regards
Bc of file app/smali/.DS_Store your editor placed in the middle of smali files, anyways it should ignore and continue. Will be fixed next
app/smali/.DS_Store
After decompiling an APK, modifified the smali files, when rebuilding the following error appears:
Don't know where read the log, and why the error occurs. Regards