在Linux中的模拟器安装.apk文件模拟器、文件、Linux、apk

2023-09-08 08:59:18 作者:可爱猫

我想斑马线酒吧code扫描仪集成到应用程序,但我需要先安装模拟器上的酒吧code应用程序。我已经下载了.apk文件。我如何在模拟器上安装它?我跑Ububtu。

I'm trying to integrate the Zxing Bar code scanner into an application, but I need to install the bar code application on the emulator first. I already downloaded the .apk file. How do I install it on the emulator? I'm running Ububtu.

推荐答案

转到外壳/终端/,达到在Android的SDK / tools目录然后

adb install fileName.apk 
or ./adb install fileName.apk