安装从命令提示符下一个apk文件? [英] Install an apk file from command prompt?

查看:152
本文介绍了安装从命令提示符下一个apk文件?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我要安装使用Windows命令行的文件。首先,我想建立编译所有的.jar文件来创建一个Android应用程序的apk文件文件,而无需使用Eclipse之后。

I want to install a file using the windows command line. First I want to build after compiling all the .jar files to create an .apk file for an android application without using Eclipse.

有谁知道如何可以在不使用eclipse和放大器来完成;只有通过使用命令行。

Does anyone know how this can be done without the use of eclipse & only by making use of command line.

推荐答案

您可以使用下面的code安装命令行应用程序

You can use the code below to install application from command line

adb install example.apk

此的apk安装在当前打开的仿真器的内部存储器中。

this apk is installed in the internal memory of current opened emulator.

adb install -s example.apk

这APK安装在SD卡目前开通仿真器。

this apk is installed in the sd-card of current opened emulator.

也可以参考 亚行帮助 其他的选择。

Refer also to adb help for other options.

这篇关于安装从命令提示符下一个apk文件?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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