简体   繁体   English

Eclipse导出签名APK失败,SDK 12和兼容性LIbrary

[英]Eclipse export Signed APK fails with SDK 12 and Compatibility LIbrary

I'm trying to export a signed obfuscated version of my Android application and I keep getting this error. 我正在尝试导出我的Android应用程序的已签名混淆版本,并且我一直收到此错误。 I recently added the v4 compatibility library and haven't been able to export a signed APK since then. 我最近添加了v4兼容性库,从那时起就无法导出已签名的APK。 Any help would be appreciated. 任何帮助,将不胜感激。

Notes: Using SDK 12 and the default proguard.cfg 注意:使用SDK 12和默认的proguard.cfg

Here's the console output: 这是控制台输出:

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就是答案。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM