android 初体验(0)

来源:互联网 发布:新疆教师网络平台登录 编辑:程序博客网 时间:2024/05/17 16:44

在ubuntu14.04的eclipse中刚开始写android的hello world就遇到个问题。
run as android application时系统提示:

No compatible targets were found. Do you wish to add new Android Virtual Device?

google了一下,网上有很多windows下的解决方法,在linux下也差不多。


  1. 打开终端进入android-sdk-xxx的tools目录中
  2. ./android create avd –t 2 –n your_name

your_name名字自己取,随意
和windows不同的就是前面的./,不添加终端找不到命令

0 0
原创粉丝点击