Ctrl+F11旋转模拟器
$android sdk

/home/cyper/android/android-sdk-linux/tools
$ android avd(打开AVD Manager)

$android list avd/targets

$android create avd -n hello -t 1 (创建AVD)
Auto-selecting single ABI armeabi-v7a
Android 4.4.2 is a basic Android platform.
(-n指定avd的名称,-t指定target level,可以通过android list targets来显示目前有哪些api level)

/home/cyper/android/android-sdk-linux/platform-tools
$ adb install xx.apk(直接安装apk包到emulator或device)


存储不够,安装apk报错:Installation error: INSTALL_FAILED_INSUFFICIENT_STORAGE
解决办法:
打开配置文件直接改参数:
/home/cyper/.android/avd/kitten.avd
在最后加上

disk.dataPartition.size=1024MB
详见:
http://stackoverflow.com/questions/2239330/how-to-increase-storage-for-android-emulator-install-failed-insufficient-stora

更多相关文章

  1. Android(安卓)监听手机GPS打开状态实现代码
  2. android studio 3.0 修改release生成的apk名称
  3. Android在程序中打开网页
  4. Android连接网络问题
  5. android sdk安装 来之官方
  6. android版本自动检测更新 版本检测 自动更新 自动安装
  7. 有感于android安装的简单
  8. 有感于android安装的简单
  9. Android是否可以实现静默安装模式

随机推荐

  1. android上消息推送的实现
  2. TableLayout中stretchColumns、shrinkCol
  3. android ListView分页加载
  4. 社区开放任务指南-3209-HTML5在Android上
  5. Android中TextView的内容展示不全的问题
  6. 使用QtCreator加速Android(安卓)NDK开发
  7. Android在开发中的实用技巧之Parcelable
  8. [转]近百个Android优秀开源项目,覆盖Andro
  9. Android(安卓)SQLite教程:内部架构及SQLit
  10. Android Battery 开发(二)