Im developing an app for Android using Backendless, the app worked fine but when i used proguard the app cannot retrieve datas from the server with the fault.getMessage() returning error: “Table b does not exist, …” when i try to retrieve datas from Category table
I used the answer from here: http://support.backendless.com/t/unable-to-use-proguard
But it doesnt solve my problem, i can build the released version of the app but when i installed and run it it gives the error above.
Hi, Devon Ericko.
Have you added all you classes to " -keep" section ?
please, could you show proguard config ?
this is my proguard-rules.pro contents
-keep class com.crashlytics.sdk.** { *; }
-dontwarn com.backendless.**
-dontwarn weborb.**
-keep class weborb.** {*;}
Keep Picasso
-keep class com.squareup.** { ; }
-keepclasseswithmembers class * {
@com.squareup.* ;
}
-keepclassmembers class * {
@com.squareup.* ;
}
-keepattributes SourceFile,LineNumberTable
-keep class com.parse.{ *; }
-dontwarn com.squareup.picasso.**
UPDATE: I have used the
-keep class com.backendless.** {*;}
But it doesnt fix my problem
Hi Devon,
Please try solution as discribed in comment. Also check if your model classes have
Denys thanks for the reply, unfortunately that solution doesnt works as well
-dontwarn com.backendless.**
-dontwarn weborb.**
-keep class weborb.** {;}
-keep class com.backendless.** {;}
-keep class com.tactel.memegenerator.model.** {*;}
EDIT: Never mind, i didnt realize i supposed to change last line to my app package, it works now thanks!