【Android】二、HelloWorld

1. 按照该网址写HelloWorld 例子   http://www.runoob.com/android/android-hello-world-example.html

2.点击 make project

3. 手机插上USB, 然后设置:

Settings -> Additional Settings -> Developer options ->

  1. Turn off "MIUI optimization" and Restart

  2. Turn On "USB Debugging"

  3. Turn On "Install via USB"

  4. Set USB Configuration to Charging

 4. 点击 run

转载于:https://www.cnblogs.com/luoyinjie/p/9442509.html

你可能感兴趣的:(【Android】二、HelloWorld)