Reputation: 3755
I am doing react native application. While creating android apk file getting following error
WARNING: The option setting 'android.disableResourceValidation=true' is experimental and unsupported.
The current default is 'false'.
I have found my gradle.properties following
android.disableResourceValidation=true
Even, I tried to set false, But, Still same issue getting.
I have knowledge in iOS, But, Android no idea.
Any suggestions?
Upvotes: 1
Views: 4417
Reputation: 685
go to gradle.properties and change it to android.enableSeparateAnnotationProcessing=false
.
It worked in my case.
Upvotes: 3
Reputation: 320
for me works and I am sharing with you:
When Proguard is enabled (which it is by default for Android release builds), it causes runtine error To avoid this, add an exception to android/app/proguard-rules.pro:
-keep public class com.horcrux.svg.** {*;}
Try build your app again.
Upvotes: 0