Proguard error in android when exporting the application? -
i developed android application functionalities working fine. when try export application getting following error
proguard returned error code 1
. see console
my console here
proguard.parseexception: expecting class member name before '@' in line 162 of file 'd:\android\workspace.gopal\loginactivity\bin\proguard.txt', loginactivity] included argument number 6 loginactivity] @ proguard.configurationparser.readnextword(configurationparser.java:1133) loginactivity] @ proguard.configurationparser.readnextword(configurationparser.java:1117) loginactivity] @ proguard.configurationparser.parsememberspecificationarguments(configurationparser.java:845) loginactivity] @ proguard.configurationparser.parseclassspecificationarguments(configurationparser.java:697) loginactivity] @ proguard.configurationparser.parsekeepclassspecificationarguments(configurationparser.java:490) loginactivity] @ proguard.configurationparser.parse(configurationparser.java:139) loginactivity] @ proguard.proguard.main(proguard.java:484)
added proguard settings here
view res/layout/my_eg.xml generated:97 -keep class android.support.v4.view.viewpager { <init>(...); } view androidmanifest.xml generated:96 -keep class com.eg.mobile.aboutusactivity { <init>(...); } view androidmanifest.xml generated:74 -keep class com.eg.mobile.addhighlightactivity { <init>(...); } view androidmanifest.xml generated:70 -keep class com.eg.mobile.albumcreationactivity { <init>(...); } view androidmanifest.xml generated:171 -keep class com.eg.mobile.cameraactivity { <init>(...); } view androidmanifest.xml generated:156 -keep class com.eg.mobile.cameraflowactivity { <init>(...); } view androidmanifest.xml generated:160 -keep class com.eg.mobile.camerahomescreenactivity { <init>(...); } view androidmanifest.xml generated:164 -keep class com.eg.mobile.camerapreviewactivity { <init>(...); } view androidmanifest.xml generated:181 -keep class com.eg.mobile.choosehomescreenactivity { <init>(...); } view androidmanifest.xml generated:92 -keep class com.eg.mobile.contactusactivity { <init>(...); } view androidmanifest.xml generated:66 -keep class com.eg.mobile.createactivity { <init>(...); } view androidmanifest.xml generated:194 -keep class com.eg.mobile.egblogactivity { <init>(...); } view androidmanifest.xml generated:198 -keep class com.eg.mobile.egblogdetailsactivity { <init>(...); } view androidmanifest.xml generated:190 -keep class com.eg.mobile.faqactivity { <init>(...); } view androidmanifest.xml generated:147 -keep class com.eg.mobile.fanmemberdetailsactivity { <init>(...); } view androidmanifest.xml generated:46 -keep class com.eg.mobile.gcmintentservice { <init>(...); } view androidmanifest.xml generated:58 -keep class com.eg.mobile.landingactivity { <init>(...); } view androidmanifest.xml generated:133 -keep class com.eg.mobile.lightboxactivity { <init>(...); } view androidmanifest.xml generated:34 -keep class com.eg.mobile.loginactivity { <init>(...); } view androidmanifest.xml generated:207 -keep class com.eg.mobile.messageconversation { <init>(...); } view androidmanifest.xml generated:213 -keep class com.eg.mobile.multiphotoselectactivity { <init>(...); } view androidmanifest.xml generated:139 -keep class com.eg.mobile.myegactivity { <init>(...); } view androidmanifest.xml generated:119 -keep class com.eg.mobile.myegdetailsactivity { <init>(...); } view androidmanifest.xml generated:124 -keep class com.eg.mobile.myeglibraryactivity { <init>(...); } view androidmanifest.xml generated:114 -keep class com.eg.mobile.myeglibrarycontentactivity { <init>(...); } view androidmanifest.xml generated:151 -keep class com.eg.mobile.myegmessagingactivity { <init>(...); } view androidmanifest.xml generated:185 -keep class com.eg.mobile.myegnotificationsactivity { <init>(...); } view androidmanifest.xml generated:143 -keep class com.eg.mobile.myfanbaseactivity { <init>(...); } view androidmanifest.xml generated:219 -keep class com.eg.mobile.notificationsettings { <init>(...); } view androidmanifest.xml generated:104 -keep class com.eg.mobile.ourcommunityactivity { <init>(...); } view androidmanifest.xml generated:100 -keep class com.eg.mobile.ourstoryactivity { <init>(...); } view androidmanifest.xml generated:135 -keep class com.eg.mobile.postcommentsactivity { <init>(...); } view androidmanifest.xml generated:108 -keep class com.eg.mobile.postcreationactivity { <init>(...); } view androidmanifest.xml generated:88 -keep class com.eg.mobile.privacyactivity { <init>(...); } view androidmanifest.xml generated:78 -keep class com.eg.mobile.registrationactivity { <init>(...); } view androidmanifest.xml generated:128 -keep class com.eg.mobile.searchactivity { <init>(...); } view androidmanifest.xml generated:62 -keep class com.eg.mobile.thankyouactivity { <init>(...); } view androidmanifest.xml generated:84 -keep class com.eg.mobile.tosactivity { <init>(...); } view androidmanifest.xml generated:176 -keep class com.eg.mobile.updateprofileactivity { <init>(...); } view androidmanifest.xml generated:168 -keep class com.eg.mobile.uploadactivity { <init>(...); } view androidmanifest.xml generated:202 -keep class com.eg.mobile.videoplayeractivity { <init>(...); } view androidmanifest.xml generated:29 -keep class com.eg.mobile.common.egapplication { <init>(...); } view res/layout/myeg_message_conversation.xml generated:83 view res/layout/myeg_messaging.xml generated:100 -keep class com.eg.mobile.common.edittextbackevent { <init>(...); } view res/layout/eg_library_list_item.xml generated:22 -keep class com.eg.mobile.common.expandedgridview { <init>(...); } view res/layout/eg_blog_highlights.xml generated:177 view res/layout/egblog_landingpage.xml generated:174 view res/layout/myeg_notifications.xml generated:37 -keep class com.eg.mobile.pulltorefreshlist.pulltorefreshview { <init>(...); } view res/layout/myeg_messages.xml generated:122 view res/layout/myeg_messaging.xml generated:137 -keep class com.eg.mobile.srg.srgegmessage { <init>(...); } view res/layout/my_eg_library.xml generated:39 view res/layout/myeg_library_mycontent.xml generated:191 -keep class com.eg.mobile.srg.srgmyeglibrary { <init>(...); } view res/layout/fan_member_details.xml generated:39 view res/layout/my_eg.xml generated:48 view res/layout/myfanbase.xml generated:40 -keep class com.eg.mobile.srg.srgmyegtabs { <init>(...); } view res/layout/myeg_search.xml generated:79 view res/layout/search.xml generated:111 -keep class com.eg.mobile.srg.srgsearch { <init>(...); } view androidmanifest.xml generated:48 -keep class com.google.android.gcm.gcmbroadcastreceiver { <init>(...); } onclick res/layout/fanofpopup.xml generated:28 onclick res/layout/fanofpopup.xml generated:41 onclick res/layout/myeg_detail_view.xml generated:75 -keepclassmembers class * { *** @drawable/gradient_active_button(...); } onclick res/layout/ac_image_grid.xml generated:18 -keepclassmembers class * { *** btnchoosephotosclick(...); } onclick res/layout/myeg_search_results.xml generated:46 onclick res/layout/search.xml generated:68 -keepclassmembers class * { *** searchclick(...); }
please 1 me in this
the error
expecting class member name before '@' in line 162 of file 'd:\android\workspace.gopal\loginactivity\bin\proguard.txt'
suggests wrong on line 162 of automatically generated file bin/proguard.txt. may want check if version of sdk date.