cmd 运行安卓工程

1、切换路径到安卓应用的根目录

执行 ant debug

2、确保 Android SDK platform-tools/在path环境变量中,然后执行

adb install bin/MyFirstApp-debug.apk

3、在你的设备上找到你的应用MyFirstActivity然后打开它

(翻译至安卓官方文档)

原文地址:https://www.cnblogs.com/kaixiner/p/3653863.html