Nosuchmethodexception: [class Android.view.view] After Generating Signed Apk
I don't know why NoSuchMethodException is happening in the app. I am using firebase auth + database. I am populating data to recyclerview with FirebaseRecyclerAdapter .I am trying
Solution 1:
This is because ProGuard is obfuscating your apk to make it harder for hackers to reverse-engineering your apk. If you think obfuscation is not needed, change this in your gradle configuration:
minifyEnabled false
Alternatively, you can let ProGuard skip obfuscation of the support libraries by using this:
minifyEnabled true
proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.txt'
Add a file proguard-rules.txt
and try adding these lines:
-keep class android.support.v7.internal.** { *; }-keep interface android.support.v7.internal.** { *; }-keep class android.support.v7.** { *; }-keep interface android.support.v7.** { *; }
Post a Comment for "Nosuchmethodexception: [class Android.view.view] After Generating Signed Apk"