I met the error below when patching the app on Ubuntu,and the similar problem happened when I patch go 4 v4.1.22 on Windows,but this time it says "attr" error.
I: Building resources with aapt2...
Exception in thread "main" brut.androlib.exceptions.AndrolibException: brut.common.BrutException: could not exec (exit code = 132): [/tmp/brut_util_Jar_1680596461980602374726133192354195320.tmp, compile, --dir, /root/deejayeye-modder-master/decompile_out/res, --legacy, -o, /root/deejayeye-modder-master/decompile_out/build/resources.zip]
at brut.androlib.AaptInvoker.invoke(SourceFile:0)
at brut.androlib.ApkBuilder.buildResources(SourceFile:0)
at brut.androlib.ApkBuilder.build(SourceFile:0)
at brut.apktool.Main.main(SourceFile:0)
Caused by: brut.common.BrutException: could not exec (exit code = 132): [/tmp/brut_util_Jar_1680596461980602374726133192354195320.tmp, compile, --dir, /root/deejayeye-modder-master/decompile_out/res, --legacy, -o, /root/deejayeye-modder-master/decompile_out/build/resources.zip]
at brut.util.OS.exec(SourceFile)
... 4 more
shouldn't happen: null
shouldn't happen: null
shouldn't happen: null
decompile_out/smali_classes6/dji/thirdparty/a/ad.smali[1,0] required (...)+ loop did not match anything at input ''
shouldn't happen: null
decompile_out/smali_classes4/dji/pilot/R$dimen.smali[1,0] required (...)+ loop did not match anything at input ''
shouldn't happen: null
decompile_out/smali_classes5/dji/pilot/publics/R$dimen.smali[1,0] required (...)+ loop did not match anything at input ''
shouldn't happen: null
decompile_out/smali_classes3/com/google/gson/Gson$1.smali[1,0] required (...)+ loop did not match anything at input ''
shouldn't happen: null
decompile_out/smali/android/support/annotation/AnimRes.smali[1,0] required (...)+ loop did not match anything at input ''
shouldn't happen: null
decompile_out/smali_classes2/a/a/a.smali[1,0] required (...)+ loop did not match anything at input ''
Signing with testkey
Exception in thread "main" java.io.FileNotFoundException: MODDED_APK_OUT/mod-v45.apk (No such file or directory)
at java.io.RandomAccessFile.open0(Native Method)
at java.io.RandomAccessFile.open(RandomAccessFile.java:316)
at java.io.RandomAccessFile.(RandomAccessFile.java:243)
at com.android.apksig.ApkSigner.sign(ApkSigner.java:154)
at com.android.apksigner.ApkSignerTool.sign(ApkSignerTool.java:277)
at com.android.apksigner.ApkSignerTool.main(ApkSignerTool.java:89)
Removing work directory decompile_out###
I met the error below when patching the app on Ubuntu,and the similar problem happened when I patch go 4 v4.1.22 on Windows,but this time it says "attr" error.
I: Building resources with aapt2...
Exception in thread "main" brut.androlib.exceptions.AndrolibException: brut.common.BrutException: could not exec (exit code = 132): [/tmp/brut_util_Jar_1680596461980602374726133192354195320.tmp, compile, --dir, /root/deejayeye-modder-master/decompile_out/res, --legacy, -o, /root/deejayeye-modder-master/decompile_out/build/resources.zip]
at brut.androlib.AaptInvoker.invoke(SourceFile:0)
at brut.androlib.ApkBuilder.buildResources(SourceFile:0)
at brut.androlib.ApkBuilder.build(SourceFile:0)
at brut.apktool.Main.main(SourceFile:0)
Caused by: brut.common.BrutException: could not exec (exit code = 132): [/tmp/brut_util_Jar_1680596461980602374726133192354195320.tmp, compile, --dir, /root/deejayeye-modder-master/decompile_out/res, --legacy, -o, /root/deejayeye-modder-master/decompile_out/build/resources.zip]
at brut.util.OS.exec(SourceFile)
... 4 more
shouldn't happen: null
shouldn't happen: null
shouldn't happen: null
decompile_out/smali_classes6/dji/thirdparty/a/ad.smali[1,0] required (...)+ loop did not match anything at input ''
shouldn't happen: null
decompile_out/smali_classes4/dji/pilot/R$dimen.smali[1,0] required (...)+ loop did not match anything at input ''
shouldn't happen: null
decompile_out/smali_classes5/dji/pilot/publics/R$dimen.smali[1,0] required (...)+ loop did not match anything at input ''
shouldn't happen: null
decompile_out/smali_classes3/com/google/gson/Gson$1.smali[1,0] required (...)+ loop did not match anything at input ''
shouldn't happen: null
decompile_out/smali/android/support/annotation/AnimRes.smali[1,0] required (...)+ loop did not match anything at input ''
shouldn't happen: null
decompile_out/smali_classes2/a/a/a.smali[1,0] required (...)+ loop did not match anything at input ''
Signing with testkey
Exception in thread "main" java.io.FileNotFoundException: MODDED_APK_OUT/mod-v45.apk (No such file or directory)
at java.io.RandomAccessFile.open0(Native Method)
at java.io.RandomAccessFile.open(RandomAccessFile.java:316)
at java.io.RandomAccessFile.(RandomAccessFile.java:243)
at com.android.apksig.ApkSigner.sign(ApkSigner.java:154)
at com.android.apksigner.ApkSignerTool.sign(ApkSignerTool.java:277)
at com.android.apksigner.ApkSignerTool.main(ApkSignerTool.java:89)
Removing work directory decompile_out###