`
isiqi
  • 浏览: 16041575 次
  • 性别: Icon_minigender_1
  • 来自: 济南
社区版块
存档分类
最新评论

如何在Android emulator上安装 APK

 
阅读更多

1. 首先在设置 Settings->Applications->Unknown Sources Checkbox 选中,表示允许从非Android Market渠道安装应用。

2. 在系统环境变量中增加SDK_ROOT,将其指向 Android SDK 安装目录下的tools 目录.

3. 启动 Emulator ,可以使用adb devices 看看PC是否与Emulator链接。 adb 在Android SDK 安装目录下的platform-tools子目录下。

List of devices attached
emulator-5554 device

4. 将需要安装的.apk 靠到 tools目录下, 在命令行下,将当前目录转到tools

adb install your_application.apk

比如安装 Google voice search (若下载后文件后缀为 .zip将其该为.apk)


C:\eclipse\androidsdk\tools>adb install VoiceSearch_2.1.apk
161 KB/s (442329 bytes in 2.667s)
pkg: /data/local/tmp/VoiceSearch_2.1.apk
Success

5. 成功后可以在模拟器的Launcher中显示安装后的应用图标。

  

分享到:
评论

相关推荐

    android emulator using command line

    how to install or uninstall apk to or from android emulator

    android terminal emulator.apk.zip

    android终端模拟器,打开软件后可以直接输入adb命令,在android5.1.1系统上实测好使。其他系统下没有测试

    ARCore_1.10_x86_for_emulator.apk

    android studio 模拟器开发AR应用必装的apk

    Android代码-emulator

    emulator Allows you to emulate an Android ARM32 and/or ARM64 native library. This is an educational project to learn more about the ELF file format and ARM assembly. Usage VM options: -Djava.library....

    Android 模拟器永久root工具

    (android for img.rar、Android SU文件更新包.zip、RootExplorer.apkSuperuser.apk) 1、用android for img.rar里的android for img.exe打开 E:\SDK\platforms\android-8\images\system.img,进入app文件夹, 添加...

    Android Terminal Emulator

    一个android terminal emulator apk的source code

    安卓终端模拟器 Android shell APK

    This is the final version that includes support for Android 1.5 "Cupcake": Term-1.0.65.apk Note: This application used to be named "Android Terminal Emulator". This is the same app, but with a new ...

    Magic Android Apps Better Terminal Emulator Pro v3.37.apk

    超级终端专业版Magic Android Apps Better Terminal Emulator Pro v3.37.

    在Android 模拟器上安装和卸载APK包的方法

    可以在 Android SDK 的安装目录下的 tools 文件夹找到运行文件(F:GPhoneandroid-sdk-windows-1.0_r1 ools),双击运行模拟器。 安装 APK 包 adb install [-l] [-r] – push this package file to the device and ...

    Android SDK中tools详解.doc

    Android调试桥(Android Debug Bridge (adb) )Adb 工具可以让你在模拟器或设备上安装应用程序的.apk文件,并从命令行访问模拟器或设备。你也可以用它把Android模拟器或设备上的应用程序代码和一个标准的调试器连接...

    Development.apk(Android Dev Tools)

    Android 键盘/Android 系统/API Domes/Certificate Installer(证书安装)/com.android.gestuer.builder()/com.android.sdksetup()/Custom Locale()/Dev Tools(开发工具)/Example Wallpapers(墙纸式样)/HTML查看器/...

    jackpal.androidterm_70.apk

    + 在版本低于 5.0 的 Android 系统上安装该应用,如果出现 -505 错误,表示其他应用正在使用同样的权限。为了成功安装本应用,请先卸载这些应用。(有用户反馈称,导致该问题的原因是 jrummy's Toolbox Pro。) 想...

    Better Terminal Emulator Pro

    Better Terminal Emulator Pro是一款android下非常棒的超级终端软件,不需要root权限,适用于1.6以上的rom,支持SSH/Telnet,也是学习Linux命令的好android软件。

    Android代码-AndroidProxySetter

    This app now works on Android Emulators and Genymotion Emulators on Android Marshmallow 6.0 if you build/install the emulator build variant or APK. The emulator variant is signed with the Android ...

    Android 模拟器(emulator-5554...)出现错误解决办法

    主要介绍了Android 模拟器出现错误解决办法的相关资料,如:Unable to get view server version from device,Failed to install helloworld.apk on device 'emulator-5554': timeout,这种常见错误,解决办法,需要...

    新版Android开发教程.rar

    的 Android SDK 提供了在 Android 平台上使用 JaVa 语言进行 Android 应用开发必须的工具和 API 接口。 特性 • 应用程序框架 支持组件的重用与替换 • Dalvik Dalvik Dalvik Dalvik 虚拟机 专为移动设备优化 • ...

    android adb shell 命令大全

    emulator -avd 名称 -sdcard ~/名称.img (-skin 1280x800) 5. 删除AVD(模拟器): android delete avd --name 名称 6. 创建SDCard: mksdcard 1024M ~/名称.img 7. AVD(模拟器)所在位置: Linux(~/....

    Android代码-Andronary

    Starting emulator : mvn android:emulator-start -Dandroid.emulator.avd= -Dandroid.emulator.wait=10000 Stopping emulator : mvn android:emulator-stop Starting application: mvn android:deploy -- Roy ...

    Terminal Emulato.apk

    Terminal Emulato高级管理工具

    SuperSU-v2.8.2.zip

    $ cd /Users/lfy/Library/Android/sdk/emulator/ #查看avd列表 $ ./emulator -list-avds #我这里只有这一个 Pixel_XL_API_23 开启模拟器 $ ./emulator -avd Pixel_XL_API_23 -writable-system #回车后会有一条警告,...

Global site tag (gtag.js) - Google Analytics