I tried to update all the libraries, but i still got errors. I am able to run the app on the simulator, but when I export the APK and run it on a real android device, the ap
I had to add this and now it works smooth:
-keep class android.support.v7.widget.SearchView {
public <init>(android.content.Context);
public <init>(android.content.Context, android.util.AttributeSet);
}
-keep interface android.support.v7.widget.SearchView {
public <init>(android.content.Context);
public <init>(android.content.Context, android.util.AttributeSet);
}
After long hours of research a simple solution of this problem i.e just add
-keep class android.support.v7.widget.SearchView { *; }
in app/proguard/android.proguard file of AndroidStudio.
Cheers!