React navigation uncompiled png file passed as argument. must be compiled first into .flat file11/15/2023 Please be aware that AAPT1might be removed in the future therefore you are forced to use AAPT2. If you disable AAPT2 you are just hiding the real issue. Gradle-wrapper.properties distributionUrl=https\:///distributions/ ResolutionStrategy.This is the output of my Gradle console, I am unable to build my project D:\Android Projects\.\app\src\main\res\layout\topic_view_header.xmlĮrror:error: resource attr/? (aka -packagename- :attr/?) not found.Įrror:error: resource attr/? (aka -packagename-:attr/?) not found.Įrror:resource attr/? (aka -packagename-:attr/?) not found.Įrror::Ĭom.2Exception: AAPT2 error: check logs for detailsĮrror:2.Aapt2Exception: AAPT2 error: check logs forĮrror:Execution failed for task ':app:processDebugResources'.Ī new version of Gradle and Android-gradle-plugin is available that fixes these issues.Ĭlasspath ':gradle:3.2.1' NOTE: Do not place your application dependencies here they belong My adle file is this: // Top-level build file where you can add configuration options common to all sub-projects/modules.Ĭlasspath ':gradle:3.1.3' If I set android.enableAapt2=true (the error above it raised with aapt2 disabled) in the grade.properties I got this error: D:\WorkingCopy\Apps\CpVehicle\src\android\app\build\intermediates\res\merged\release\drawable-hdpi\node_modules_reactnavigation_src_views_assets_backicon.png: error: uncompiled PNG file passed as argument. If I remove the react-native-device-info package, the error appear with the next installed package that is react-native-camera. I execute this command to generate the APK: gradlew cleanĮxecution failed for task ':react-native-device-info:verifyReleaseResources'.Ĭom.ProcessException: Failed to execute aapt I have created a new project with react-native with few packages (react-native-camera, react-native-device-info, react-native-elements, react-native-geocoder, react-native-qrcode-scanner, react-native-vector-icons, react-navigation) but I cannot figure out why it doesn't build.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |