简体   繁体   中英

Android studio emulator disconnected

Please guide me i am beginner in android. I don't know what going on i simply check the emulator in simple hello world program but emulator disconnected. no error in program and also not show in log cat.

Please check Tools>Connection Assistant . Or you can follow this manually;

1.Run your Hello World program and open your emulator.

2.Follow these on your emulator Android OS;

(1) On Android 8.0 and higher, go to Settings > System > About phone (or About emulated device ) and tap Build number seven times.

(2) On Android 4.2 through 7.1.2, go to Settings > About phone (or About emulated device ) and tap Build number seven times.

3.Return to the main Settings menu to find Developer options at the bottom. In the Developer options menu, scroll down and enable USB debugging.

Result; Usb Debugging Connected

After did these, you can run your project; Hello World

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM