Note that there are some explanatory texts on larger screens.

plurals
  1. POProGuard error in Eclipse
    primarykey
    data
    text
    <p>I had made changes in <code>Proguard.cfg</code> and started getting these errors at the time of exporting app.</p> <p>I'm using Google GData YouTube API. And I'm using these libraries:</p> <pre><code>activation.jar, additionnal.jar, crittercism_v2_1_7.jar, gdata-base-1.0.jar, gdata-client-1.0.jar, gdata-core-1.0.jar, gdata-media-1.0.jar, gdata-youtube-2.0.jar, guava-12.0.jar, GoogleAdMobAdsSdk-4.3.1.jar, mail.jar, json-simple-1.1.1.jar </code></pre> <p><em>It is working</em> when I'm debugging my application on device.</p> <p>Everything was working until I added below lines in <code>proguard.cfg</code>:</p> <pre><code>-dump proguard/class_files.txt -printseeds proguard/seeds.txt -printusage proguard/unused.txt -printmapping proguard/mapping.txt </code></pre> <p><em>Errors in Ecplise console</em>: Please follow my pastebin link <a href="http://pastebin.com/x5DLUVbp" rel="nofollow">here</a>.</p> <p>My <em>proguard.cfg</em> file:</p> <pre><code>-optimizationpasses 5 -dontusemixedcaseclassnames -dontskipnonpubliclibraryclasses -dontpreverify -verbose -optimizations !code/simplification/arithmetic,!field/*,!class/merging/* -dump proguard/class_files.txt -printseeds proguard/seeds.txt -printusage proguard/unused.txt -printmapping proguard/mapping.txt -keep public class * extends android.app.Activity -keep public class * extends android.app.Application -keep public class * extends android.app.Service -keep public class * extends android.content.BroadcastReceiver -keep public class * extends android.content.ContentProvider -keep public class * extends android.app.backup.BackupAgentHelper -keep public class * extends android.preference.Preference -keep public class com.android.vending.licensing.ILicensingService -keep public class com.crittercism.** -keepclasseswithmembernames class * { native &lt;methods&gt;; } -keepclasseswithmembers class * { public &lt;init&gt;(android.content.Context, android.util.AttributeSet); } -keepclasseswithmembers class * { public &lt;init&gt;(android.content.Context, android.util.AttributeSet, int); } -keepclassmembers class * extends android.app.Activity { public void *(android.view.View); } -keepclassmembers enum * { public static **[] values(); public static ** valueOf(java.lang.String); } -keep class * implements android.os.Parcelable { public static final android.os.Parcelable$Creator *; } -keepclassmembers public class com.crittercism.* { *; } </code></pre>
    singulars
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    plurals
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload