gpt4 book ai didi

java - 使用 SDK 12 和兼容性库的 Eclipse 导出签名 APK 失败

转载 作者:塔克拉玛干 更新时间:2023-11-03 00:41:58 24 4
gpt4 key购买 nike

我正在尝试导出我的 Android 应用程序的签名混淆版本,但我一直收到此错误。我最近添加了 v4 兼容性库,从那时起就无法导出已签名的 APK。任何帮助将不胜感激。

注意:使用 SDK 12 和默认的 proguard.cfg

这是控制台输出:

Proguard returned with error code 1. See console
Warning: android.support.v4.os.ParcelableCompatCreatorHoneycombMR2: can't find superclass or interface android.os.Parcelable$ClassLoaderCreator
Warning: android.support.v4.os.ParcelableCompatCreatorHoneycombMR2: can't find referenced class android.os.Parcelable$ClassLoaderCreator
Warning: android.support.v4.os.ParcelableCompatCreatorHoneycombMR2: can't find referenced class android.os.Parcelable$ClassLoaderCreator
Warning: there were 3 unresolved references to classes or interfaces.
You may need to specify additional library jars (using '-libraryjars'),
or perhaps the '-dontskipnonpubliclibraryclasses' option.
java.io.IOException: Please correct the above warnings first.
at proguard.Initializer.execute(Initializer.java:308)
at proguard.ProGuard.initialize(ProGuard.java:210)
at proguard.ProGuard.execute(ProGuard.java:85)
at proguard.ProGuard.main(ProGuard.java:499)

最佳答案

-dontwarn **CompatCreatorHoneycombMR2 就是答案。

关于java - 使用 SDK 12 和兼容性库的 Eclipse 导出签名 APK 失败,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/6832221/

24 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com