Issue
When building a flutter app, I get an error stating
FAILURE: Build failed with an exception.
* What went wrong:
Execution failed for task ':app:extractReleaseNativeDebugMetadata'.
> NDK is not installed
* 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 822ms
However, the android NDK is installed.
Solution
I got that error on React Native 0.64 app on AppCenter build for Android.
The solution is to go to android/app/build.gradle
file and comment ndk { debugSymbolLevel 'FULL' }
line if you have so (defaultConfig { ndk { debugSymbolLevel } }
)
The solution was found by my colleague Jose, so all credits to him)
Answered By - Serhii Harbovskyi
0 comments:
Post a Comment
Note: Only a member of this blog may post a comment.