如何运行android中apk文件 [英] how to run apk file in android
本文介绍了如何运行android中apk文件的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我尝试运行android的apk文件,我弗洛这些步骤
- 首先获得Android SDK和地方它解压到硬盘上
- 添加SDK_ROOT到SDK下指向/ tools文件夹系统变量
- 运行模拟器
- 复制apk文件到/ tools文件夹
- 更改目录为/工具和命令行从亚洲开发银行$运行安装your_application.apk
- 现在,检查应用程序列表中的模拟器,你应该看到新安装的应用程序,并准备好了。
但我这种类型的错误:
'亚'不是内部或外部命令,
可运行的程序或批处理文件。
解决方案
我觉得你没有设置适当的环境变量。
在Windows的添加到PATH变量adb.bat的路径...
然后从命令提示符。键入亚行和检查.....现在它的工作原理...
I try to run apk file in android, i follo these steps
- First get the Android SDK and unzip it somewhere on your hard drive
- Add SDK_ROOT to your system variables pointing to /tools folder under the sdk
- Run the emulator
- Copy the apk file to /tools folder
- Change directory to /tools and run from commandline $adb install your_application.apk
- 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屋!
查看全文