react-native-video-processing
react-native-video-processing copied to clipboard
Development build working fine but **release build** is crashing
Configure project :react-native-background-upload WARNING: Configuration 'compile' is obsolete and has been replaced with 'implementation' and 'api'. It will be removed at the end of 2018. For more information see: http://d.android.com/r/tools/update-dependency-configurations.html Configure project :react-native-video-processing WARNING: Configuration 'compile' is obsolete and has been replaced with 'implementation' and 'api'. It will be removed at the end of 2018. For more information see: http://d.android.com/r/tools/update-dependency-configurations.html WARNING: The specified Android SDK Build Tools version (25.0.3) is ignored, as it is below the minimum supported version (28.0.3) for Android Gradle Plugin 3.3.1. Android SDK Build Tools 28.0.3 will be used. To suppress this warning, remove "buildToolsVersion '25.0.3'" from your build.gradle file, as each version of the Android Gradle Plugin now has a default version of the build tools.
Task :react-native-device-info:compileReleaseJavaWithJavac Note: /var/www/html/isg/surveillance/node_modules/react-native-device-info/android/src/main/java/com/learnium/RNDeviceInfo/RNDeviceModule.java uses or overrides a deprecated API. Note: Recompile with -Xlint:deprecation for details. Task :app:bundleReleaseJsAndAssets warning: the transform cache was reset. Loading dependency graph, done. info Writing bundle output to:, /var/www/html/isg/surveillance/android/app/build/generated/assets/react/release/index.android.bundle info Done writing bundle output
Task :react-native-video-processing:verifyReleaseResources FAILED FAILURE: Build failed with an exception.
- What went wrong: Execution failed for task ':react-native-video-processing:verifyReleaseResources'.
java.util.concurrent.ExecutionException: com.android.builder.internal.aapt.v2.Aapt2Exception: Android resource linking failed /var/www/html/isg/surveillance/node_modules/react-native-video-processing/android/build/intermediates/res/merged/release/values-v26/values-v26.xml:7: error: resource android:attr/colorError not found. /var/www/html/isg/surveillance/node_modules/react-native-video-processing/android/build/intermediates/res/merged/release/values-v26/values-v26.xml:11: error: resource android:attr/colorError not found. /var/www/html/isg/surveillance/node_modules/react-native-video-processing/android/build/intermediates/res/merged/release/values-v26/values-v26.xml:15: error: style attribute 'android:attr/keyboardNavigationCluster' not found. /var/www/html/isg/surveillance/node_modules/react-native-video-processing/android/build/intermediates/res/merged/release/values-v28/values-v28.xml:7: error: resource android:attr/dialogCornerRadius not found. /var/www/html/isg/surveillance/node_modules/react-native-video-processing/android/build/intermediates/res/merged/release/values-v28/values-v28.xml:11: error: resource android:attr/dialogCornerRadius not found. /var/www/html/isg/surveillance/node_modules/react-native-video-processing/android/build/intermediates/res/merged/release/values/values.xml:2711: error: resource android:attr/fontStyle not found. /var/www/html/isg/surveillance/node_modules/react-native-video-processing/android/build/intermediates/res/merged/release/values/values.xml:2712: error: resource android:attr/font not found. /var/www/html/isg/surveillance/node_modules/react-native-video-processing/android/build/intermediates/res/merged/release/values/values.xml:2713: error: resource android:attr/fontWeight not found. /var/www/html/isg/surveillance/node_modules/react-native-video-processing/android/build/intermediates/res/merged/release/values/values.xml:2714: error: resource android:attr/fontVariationSettings not found. /var/www/html/isg/surveillance/node_modules/react-native-video-processing/android/build/intermediates/res/merged/release/values/values.xml:2715: error: resource android:attr/ttcIndex not found. error: failed linking references.
- Try: Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output. Run with --scan to get full insights.
- Get more help at https://help.gradle.org BUILD FAILED in 48s 303 actionable tasks: 27 executed, 276 up-to-dat
Hi,
Add this on your android/build.gradle
subprojects {
afterEvaluate {project ->
if (project.hasProperty("android")) {
android {
compileSdkVersion 28
buildToolsVersion "28.0.3"
}
}
}
}
Thanks, it's working.
thank you,i get the same issue