摘要: 切换路径到/tools/执行android avd运行同上篇:cmd运行安卓工程 阅读全文
posted @ 2014-04-09 15:33 kaixinkaixin0 阅读(203) 评论(0) 推荐(0) 编辑
摘要: 1、切换路径到安卓应用的根目录执行 ant debug2、确保Android SDKplatform-tools/在path环境变量中,然后执行adb install bin/MyFirstApp-debug.apk3、在你的设备上找到你的应用MyFirstActivity然后打开它(翻译至安卓官方文档) 阅读全文
posted @ 2014-04-09 11:47 kaixinkaixin0 阅读(234) 评论(0) 推荐(0) 编辑
摘要: 1、切换路径到Android SDK’stools/2、执行android list targets显示出下载的所有可用的安卓平台的列表,找到你要编译的那个平台,记下id,请选择最新的版本,当然,你也可以选择老版本,但是新版本可以使你的应用在最新的设备上达到最优化。3、执行android create project --target --name MyFirstApp \--path /MyFirstApp --activity MainActivity \--package com.example.myfirstapp其中为刚刚记下的id,为工程要保存在路径注意:要将platform-t. 阅读全文
posted @ 2014-04-09 10:10 kaixinkaixin0 阅读(222) 评论(0) 推荐(0) 编辑