好友
阅读权限10
听众
最后登录1970-1-1
|
jdk1.7.0_79,的AndroidKiller.exe,编译其他APK正常,但编译下面那个APK就显示编译失败,请问大师是什么原因,编译显示如下:
当前 Apktool 使用版本:Android Killer Default APKTOOL
正在编译 APK,请稍等...
>I: Using Apktool 2.3.1
>I: Smaling smali folder into classes.dex...
>I: Building resources...
>W: invalid resource directory name: C:\AppData\AndroidKiller\projects\Adapter\Project\res values-w-29152dp-h-30372dp
>W: invalid resource directory name: C:\AppData\AndroidKiller\projects\Adapter\Project\res values-w-29932dp-h-30592dp
>W: invalid resource directory name: C:\AppData\AndroidKiller\projects\Adapter\Project\res values-w-30048dp-h-30536dp
>W: invalid resource directory name: C:\AppData\AndroidKiller\projects\Adapter\Project\res values-w-30048dp-h-30556dp
>W: invalid resource directory name: C:\AppData\AndroidKiller\projects\Adapter\Project\res values-w-30304dp-h-30048dp
>W: invalid resource directory name: C:\AppData\AndroidKiller\projects\Adapter\Project\res values-w-30304dp-h-30287dp
>W: invalid resource directory name: C:\AppData\AndroidKiller\projects\Adapter\Project\res values-w-30304dp-h-30365dp
>W: invalid resource directory name: C:\AppData\AndroidKiller\projects\Adapter\Project\res values-w-30304dp-h-30592dp
>W: invalid resource directory name: C:\AppData\AndroidKiller\projects\Adapter\Project\res values-w-30384dp-h-30592dp
>Exception in thread "main" brut.androlib.AndrolibException: brut.androlib.AndrolibException: brut.common.BrutException: could not exec (exit code = 1): [C:\DOCUME~1\ADMINI~1\LOCALS~1\Temp\brut_util_Jar_6178399893602146585.tmp, p, --forced-package-id, 127, --min-sdk-version, 17, --target-sdk-version, 21, --version-code, 190822, --version-name, 2.0_190822, --no-version-vectors, -F, C:\DOCUME~1\ADMINI~1\LOCALS~1\Temp\APKTOOL4695509547854787305.tmp, -0, arsc, -0, META-INF/android.arch.core_runtime.version, -0, META-INF/android.arch.lifecycle_livedata-core.version, -0, META-INF/android.arch.lifecycle_runtime.version, -0, META-INF/android.arch.lifecycle_viewmodel.version, -0, META-INF/com.android.support_animated-vector-drawable.version, -0, META-INF/com.android.support_appcompat-v7.version, -0, META-INF/com.android.support_recyclerview-v7.version, -0, META-INF/com.android.support_support-compat.version, -0, META-INF/com.android.support_support-core-ui.version, -0, META-INF/com.android.support_support-core-utils.version, -0, META-INF/com.android.support_support-fragment.version, -0, META-INF/com.android.support_support-vector-drawable.version, -0, arsc, -I, C:\Documents and Settings\Administrator\AppData\Local\apktool\framework\1.apk, -S, C:\AppData\AndroidKiller\projects\Adapter\Project\res, -M, C:\AppData\AndroidKiller\projects\Adapter\Project\AndroidManifest.xml]
> at brut.androlib.Androlib.buildResourcesFull(Androlib.java:492)
> at brut.androlib.Androlib.buildResources(Androlib.java:426)
> at brut.androlib.Androlib.build(Androlib.java:305)
> at brut.androlib.Androlib.build(Androlib.java:270)
> at brut.apktool.Main.cmdBuild(Main.java:227)
> at brut.apktool.Main.main(Main.java:75)
>Caused by: brut.androlib.AndrolibException: brut.common.BrutException: could not exec (exit code = 1): [C:\DOCUME~1\ADMINI~1\LOCALS~1\Temp\brut_util_Jar_6178399893602146585.tmp, p, --forced-package-id, 127, --min-sdk-version, 17, --target-sdk-version, 21, --version-code, 190822, --version-name, 2.0_190822, --no-version-vectors, -F, C:\DOCUME~1\ADMINI~1\LOCALS~1\Temp\APKTOOL4695509547854787305.tmp, -0, arsc, -0, META-INF/android.arch.core_runtime.version, -0, META-INF/android.arch.lifecycle_livedata-core.version, -0, META-INF/android.arch.lifecycle_runtime.version, -0, META-INF/android.arch.lifecycle_viewmodel.version, -0, META-INF/com.android.support_animated-vector-drawable.version, -0, META-INF/com.android.support_appcompat-v7.version, -0, META-INF/com.android.support_recyclerview-v7.version, -0, META-INF/com.android.support_support-compat.version, -0, META-INF/com.android.support_support-core-ui.version, -0, META-INF/com.android.support_support-core-utils.version, -0, META-INF/com.android.support_support-fragment.version, -0, META-INF/com.android.support_support-vector-drawable.version, -0, arsc, -I, C:\Documents and Settings\Administrator\AppData\Local\apktool\framework\1.apk, -S, C:\AppData\AndroidKiller\projects\Adapter\Project\res, -M, C:\AppData\AndroidKiller\projects\Adapter\Project\AndroidManifest.xml]
> at brut.androlib.res.AndrolibResources.aaptPackage(AndrolibResources.java:456)
> at brut.androlib.Androlib.buildResourcesFull(Androlib.java:478)
> ... 5 more
>Caused by: brut.common.BrutException: could not exec (exit code = 1): [C:\DOCUME~1\ADMINI~1\LOCALS~1\Temp\brut_util_Jar_6178399893602146585.tmp, p, --forced-package-id, 127, --min-sdk-version, 17, --target-sdk-version, 21, --version-code, 190822, --version-name, 2.0_190822, --no-version-vectors, -F, C:\DOCUME~1\ADMINI~1\LOCALS~1\Temp\APKTOOL4695509547854787305.tmp, -0, arsc, -0, META-INF/android.arch.core_runtime.version, -0, META-INF/android.arch.lifecycle_livedata-core.version, -0, META-INF/android.arch.lifecycle_runtime.version, -0, META-INF/android.arch.lifecycle_viewmodel.version, -0, META-INF/com.android.support_animated-vector-drawable.version, -0, META-INF/com.android.support_appcompat-v7.version, -0, META-INF/com.android.support_recyclerview-v7.version, -0, META-INF/com.android.support_support-compat.version, -0, META-INF/com.android.support_support-core-ui.version, -0, META-INF/com.android.support_support-core-utils.version, -0, META-INF/com.android.support_support-fragment.version, -0, META-INF/com.android.support_support-vector-drawable.version, -0, arsc, -I, C:\Documents and Settings\Administrator\AppData\Local\apktool\framework\1.apk, -S, C:\AppData\AndroidKiller\projects\Adapter\Project\res, -M, C:\AppData\AndroidKiller\projects\Adapter\Project\AndroidManifest.xml]
> at brut.util.OS.exec(OS.java:95)
> at brut.androlib.res.AndrolibResources.aaptPackage(AndrolibResources.java:450)
> ... 6 more
APK 编译失败,无法继续下一步签名! |
|