Chinaunix首页 | 论坛 | 博客
  • 博客访问: 2091922
  • 博文数量: 229
  • 博客积分: 7217
  • 博客等级: 上校
  • 技术积分: 3224
  • 用 户 组: 普通用户
  • 注册时间: 2009-02-19 17:23
个人简介

个人主页https://xugaoxiang.com,微信公众号: Dev_Club 或者搜索 程序员Club

文章分类

全部博文(229)

文章存档

2017年(1)

2016年(20)

2015年(23)

2013年(1)

2012年(23)

2011年(68)

2010年(62)

2009年(31)

分类: LINUX

2010-04-08 14:20:30

Firstly,I'll introduce a web site where has a lot of APK(Android PacKages) files.


Take Disney-Wallpapers apk from as an example to show how to install on emulator...

1、Run the Android emulator

2、Copy the apk file to your $SDK_ROOT/tools,mine is /home/djstava/Workshop/android-sdk-linux_86

3、Enter the directory $SDK_ROOT/tools,and run the following command to install the apk file
    cd /home/djstava/Workshop/android-sdk-linux_86/tools
    ./adb install Disney_Wallpapers.apk


4、In this case,shutdown the abd server and restart manually
    ./adb kill-server
    ./adb start-server

5、Reinstall the apk
    ./adb install Disney_Wallpapers.apk

6、Check on the emulator

7、Uninstall the app
    cd /home/djstava/Workshop/android-sdk-linux_86/tools
    ./adb shell


    cd data
    cd app
    rm *.apk
   

djstava
阅读(1668) | 评论(0) | 转发(0) |
给主人留下些什么吧!~~