React native Release Apk Building Error

The name of the pictureThe name of the pictureThe name of the pictureClash Royale CLAN TAG#URR8PPP


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..



enter image description here




2 Answers
2



Try this...



in your gradle.properties file add these lines


android.enableAapt2=false





That's not working for me
– Akshay Italiya
2 hours ago



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.

Popular posts from this blog

Makefile test if variable is not empty

Will Oldham

'Series' object is not callable Error / Statsmodels illegal variable name