gpt4 book ai didi

android - 在 Mac OS 上的 android 模拟器上安装 apk

转载 作者:IT老高 更新时间:2023-10-28 23:27:14 26 4
gpt4 key购买 nike

我尝试按照这些步骤(来自 here):

go to sdk folder, then go to tools.
copy your apk file inside the tool directory
./emulator -avd myEmulator
to run the emulator on mac
./adb install myApp.apk
to install app on the emulator

但是当我运行“./emulator -avd phoneEmulator”时(phoneEmulator 是我的模拟器的名称)它只是显示:

Phil-Knights-MacBook-Pro:tools philiplknight$ ./emulator -avd phoneEmulator
2012-07-30 22:44:33.377 emulator-arm[2859:80b] Warning once: This application, or a
library it uses, is using NSQuickDrawView, which has been deprecated.
Apps should cease use of QuickDraw and move to Quartz.

就好像那个命令永远不会返回一样。

如果我无法在该窗口中输入第二个命令 ./adb install myApp.apk,我应该在哪里调用它?

最佳答案

  1. 打开终端
  2. 转到 android-sdk-mac\platform-tools
  3. 输入 ./adb install myApp.apk

关于android - 在 Mac OS 上的 android 模拟器上安装 apk,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/11732467/

26 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com