I am building an app with ai2 but I have spend hours trying to get their emulator to work, so I have exported myapp.apk and I am trying to launch it on android studio emulator.
I have followed several tuto included the answer proposed by Tarek on that thread But I am getting and error on cmd.
Here is what I tried:
- run android studio as administrator, run the emulator via the AVD manager, waited until it's started.
- move myapp.apk in the sdk/platform-tools folder
- created a run.bat file in this folder and wrote CMD in it5. copy your desired apk to the same folder
- double click on run.bat and wrote:
adb install r- "myapp.apk"
Here I am getting an error on CMD: error device not found -waiting for device-
. I don't understand because my emulator is running.
I have also tried to launch the emulator without starting android studio with this command emulator -avd <avd_name> [<options>]
but I get this message "the system cannot find the file specified".