Untitled
unknown
plain_text
4 years ago
1.6 kB
4
Indexable
Admin@NguyenVietCuong MINGW64 ~/AppTest $ yarn android yarn run v1.22.11 $ react-native run-android info Running jetifier to migrate libraries to AndroidX. You can disable it using "--no-jetifier" flag. Jetifier found 896 file(s) to forward-jetify. Using 4 workers... info JS server already running. info Installing the app... Error: Could not find or load main class org.gradle.wrapper.GradleWrapperMain Caused by: java.lang.ClassNotFoundException: org.gradle.wrapper.GradleWrapperMain 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 Error: Could not find or load main class org.gradle.wrapper.GradleWrapperMain Caused by: java.lang.ClassNotFoundException: org.gradle.wrapper.GradleWrapperMain at makeError (C:\Users\Admin\AppTest\node_modules\execa\index.js:174:9) at C:\Users\Admin\AppTest\node_modules\execa\index.js:278:16 at processTicksAndRejections (internal/process/task_queues.js:95:5) at async runOnAllDevices (C:\Users\Admin\AppTest\node_modules\@react-native-community\cli-platform-android\build\commands\runAndroid\runOnAllDevices.js:94:5) at async Command.handleAction (C:\Users\Admin\AppTest\node_modules\@react-native-community\cli\build\index.js:186:9) info Run CLI with --verbose flag for more details. error Command failed with exit code 1. info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command.
Editor is loading...