react-native-community / releases

React Native releases
https://github.com/facebook/react-native/
1.5k stars 405 forks source link

react-native run-android - Execution failed for task ':app:signingConfigWriterDebug'. #114

Closed bigchangego closed 5 years ago

bigchangego commented 5 years ago

C:\bond\workspace\igApp>react-native info info React Native Environment Info: System: OS: Windows 7 CPU: (4) x64 Intel(R) Core(TM) i7-6600U CPU @ 2.60GHz Memory: 7.99 GB / 15.64 GB Binaries: Yarn: 1.15.2 - C:\Program Files (x86)\Yarn\bin\yarn.CMD npm: 6.7.0 - C:\Program Files\nodejs\npm.CMD IDEs: Android Studio: Version 3.3.0.0 AI-182.5107.16.33.5314842

C:\bond\workspace\igApp>react-native run-android --verbose info JS server already running. info Building and installing the app on the device (cd android && gradlew.bat app:installDebug)...

Configure project :react-native-gesture-handler WARNING: Configuration 'provided' is obsolete and has been replaced with 'compileOnly'. 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.2) 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.2'" from your build.gradle file, as each version of the Android Gradle Plugin now has a default version of the build tools.

Configure project :react-native-keychain 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-splash-screen 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: Configuration 'testCompile' is obsolete and has been replaced with 'testImplementation'. 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 (26.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 '26.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 :app:signingConfigWriterDebug FAILED

FAILURE: Build failed with an exception.

BUILD FAILED in 2s 74 actionable tasks: 1 executed, 73 up-to-date <-------------> 0% WAITING

IDLE IDLE error Could not install the app on the device, read the error above for details. Make sure you have an Android emulator running or a device connected and have set up your Android development environment: https://facebook.github.io/react-native/docs/getting-started.html error Command failed: gradlew.bat app:installDebug debug Error: Command failed: gradlew.bat app:installDebug at checkExecSyncError (child_process.js:637:11) at execFileSync (child_process.js:655:13) at runOnAllDevices (C:\bond\workspace\igApp\node_modules\@react-native-community\cli\build\commands\runAndroid\runOnAllDevices.js:58:39) at buildAndRun (C:\bond\workspace\igApp\node_modules\@react-native-community\cli\build\commands\runAndroid\runAndroid.js:142:41) at then.result (C:\bond\workspace\igApp\node_modules\@react-native-community\cli\build\commands\runAndroid\runAndroid.js:104:12) at processTicksAndRejections (internal/process/task_queues.js:86:5)