這幾天都在搞LINE天氣...不過發現 可以反編譯 無法編譯 不論檔案是否有修改 編譯過程一定都失敗
如果拿舊版本的隨便APK都可以 新版的 好像沒辦法編譯 到底問題出在哪?
ApkIDE 3.1版
> 正在反編譯Apk... - 成功!
> 正在將dex轉成jar... - 成功!
> .smali輸出目錄:C:ApkIDEWorkcom.devexpert.weather
> .class輸出目錄:C:ApkIDEWorksrccom.devexpert.weather
> 正在編譯Apk... -
- 失敗訊息:
C:ApkIDEWorkcom.devexpert.weather
esxmlwidget_2x1.xml:2: error: No resource identifier found for attribute "widgetCategory" in package "android"
C:ApkIDEWorkcom.devexpert.weather
esxmlwidget_4x1.xml:2: error: No resource identifier found for attribute "widgetCategory" in package "android"
C:ApkIDEWorkcom.devexpert.weather
esxmlwidget_4x2.xml:2: error: No resource identifier found for attribute "widgetCategory" in package "android"
C:ApkIDEWorkcom.devexpert.weather
esxmlwidget_4x3.xml:2: error: No resource identifier found for attribute "widgetCategory" in package "android"
C:ApkIDEWorkcom.devexpert.weather
esxmlwidget_5x1.xml:2: error: No resource identifier found for attribute "widgetCategory" in package "android"
C:ApkIDEWorkcom.devexpert.weather
esxmlwidget_5x2.xml:2: error: No resource identifier found for attribute "widgetCategory" in package "android"
C:ApkIDEWorkcom.devexpert.weather
esxmlwidget_5x3.xml:2: error: No resource identifier found for attribute "widgetCategory" in package "android"
Exception in thread "main" brut.androlib.AndrolibException: brut.androlib.AndrolibException: brut.common.BrutException: could not exec command: [d: emprut_util_Jar_9083517955319141430.tmp, p, --forced-package-id, 127, --min-sdk-version, 8, --target-sdk-version, 18, --version-code, 65, --version-name, 3.6.3, -F, d: empAPKTOOL8342822364769329833.tmp, -0, arsc, -I, C:UsersAdministratorapktoolframework1.apk, -S, C:ApkIDEWorkcom.devexpert.weather
es, -M, C:ApkIDEWorkcom.devexpert.weatherAndroidManifest.xml]
at brut.androlib.Androlib.buildResourcesFull(Androlib.java:434)
at brut.androlib.Androlib.buildResources(Androlib.java:362)
at brut.androlib.Androlib.build(Androlib.java:285)
at brut.androlib.Androlib.build(Androlib.java:258)
at brut.apktool.Main.cmdBuild(Main.java:233)
at brut.apktool.Main.main(Main.java:88)
Caused by: brut.androlib.AndrolibException: brut.common.BrutException: could not exec command: [d: emprut_util_Jar_9083517955319141430.tmp, p, --forced-package-id, 127, --min-sdk-version, 8, --target-sdk-version, 18, --version-code, 65, --version-name, 3.6.3, -F, d: empAPKTOOL8342822364769329833.tmp, -0, arsc, -I, C:UsersAdministratorapktoolframework1.apk, -S, C:ApkIDEWorkcom.devexpert.weather
es, -M, C:ApkIDEWorkcom.devexpert.weatherAndroidManifest.xml]
at brut.androlib.res.AndrolibResources.aaptPackage(AndrolibResources.java:481)
at brut.androlib.Androlib.buildResourcesFull(Androlib.java:415)
... 5 more
Caused by: brut.common.BrutException: could not exec command: [d: emprut_util_Jar_9083517955319141430.tmp, p, --forced-package-id, 127, --min-sdk-version, 8, --target-sdk-version, 18, --version-code, 65, --version-name, 3.6.3, -F, d: empAPKTOOL8342822364769329833.tmp, -0, arsc, -I, C:UsersAdministratorapktoolframework1.apk, -S, C:ApkIDEWorkcom.devexpert.weather
es, -M, C:ApkIDEWorkcom.devexpert.weatherAndroidManifest.xml]
at brut.util.OS.exec(OS.java:89)
at brut.androlib.res.AndrolibResources.aaptPackage(AndrolibResources.java:475)
... 6 more
- 失敗!請檢查您的程式然後重試。
|