如何部署的Andr​​oid应用程序与仿真器一样WP7的应用程序部署 [英] How to deploy the android application to emulator like Application Deployment of WP7

查看:209
本文介绍了如何部署的Andr​​oid应用程序与仿真器一样WP7的应用程序部署的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我已经使用Eclipse开发出的Hello World Android应用程序。我可以通过这次日食运行Android模拟器中的应用。但我想在不打开的Eclipse(如WP7 XAP文件是通过应用程序部署的软件,而无需打开的VisualStudio运行),运行使用Android模拟器的APK文件。如何做到这一点?

I have developed the Hello World Android application using Eclipse. I can run the application in the android emulator through this eclipse. But i want to run the apk files using Android emulator without opening the Eclipse(like WP7 xap files are running through Application Deployment Software without opening the VisualStudio). How to do this?

推荐答案

我用下面的过程。

程序运行在Android模拟器中的apk文件,而无需打开Eclipse的:


  1. 检查您的安装目录(例如:C:\\ Program Files文件(x86)的\\ Android的\\ Android的SDK \\工具),它是否有adb.exe与否)。
    如果没有这个文件夹中的present,那么这里下载附件 ,解压缩zip文件。你会得到亚行的文件,复制和这三个文件粘贴工具文件夹内

  1. Check your installed directory(ex: C:\Program Files (x86)\Android\android-sdk\tools), whether it has the adb.exe or not). If not present in this folder, then download the attachment here, extract the zip files. You will get adb files, copy and paste those three files inside tools folder

运行AVD经理从C:\\ Program Files文件(x86)的\\ Android的\\ Android的SDK,并启动Android模拟器

Run AVD manager from C:\Program Files (x86)\Android\android-sdk and start the Android Emulator.

的C里面的apk文件复制并粘贴:\\ Program Files文件(x86)的\\ Android的\\ Android的SDK \\工具

Copy and paste the apk file inside the C:\Program Files (x86)\Android\android-sdk\tools

转到开始 - >运行 - > CMD

键入cdC:\\ Program Files文件(x86)的\\ Android的\\ Android的SDK \\工具

Type cd "C:\Program Files (x86)\Android\android-sdk\tools"

键入亚行安装example.apk

获得后的成功命令

转到Android模拟器应用程序图标,我们可以看到您的应用程序

Go to Application icon in Android emulator, we can see the your application

感谢您。

这篇关于如何部署的Andr​​oid应用程序与仿真器一样WP7的应用程序部署的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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