Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

First type is not attr! #23

Open
Too-Stubborn opened this issue Dec 5, 2020 · 0 comments
Open

First type is not attr! #23

Too-Stubborn opened this issue Dec 5, 2020 · 0 comments

Comments

@Too-Stubborn
Copy link

Too-Stubborn commented Dec 5, 2020

DEBUG:2020-12-05 16:02:50.(CmdUtils.java:76): exec=java -jar D:\jiagu\ApkToolPlus-master\out\production\Temp\apktool.jar b D:\jiagu\ApkToolPlus-master\out\production\Temp\jiagu\decompile -o D:\jiagu\baiduyou_encrypted.apk
DEBUG:2020-12-05 16:02:50.(CmdUtils.java:99): I: Using Apktool 2.2.3-ea16f3-SNAPSHOT
DEBUG:2020-12-05 16:02:50.(CmdUtils.java:99): I: Checking whether sources has changed...
DEBUG:2020-12-05 16:02:50.(CmdUtils.java:99): I: Smaling smali folder into classes.dex...
DEBUG:2020-12-05 16:02:50.(CmdUtils.java:99): I: Checking whether resources has changed...
DEBUG:2020-12-05 16:02:50.(CmdUtils.java:99): I: Building resources...
ERROR:2020-12-05 16:02:52.(CmdUtils.java:105): W: A/ (19004): First type is not attr!
ERROR:2020-12-05 16:02:52.(CmdUtils.java:105): W: res\drawable-v21$avd_hide_password__0.xml: Invalid file name: must contain only [a-zA-Z0-9_.]. Ignoring...
ERROR:2020-12-05 16:02:52.(CmdUtils.java:105): W: res\drawable-v21$avd_hide_password__1.xml: Invalid file name: must contain only [a-zA-Z0-9_.]. Ignoring...
ERROR:2020-12-05 16:02:52.(CmdUtils.java:105): W: res\drawable-v21$avd_hide_password__2.xml: Invalid file name: must contain only [a-zA-Z0-9_.]. Ignoring...
ERROR:2020-12-05 16:02:52.(CmdUtils.java:105): W: res\drawable-v21$avd_show_password__0.xml: Invalid file name: must contain only [a-zA-Z0-9_.]. Ignoring...
ERROR:2020-12-05 16:02:52.(CmdUtils.java:105): W: res\drawable-v21$avd_show_password__1.xml: Invalid file name: must contain only [a-zA-Z0-9_.]. Ignoring...
ERROR:2020-12-05 16:02:52.(CmdUtils.java:105): W: res\drawable-v21$avd_show_password__2.xml: Invalid file name: must contain only [a-zA-Z0-9_.]. Ignoring...
ERROR:2020-12-05 16:02:52.(CmdUtils.java:105): Exception in thread "main" brut.androlib.AndrolibException: brut.androlib.AndrolibException: brut.common.BrutException: could not exec (exit code = 3): [C:\Users\swiftly\AppData\Local\Temp\brut_util_Jar_1264753396334832837.tmp, p, --forced-package-id, 127, --min-sdk-version, 19, --target-sdk-version, 26, --version-code, 4, --version-name, 4.1.4, --no-version-vectors, -F, C:\Users\swiftly\AppData\Local\Temp\APKTOOL1389226897079285451.tmp, -0, arsc, -0, bbi, -0, cci, -0, arsc, -I, C:\Users\swiftly\AppData\Local\apktool\framework\1.apk, -S, D:\jiagu\ApkToolPlus-master\out\production\Temp\jiagu\decompile\res, -M, D:\jiagu\ApkToolPlus-master\out\production\Temp\jiagu\decompile\AndroidManifest.xml]
ERROR:2020-12-05 16:02:52.(CmdUtils.java:105): at brut.androlib.Androlib.buildResourcesFull(Androlib.java:477)
ERROR:2020-12-05 16:02:52.(CmdUtils.java:105): at brut.androlib.Androlib.buildResources(Androlib.java:411)
ERROR:2020-12-05 16:02:52.(CmdUtils.java:105): at brut.androlib.Androlib.build(Androlib.java:310)
ERROR:2020-12-05 16:02:52.(CmdUtils.java:105): at brut.androlib.Androlib.build(Androlib.java:263)
ERROR:2020-12-05 16:02:52.(CmdUtils.java:105): at brut.apktool.Main.cmdBuild(Main.java:231)
ERROR:2020-12-05 16:02:52.(CmdUtils.java:105): at brut.apktool.Main.main(Main.java:84)
ERROR:2020-12-05 16:02:52.(CmdUtils.java:105): Caused by: brut.androlib.AndrolibException: brut.common.BrutException: could not exec (exit code = 3): [C:\Users\swiftly\AppData\Local\Temp\brut_util_Jar_1264753396334832837.tmp, p, --forced-package-id, 127, --min-sdk-version, 19, --target-sdk-version, 26, --version-code, 4, --version-name, 4.1.4, --no-version-vectors, -F, C:\Users\swiftly\AppData\Local\Temp\APKTOOL1389226897079285451.tmp, -0, arsc, -0, bbi, -0, cci, -0, arsc, -I, C:\Users\swiftly\AppData\Local\apktool\framework\1.apk, -S, D:\jiagu\ApkToolPlus-master\out\production\Temp\jiagu\decompile\res, -M, D:\jiagu\ApkToolPlus-master\out\production\Temp\jiagu\decompile\AndroidManifest.xml]
ERROR:2020-12-05 16:02:52.(CmdUtils.java:105): at brut.androlib.res.AndrolibResources.aaptPackage(AndrolibResources.java:441)
ERROR:2020-12-05 16:02:52.(CmdUtils.java:105): at brut.androlib.Androlib.buildResourcesFull(Androlib.java:463)
ERROR:2020-12-05 16:02:52.(CmdUtils.java:105): ... 5 more
ERROR:2020-12-05 16:02:52.(CmdUtils.java:105): Caused by: brut.common.BrutException: could not exec (exit code = 3): [C:\Users\swiftly\AppData\Local\Temp\brut_util_Jar_1264753396334832837.tmp, p, --forced-package-id, 127, --min-sdk-version, 19, --target-sdk-version, 26, --version-code, 4, --version-name, 4.1.4, --no-version-vectors, -F, C:\Users\swiftly\AppData\Local\Temp\APKTOOL1389226897079285451.tmp, -0, arsc, -0, bbi, -0, cci, -0, arsc, -I, C:\Users\swiftly\AppData\Local\apktool\framework\1.apk, -S, D:\jiagu\ApkToolPlus-master\out\production\Temp\jiagu\decompile\res, -M, D:\jiagu\ApkToolPlus-master\out\production\Temp\jiagu\decompile\AndroidManifest.xml]
ERROR:2020-12-05 16:02:52.(CmdUtils.java:105): at brut.util.OS.exec(OS.java:95)
ERROR:2020-12-05 16:02:52.(CmdUtils.java:105): at brut.androlib.res.AndrolibResources.aaptPackage(AndrolibResources.java:435)
ERROR:2020-12-05 16:02:52.(CmdUtils.java:105): ... 6 more
Exception in thread "Thread-4" java.lang.RuntimeException: sign apk error : file 'D:\jiagu\baiduyou_encrypted.apk' is no exits or not a file.
at com.linchaolong.apktoolplus.core.ApkToolPlus.signApk(ApkToolPlus.java:366)
at com.linchaolong.apktoolplus.core.jiagu.JiaGu.encrypt(JiaGu.java:166)
at com.linchaolong.apktoolplus.module.jiagu.JiaGuActivity.encryptApk(JiaGuActivity.java:197)
at com.linchaolong.apktoolplus.module.jiagu.JiaGuActivity.lambda$iteratorEncryptApkList$8(JiaGuActivity.java:188)
at com.linchaolong.apktoolplus.utils.TaskQueue$TaskWrapper.run(TaskQueue.java:45)
at com.linchaolong.apktoolplus.utils.TaskQueue.loop(TaskQueue.java:109)
at com.linchaolong.apktoolplus.utils.TaskQueue.lambda$start$0(TaskQueue.java:86)
at java.lang.Thread.run(Thread.java:748)
DEBUG:2020-12-05 16:02:52.(JiaGuActivity.java:218): 正在签名
DEBUG:2020-12-05 16:02:56.(CmdUtils.java:76): exec=explorer.exe /select,D:\jiagu\baiduyou.apk
DEBUG:2020-12-05 16:09:20.(Popup.java:101): click btnConfirm
DEBUG:2020-12-05 16:09:20.(AppManager.java:120): FinishListener exitCalled

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant