Deploying to Android from Linux
merakosp at gmail.com
Tue Jul 3 12:02:40 EDT 2018
Spent some time on this today, so I post it here in case anyone sees the
I wanted to deploy to my Android device from Linux. My device was shown as
"Android ???????" in the "Test Target" menu. I ignored this and chose it
and clicked Test.
The S/B was stuck to the "Installing app to device" dialog.
I used "adb logcat" in the terminal and instead of seeing the log from my
device there was just a "Insufficient permissions" message.
I tried several suggestions from the web, including killing and restarting
the adb server with sudo, but this did not work.
What finally worked was:
1. disable USB debugging in the device
2. Choose to use the device for "File Transfers" <—— THIS IS THE CRUCIAL
3. enable USB debugging again
Before that, I had tried steps 1+3 only, which did not fix the problem.
After doing all steps 1-3, my device was correctly shown in the Test Target
menu ("Android FA034GT5654376" instead of "Android ????????"), the adb
logcat command was showing logs from my device and I was able to install
the app in the device.
More information about the Use-livecode