如何运行android中apk文件 [英] how to run apk file in android

查看:186
本文介绍了如何运行android中apk文件的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我尝试运行android的apk文件,我弗洛这些步骤


  1. 首先获得Android SDK和地方它解压到硬盘上

  2. 添加SDK_R​​OOT到SDK下指向/ tools文件夹系统变量

  3. 运行模拟器

  4. 复制apk文件到/ tools文件夹

  5. 更改目录为/工具和命令行从亚洲开发银行$运行安装your_application.apk

  6. 现在,检查应用程序列表中的模拟器,你应该看到新安装的应用程序,并准备好了。

但我这种类型的错误:

 '亚'不是内部或外部命令,
可运行的程序或批处理文件。


解决方案

我觉得你没有设置适当的环境变量。

在Windows的添加到PATH变量adb.bat的路径...

然后从命令提示符。键入亚行和检查.....现在它的工作原理...

I try to run apk file in android, i follo these steps

  1. First get the Android SDK and unzip it somewhere on your hard drive
  2. Add SDK_ROOT to your system variables pointing to /tools folder under the sdk
  3. Run the emulator
  4. Copy the apk file to /tools folder
  5. Change directory to /tools and run from commandline $adb install your_application.apk
  6. Now check applications list in the emulator and you should see the new application installed and ready.

but i will this type of error :

'adb' is not recognized as an internal or external command,
operable program or batch file.

解决方案

i think you dont have set proper environment variable .

add path of adb.bat to PATH variable in windows ...

then from command prompt . type adb and check ..... now it works...

这篇关于如何运行android中apk文件的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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