Minion
Minion

Reputation: 2567

How to solve errors - Proguard - Android

I have a problem with Proguard (Eclipse for Windows), When I build my app for virtual device, it works perfect (no errors), but when I try to export it crushes and report a long list of errors, can anyone help me to solve it?

List of problems: http://notepad.cc/share/lWMVb3xmZE

proguard.cfg file: http://notepad.cc/share/chV9ADV23B

Android 2.2 (SDK 8)

Upvotes: 1

Views: 615

Answers (1)

praneetloke
praneetloke

Reputation: 1971

Add this to your proguard.cfg file in your project

``` -keepclassmembers class * implements android.os.Parcelable { static android.os.Parcelable$Creator CREATOR; }

Edit:

-keep class android.support.v4.app.** { ; } -keep interface android.support.v4.app. { *; } ```

Edit:

See this: Android Application with android-support-v4.jar added to lib facing error while trying to sign in using progaurd in IntelliJ Idea

Upvotes: 1

Related Questions