Page 1 of 1
Android Physical Device & Emulator Testing Swap
Posted: Sun Mar 28, 2021 2:52 pm
by JereMiami
I usually (always) test on a physical device. I thought to try an emulator to see if that would be a faster build (it is not). I find myself not having an option to test on that physical device anymore on the "Test Target" drop down item. Anyone know where that that option went? How do I get my physical device as an option back?
Re: Android Physical Device & Emulator Testing Swap
Posted: Sun Mar 28, 2021 2:55 pm
by JereMiami
Never mind. I just deleted the emulator and it went back to recognizing the physical device. But is it possible to choose between the two without having to add/delete emulators?
Re: Android Physical Device & Emulator Testing Swap
Posted: Sun Mar 28, 2021 5:34 pm
by jacque
Try closing the emulator window and /or quitting it. Then plug in the device. If LC still doesn't see it, restart LC.
Sometimes the problem is with adb. In that case, open a terminal window while the device is cabled to the computer and cd to Android SDK/ platform-tools. Then issue these commands:
adb kill-server
adb start-server
adb devices
You should see the ID number of your device, which means adb has successfully recognized it. If LC hasn't noticed the change, restart LC while the device is still attached.
If you're on a Mac, you need to use ". /adb" instead of just "adb" in the commands.