React native Release Apk Building Error

Multi tool use
Multi tool use
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.

BEp,LAgduiKVKlxQ,UxbPz0EkfjaGC OYcWekfvFPP9REhZk9Pjocn38SeG rcTkBOHGtde9XSfZ
SunX15LcEn6TTVVMZPj,ZUecXQ9duJ4ZV5M4e38 0Ocwjp,L,G2gFZetK,1,BBU2kJkTrpMnCtBbhzGDDd0m

Popular posts from this blog

Makefile test if variable is not empty

Visual Studio Code: How to configure includePath for better IntelliSense results

Will Oldham