在Android模拟器上运行的apk [英] Run apk on android emulator

查看:227
本文介绍了在Android模拟器上运行的apk的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我想在Android模拟器运行APK,我跟着下面的步骤:

I want to run APK on android emulator and I followed next steps:

  1. 复制APK于平台的工具目录
  2. 运行CMD.EXE作为管理员
  3. 导航到该平台工具目录
  4. 从AVD管理运行模拟器
  5. 在命令行中输入ADB设备(它显示我的列表模拟器)
  6. 在我进入命令行,亚行英索尔name.apk在这之后我得到的消息如​​下:

我发现这个<一href="http://stackoverflow.com/questions/3480201/how-do-you-install-an-apk-file-in-the-android-emulator">link如何在模拟器上运行APK。与其他教程还展示它是如何工作。如果当我们几秒钟的命令行输入后,亚行安​​装显示成功的消息,但在我的情况下,命令行显示此日志。

I found this link how to run APK on emulator. And other tutorial also show how it works. In case when we entered adb install after few seconds command line shows Success message but in my case command line shows this log.

推荐答案

假设你已经有了模拟器中运行请按照下列步骤操作:

Assuming you already have the Emulator running follow these steps:

  • 找到您的 adb.exe 文件在你的Andr​​oid SDK folde.In视窗 环境通常需要您的 adb.exe 里面 [Android的SDK文件夹] /平台工具/ 。就我而言,在 adb.exe C:\ Android的JUNO \ Android的SDK \平台工具
  • 将其放在您的 [Android的SDK文件夹] /平台工具/ 作为波纹管图:

  • Locate your adb.exe file in your Android SDK folde.In Windows environment normally your adb.exe is inside [Android-SDK-folder]/platform-tools/. In my case, the adb.exe is in C:\android-juno\android-sdk\platform-tools.
  • Put it inside your [Android-SDK-folder]/platform-tools/ as bellow figure:

在命令行,走平台工具folder.Execute命令里面的:

In the command line, go inside the platform-tools folder.Execute command:

ADB安装Peribahasa.apk

adb install Peribahasa.apk

之后,你只需要安装应用程序会在模拟器。

Later, the apps you just install will be in the emulator.

这篇关于在Android模拟器上运行的apk的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆