profile
viewpoint

Ask questionsTask :app:stripDebugDebugSymbols FAILED & Task :app:generateDebugBuildConfig FAILED

Description

I ran the command "react-native run-android" and the return is this:

Task :app:stripDebugDebugSymbols FAILED Task :app:generateDebugBuildConfig FAILED

React Native version:

System: OS: Windows 10 10.0.18362 CPU: (4) x64 Intel(R) Core(TM) i5-3320M CPU @ 2.60GHz Memory: 1.30 GB / 7.82 GB Binaries: Node: 12.16.1 - C:\Program Files\nodejs\node.EXE Yarn: 1.16.0 - C:\Program Files (x86)\Yarn\bin\yarn.CMD npm: 6.13.4 - C:\Program Files\nodejs\npm.CMD IDEs: Android Studio: Version 3.6.0.0 AI-192.7142.36.36.6241897 npmPackages: react: 16.9.0 => 16.9.0 react-native: 0.61.5 => 0.61.5

Java --version : 13.0.2

Steps To Reproduce

Expected Results

I must be able to compile my project.

Screen Shoot RN

Snack, code example, screenshot, or link to a repository:

"dependencies": { "@react-native-community/async-storage": "^1.7.1", "@react-native-community/cli-platform-android": "^3.0.3", "@react-native-community/netinfo": "^5.5.1", "axios": "^0.19.2", "moment": "^2.24.0", "numeral": "^2.0.6", "qs": "^6.9.1", "react": "16.9.0", "react-native": "0.61.5", "react-native-gesture-handler": "^1.5.2", "react-native-image-picker": "^1.1.0", "react-native-paper": "^3.4.0", "react-native-reanimated": "^1.4.0", "react-native-screens": "^2.0.0-alpha.22", "react-native-snackbar": "^2.2.0", "react-native-unimodules": "^0.7.0", "react-native-vector-icons": "^6.6.0", "react-native-web": "^0.12.0-rc.1", "react-native-webview": "^8.0.3", "react-native-youtube": "^2.0.0", "react-navigation": "^4.0.10", "react-navigation-stack": "^1.10.3", "react-navigation-tabs": "^2.6.2", "react-redux": "^7.1.3", "redux": "^4.0.5", "redux-persist": "^6.0.0" },

facebook/react-native

Answer questions xlcrr

Execution failed for task ':app:stripDebugDebugSymbols'.
> No version of NDK matched the requested version 20.0.5594570. Versions available locally: 21.0.6113669

Open Android Studio -> Preferences -> Appearance & Behaviour -> System Settings -> Android SDK -> SDK Tools -> Show Package Details -> Select "NDK" -> select missing package -> Apply

useful!

Related questions

error Failed to build iOS project. We ran "xcodebuild" command but it exited with error code 65 hot 130
Error: Unable to resolve module `./debugger-ui/debuggerWorker.cff11639.js` from ``: - react-native hot 106
React Native BUILD FAILED on run-ios hot 95
xcode 11.4 build fatal error: module map file xxx/Build/Products/Debug-iphoneos/YogaKit/YogaKit.modulemap' not found hot 93
(react-native run-android) -> Error: Command failed: ./gradlew installDebug hot 89
Unknown failure cmd: Can't find service: package hot 88
native_modules.gradle file is not downloading hot 78
Invalid `Podfile` file: cannot load such file -- /Users/admin/Desktop/kandigram/node_modules/@react-native-community/cli-platform-ios/native_modules. # from /Users/admin/Desktop/kandigram/ios/Podfile:2 # ------------------------------------------- # platform :ios, '9.0' > require_relative '../node_modules/@react-native-community/cli-platform-ios/native_modules' # target 'Kandigram' do # ------------------------------------------- hot 76
yogakit/yogakit.modulemap' not found React Native hot 75
No apps connected. Sending "reload" to all React Native apps failed. Make sure your app is running in the simulator or on a phone connected via USB. - react-native hot 74
React Native: java.lang.RuntimeException: Catalyst Instance has already disappeared: requested by WebSocketModule hot 71
Error: Cannot find module 'warnOnce' hot 69
React Native: java.lang.RuntimeException: Catalyst Instance has already disappeared: requested by WebSocketModule - react-native hot 67
Cant build react native from box in XCode: 'event2/event-config.h' file not found hot 65
“However, this package itself specifies a `main` module field”, why? hot 60
source:https://uonfu.com/
answerer
Seán Lynch xlcrr OpenLitterMap Ireland https://openlittermap.com Geographer. Laravel, Vue, React Native, Solidity, GIS & Tensorflow developer with magic hacks ✨
Github User Rank List