我尝试按照这些步骤操作(来自这里):
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是我的模拟器名称)时,它只显示:
My-MacBook-Pro:tools myName$ ./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
,我应该在哪里调用它?