Open Savrov opened 5 years ago
@Savrov
I'm getting this error as well.
IMO It is most probably because of the instantiateRule() method in Reflector.java class, which throws this violation error when trying to create the validation rule with any available public constructors through reflection.
I tried debugging this and found that no constructors are returned, even after adding a public constructor to my Annotation Rule class.
This only happens when I'm using proguard, but I've added these lines to my proguard.pro file:
-keep class com.mobsandgeeks.saripaar.** {*;} -dontwarn com.mobsandgeeks.saripaar.**
Still this is happening.
Can some help here?
@Asad-Khan-Aasanjobs I have created new project with AndroidX support (again) and it works. In old project its not still working.
Its smth with project build...
I have a code inside androidx.fragment.app.Fragment
After init validation
And on validator.validate(); I receive:
Pls help to fix