React native Release Apk Building Error
React native Release Apk Building Error
I'll build my react native project it build success, but whenever i will try to build release Apk It's give error
error: uncompiled PNG file passed as argument. Must be compiled first into .flat file..
2 Answers
2
Try this...
in your gradle.properties file add these lines
android.enableAapt2=false
This is the known issue of react-navigation
library. As a workaround you need to add this line to gradle.properties
file:
react-navigation
gradle.properties
android.enableAapt2=false
and clean all previous build files using:
./gradlew clean
By clicking "Post Your Answer", you acknowledge that you have read our updated terms of service, privacy policy and cookie policy, and that your continued use of the website is subject to these policies.
That's not working for me
– Akshay Italiya
2 hours ago