You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Sep 4, 2021. It is now read-only.
Repository navigation
This repository was archived by the owner on Sep 4, 2021. It is now read-only.
Execution failed for task ':react-native-geocoder:verifyReleaseResources'. #86
Getting something similar trying to run ./gradlew assembleRealse, Mac OS 10.12.6, Android SDK Build Tools 28.0.3, gradle 4.6, react-native 0.57.1, react-native-geocder 0.5.0:
FAILURE: Build failed with an exception.
* What went wrong:
Execution failed for task ':react-native-geocoder:verifyReleaseResources'.
> java.util.concurrent.ExecutionException: com.android.builder.internal.aapt.v2.Aapt2Exception: Android resource linking failed
Output: /path/to/app/node_modules/react-native-geocoder/android/build/intermediates/res/merged/release/values-v26/values-v26.xml:7: error: resource android:attr/colorError not found.
/path/to/app/node_modules/react-native-geocoder/android/build/intermediates/res/merged/release/values-v26/values-v26.xml:11: error: resource android:attr/colorError not found.
/path/to/app/node_modules/react-native-geocoder/android/build/intermediates/res/merged/release/values-v26/values-v26.xml:15: error: style attribute 'android:attr/keyboardNavigationCluster' not found.
/path/to/app/node_modules/react-native-geocoder/android/build/intermediates/res/merged/release/values/values.xml:226: error: resource android:attr/fontStyle not found.
/path/to/app/node_modules/react-native-geocoder/android/build/intermediates/res/merged/release/values/values.xml:226: error: resource android:attr/font not found.
/path/to/app/node_modules/react-native-geocoder/android/build/intermediates/res/merged/release/values/values.xml:226: error: resource android:attr/fontWeight not found.
error: failed linking references.
Command: /Users/username/.gradle/caches/transforms-1/files-1.1/aapt2-3.2.1-4818971-osx.jar/e7c06e161e039ba7b8bbf8be2b64c8b8/aapt2-3.2.1-4818971-osx/aapt2 link -I\
/Users/username/Library/Android/sdk/platforms/android-25/android.jar\
--manifest\
/path/to/app/node_modules/react-native-geocoder/android/build/intermediates/aapt_friendly_merged_manifests/release/processReleaseManifest/aapt/AndroidManifest.xml\
-o\
/var/folders/qn/0_w8cr513wl215grz8mv_6980000gn/T/aapt-5569752529559728845-out\
-R\
/path/to/app/node_modules/react-native-geocoder/android/build/intermediates/res/compiled/release/anim_abc_fade_in.xml.flat\
I'm pretty new to RN so my apologies if this is something obvious and/or generic, but it seems specific to react-native-geocoder.
Getting thesame when run ./gradlew assembleRealse, Mac OS 10.12.6, Android SDK Build Tools 28.0.3
FAILURE: Build failed with an exception. any solution.
What went wrong:
Execution failed for task ':react-native-geocoder:verifyReleaseResources'.
dependencies {
implementation fileTree(include: ['*.jar'], dir: 'libs')
implementation "com.facebook.react:react-native:+"
}
change compileSdkVersion 25 to 26 and targetSdkVersion 26 let me build release this solve the problem.
Reacted by cedancp, Shelomanov Dmitry, Chathuranga, Najam-Us-Saqib, maxHSG, Hrachya Kyutukyan, Redmen Ishab, Attasiem James Kingsley, QUANG NHAT TRAN (TONY), Christopher Novak and 28 more
Reacted by Manny 5th, hassan-viabletree, Karrthik Reddy Chinasani, Abraham Rosa Vargas, troica, Adrian M. R., Nico, Anton Kuznetsov, Danushka50, Muhammad Misbah and 1 more
Reacted by Redmen Ishab, Manny 5th, hassan-viabletree, Ayoub Benabid, Karrthik Reddy Chinasani, Abraham Rosa Vargas, Sila, Adrian M. R., DeVoresyah ArEst, phattarintorn and 7 more
Reacted by Saeed Padyab, Chathuranga, maxHSG, Muhammad Moiz, Redmen Ishab, Manny 5th, reyn-nova, hassan-viabletree, Karrthik Reddy Chinasani, Abraham Rosa Vargas and 13 more
Reacted by Manny 5th, Qandil abdel fadil awayn, hassan-viabletree, Karrthik Reddy Chinasani, Abraham Rosa Vargas, Adrian M. R., Paulo Roberto, phamlap228, DeVoresyah ArEst, Nico and 4 more
Reacted by hassan-viabletree, Karrthik Reddy Chinasani, phamlap228, Lorenzo Pieri and Marquis Alexander
I find The solution Finally ;)))))
((( RN )))
When we get verifyReleaseResources And ':react-native-interactable:compileDebugJavaWithJavac' this message Error in Release Apk Build In Android
just Update build.gradle in Lib Npm
And Upgrade Your LibSource
android {
compileSdkVersion 28 <<=== this line (to Current SDK Project)
defaultConfig {
minSdkVersion 16
targetSdkVersion 28 <<=== this line (to Current SDK Project)
versionCode 1
versionName "1.0"
ndk {
abiFilters "armeabi-v7a", "x86"
}
}
Activity
kueda commentedon Nov 20, 2018
Getting something similar trying to run
./gradlew assembleRealse, Mac OS 10.12.6, Android SDK Build Tools 28.0.3, gradle 4.6, react-native 0.57.1, react-native-geocder 0.5.0:I'm pretty new to RN so my apologies if this is something obvious and/or generic, but it seems specific to react-native-geocoder.
RafilAlArs commentedon Nov 23, 2018
Getting thesame when run ./gradlew assembleRealse, Mac OS 10.12.6, Android SDK Build Tools 28.0.3
FAILURE: Build failed with an exception. any solution.
Execution failed for task ':react-native-geocoder:verifyReleaseResources'.
update
when I change the react-native-geocoder project build.gradle to
apply plugin: 'com.android.library'
android {
compileSdkVersion 26
buildToolsVersion "25.0.2"
}
dependencies {
implementation fileTree(include: ['*.jar'], dir: 'libs')
implementation "com.facebook.react:react-native:+"
}
change compileSdkVersion 25 to 26 and targetSdkVersion 26 let me build release this solve the problem.
luisfuertes commentedon Feb 26, 2019
+1.
Change targetSdkVersion and compileSdkVersion to 26 not work for me.
Ok, my project is in target SDK 28, with 28 version it works. But in other issue post this fix:
android/build.gradle
At end add:
ad7090 commentedon Sep 10, 2019
I find The solution Finally ;)))))
((( RN )))
When we get
verifyReleaseResourcesAnd':react-native-interactable:compileDebugJavaWithJavac'this message Error in Release Apk Build In Androidjust Update
build.gradlein Lib NpmAnd Upgrade Your LibSource
DeVoresyah commentedon Apr 28, 2020
works for me
Danushka50 commentedon Apr 5, 2021
This works for me. Thank you.