reactnativecn / react-native-website

React Native 中文网
https://reactnative.cn
MIT License
216 stars 327 forks source link

npm run android failed #719

Closed xiaohuaqqqq closed 9 months ago

xiaohuaqqqq commented 1 year ago

Configure project :react-native-reanimated Native libs debug enabled: false Android gradle plugin: 4.1.3 Gradle: 6.7 building Reanimated2

Task :react-native-maps:packageDebugAssets 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.7/userguide/command_line_interface.html#sec:command_line_warnings 53 actionable tasks: 4 executed, 49 up-to-date

FAILURE: Build failed with an exception.

BUILD FAILED in 3m 27s

error Failed to install the app. Make sure you have the Android development environment set up: https://reactnative.dev/docs/environment-setup. Error: Command failed: gradlew.bat app:installDebug -PreactNativeDevServerPort=8081

FAILURE: Build failed with an exception.

BUILD FAILED in 3m 27s

at makeError (C:\Users\admin\Desktop\CleanMe-2\CleanMe-2\node_modules\@react-native-community\cli-platform-android\node_modules\execa\index.js:174:9)
at C:\Users\admin\Desktop\CleanMe-2\CleanMe-2\node_modules\@react-native-community\cli-platform-android\node_modules\execa\index.js:278:16
at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
at async runOnAllDevices (C:\Users\admin\Desktop\CleanMe-2\CleanMe-2\node_modules\@react-native-community\cli-platform-android\build\commands\runAndroid\runOnAllDevices.js:109:5)
at async Command.handleAction (C:\Users\admin\Desktop\CleanMe-2\CleanMe-2\node_modules\@react-native-community\cli\build\index.js:192:9)

info Run CLI with --verbose flag for more details.

sunnylqm commented 1 year ago

它说有个文件删不掉,你手动删一下试试?

xiaohuaqqqq commented 1 year ago

它说有个文件删不掉,你手动删一下试试?

我看了那个文件夹没有这个文件

github-actions[bot] commented 9 months ago

👋 Hey there, it looks like there has been no activity on this issue in the last 90 days. Has the issue been fixed, or does it still require the community attention? This issue will be closed in the next 7 days if no further activity occurs. Thank you for your contributions.

github-actions[bot] commented 9 months ago

Closing this issue after a prolonged period of inactivity. If this issue is still present in the latest release, please feel free to create a new issue with up-to-date information.