fyi icon indicating copy to clipboard operation
fyi copied to clipboard

🤖 Android build failed: Gradle build failed with unknown error. See logs for the "Run gradlew" phase for more information.

Open Azizbekshams opened this issue 2 years ago • 1 comments

✖ Build failed

🤖 Android build failed: Gradle build failed with unknown error. See logs for the "Run gradlew" phase for more information.

.... [stderr] Note: /home/expo/workingdir/build/node_modules/@react-native-async-storage/async-storage/android/src/main/java/com/reactnativecommunity/asyncstorage/AsyncStorageModule.java uses or overrides a deprecated API. [stderr] Note: Recompile with -Xlint:deprecation for details. [stderr] Note: /home/expo/workingdir/build/node_modules/@react-native-async-storage/async-storage/android/src/main/java/com/reactnativecommunity/asyncstorage/AsyncStoragePackage.java uses unchecked or unsafe operations. [stderr] Note: Recompile with -Xlint:unchecked for details.

......

[stderr] Note: /home/expo/workingdir/build/node_modules/react-native-svg/android/src/main/java/com/horcrux/svg/VirtualView.java uses or overrides a deprecated API. [stderr] Note: Recompile with -Xlint:deprecation for details. [stderr] Note: Some input files use unchecked or unsafe operations. [stderr] Note: Recompile with -Xlint:unchecked for details.

......

[stderr] Note: Some input files use or override a deprecated API. [stderr] Note: Recompile with -Xlint:deprecation for details. [stderr] Note: /home/expo/workingdir/build/node_modules/react-native-webview/android/src/main/java/com/reactnativecommunity/webview/RNCWebViewManager.java uses unchecked or unsafe operations. [stderr] Note: Recompile with -Xlint:unchecked for details.

.....

[stderr] Note: Some input files use or override a deprecated API. [stderr] Note: Recompile with -Xlint:deprecation for details. [stderr] Note: Some input files use unchecked or unsafe operations. [stderr] Note: Recompile with -Xlint:unchecked for details. ..... [stderr] FAILURE: Build completed with 2 failures. [stderr] 1: Task failed with an exception. [stderr] ----------- [stderr] * What went wrong: [stderr] Execution failed for task ':app:mergeReleaseResources'. [stderr] > A failure occurred while executing com.android.build.gradle.internal.res.Aapt2CompileRunnable [stderr] > Android resource compilation failed [stderr] ERROR:/home/expo/workingdir/build/android/app/build/generated/res/react/release/drawable-mdpi/assets_images_library.png: AAPT: error: file failed to compile. [stderr]
[stderr] * Try: [stderr] > Run with --stacktrace option to get the stack trace. [stderr] > Run with --info or --debug option to get more log output. [stderr] > Run with --scan to get full insights. [stderr] ============================================================================== [stderr] 2: Task failed with an exception. [stderr] ----------- [stderr] * What went wrong: [stderr] java.lang.StackOverflowError (no error message) [stderr] * Try: [stderr] > Run with --stacktrace option to get the stack trace. [stderr] > Run with --info or --debug option to get more log output. [stderr] > Run with --scan to get full insights. [stderr] ============================================================================== [stderr] * Get more help at https://help.gradle.org [stderr] BUILD FAILED in 4m 15s

Error: Gradle build failed with unknown error. See logs for the "Run gradlew" phase for more information.

Azizbekshams avatar Dec 23 '22 07:12 Azizbekshams