react-native-charts-wrapper icon indicating copy to clipboard operation
react-native-charts-wrapper copied to clipboard

> Task :react-native-charts-wrapper:packageDebugResources FAILED

Open mertct11 opened this issue 5 years ago • 0 comments

I created an expo project and then uploaded this package. It was working smoothly. but with the "expo eject" command I wanted to extract the project from android and run it, but I get an error like this. Is there anyone who can help?

Task :react-native-charts-wrapper:packageDebugResources FAILED

Deprecated Gradle features were used in this build, making it incompatible with Gradle 7.0. Use '--warning-mode all' to show the individual deprecation warnings. See https://docs.gradle.org/6.3/userguide/command_line_interface.html#sec:command_line_warnings 232 actionable tasks: 2 executed, 230 up-to-date

FAILURE: Build failed with an exception.

  • What went wrong: Execution failed for task ':react-native-charts-wrapper:packageDebugResources'.

Couldn't delete stale output file

  • 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 2m 32s

error Failed to install the app. Make sure you have the Android development environment set up: https://facebook.github.io/react-native/docs/getting-started.html#android-development-environment. Run CLI with --verbose flag for more details. Error: Command failed: gradlew.bat app:installDebug -PreactNativeDevServerPort=8081

FAILURE: Build failed with an exception.

  • What went wrong: Execution failed for task ':react-native-charts-wrapper:packageDebugResources'.

Couldn't delete stale output file

  • 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 2m 32s

at checkExecSyncError (child_process.js:611:11)
at execFileSync (child_process.js:629:15)
at runOnAllDevices (C:\Users\tds\Desktop\mertCan\reactNativeApps\AttachApp4\node_modules\react-native\node_modules\@react-native-community\cli-platform-android\build\commands\runAndroid\runOnAllDevices.js:94:39)
at buildAndRun (C:\Users\tds\Desktop\mertCan\reactNativeApps\AttachApp4\node_modules\react-native\node_modules\@react-native-community\cli-platform-android\build\commands\runAndroid\index.js:179:41)
at C:\Users\tds\Desktop\mertCan\reactNativeApps\AttachApp4\node_modules\react-native\node_modules\@react-native-community\cli-platform-android\build\commands\runAndroid\index.js:133:12
at processTicksAndRejections (internal/process/task_queues.js:97:5)
at async Command.handleAction (C:\Users\tds\Desktop\mertCan\reactNativeApps\AttachApp4\node_modules\react-native\node_modules\@react-native-community\cli\build\index.js:182:9)

npm ERR! code ELIFECYCLE npm ERR! errno 1 npm ERR! [email protected] android: react-native run-android npm ERR! Exit status 1 npm ERR! npm ERR! Failed at the [email protected] android script. npm ERR! This is probably not a problem with npm. There is likely additional logging output above.

npm ERR! A complete log of this run can be found in: npm ERR! C:\Users\tds\AppData\Roaming\npm-cache_logs\2020-09-18T17_05_34_132Z-debug.log

mertct11 avatar Sep 18 '20 17:09 mertct11