【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