While making build of react native app I get the following error. * What went wrong: Execution failed for task ':react-native-youtube:verifyReleaseResources'.
com.android.ide.common.process.ProcessException: Failed to execute aapt
And after this the build is failed.Why this came and what is the possible solution for this problem?
Reason for the error:
You have installed react-native-youtube as a dependency, And the reason for this error is that the configurations of your android/app/build.gradle
and node_modules/react-native-youtube/android/build.gradle
mismatch.
Solution
node_modules/react-native-youtube/android/build.gradle
compileSdkVersion
buildToolsVersion
minSdkVersion
targetSdkVersion
same as you have in android/app/build.gradle
./gradlew assembleRelease
from the terminal. If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With