Menu
Go to cmd and type adb kill-server. Go to task manager and find adb in processes. In eclipse, go to WindowAndroid Virtual Device Manager, click on the AVD you want to launch, click on start and uncheck 'Launch From Snapshot' and then click on launch.
Is this a bug report?Yes Have you read the?yes EnvironmentI'm on MacOSX Sierra 10.13Environment:OS: macOS Sierra 10.13Node: 8.9.1react-native: 0.52.0Watchman: 4.9.0Android Studio: 3.0 AI-1Packages: (wanted = installed)react-native: 5.6.0react: 16.2.0Target Platform: Android oreo Steps to ReproduceAfter a fresh install, I try to run the simulator for android. Launch The emulator. react-native run-androidExpected Behaviorworking Actual BehaviorI get this error and I have no way to make the simulator runningAny idea?
I'm desperateThanks Task:app:installDebugSkipping device 'emulator-5554' (emulator-5554): Device is OFFLINE.FAILURE: Build failed with an exception. What went wrong:Execution failed for task ':app:installDebug'. com.android.builder.testing.api.DeviceException: No online devices found. Try:Run with -stacktrace option to get the stack trace.
Run with -info or -debug option to get more log output. Get more help at FAILED in 4s26 actionable tasks: 2 executed, 24 up-to-dateCould 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 haveset up your Android development environment. Task:app:installDebugSkipping device 'emulator-5554' (emulator-5554): Device is OFFLINE.Here is the important part, your emulator, since it is not working, fail to have the app installed on it.Are you sure that your emulator is up and running?If you connect a device with usb does it work?Do you have atleast one emulator in `Tools Android AVD Manager'?Go to Android Studio SDK Manager and see if 'Android Emulator' is checked.Either way this issue is, I think, not related to react-native per say but more with 'you' because the main issue here is that your emulator is not working.
Comments are closed.
|
AuthorWrite something about yourself. No need to be fancy, just an overview. Archives
January 2023
Categories |