I'm developing an app that uses a UVC Webcam and need to be able to debug while keeping the board in keyboard + mouse (USB host) mode.
I'm running the latest Android 5.1 and having a difficult time getting wifi adb to run under any IDE (tried both Eclipse with ADT and AS 1.5.1). I can access the shell using wifi adb from a terminal.
I followed the steps in this app note to create the tcipip service on port 5555 and set permissions, etc.
In eclipse when I do 'Run as' > Android Application and select the 'unknown-msm8916_for_arm64-10.9....' device, the console shows:
[2015-12-30 00:01:27 - SplashScreen] Android Launch!
[2015-12-30 00:01:27 - SplashScreen] adb is running normally.
[2015-12-30 00:01:27 - SplashScreen] Performing com.qualcomm.fastcvdemo.apis.SplashScreen activity launch
[2015-12-30 00:01:27 - SplashScreen] Automatic Target Mode: Unable to detect device compatibility. Please select a target device.
[2015-12-30 00:01:33 - SplashScreen] WARNING: Unknown device API version!
[2015-12-30 00:01:33 - SplashScreen] Uploading SplashScreen.apk onto device '10.90.227.142:5555'
[2015-12-30 00:01:39 - SplashScreen] Failed to install SplashScreen.apk on device '10.90.227.142:5555': timeout
[2015-12-30 00:01:39 - SplashScreen] Launch canceled!
Also, just a note, when boot switch 3 is set to ON (USB Host mode) the DB410c shows up as ip_address:5555 in the Android Device Chooser instead of 'unknown-msm8916...'
In Eclipse I have tried changing the 'ADB connection timeout' to 10s through Window > Preferences > Android > DDMS.
In Android Studio, the 'Device Chooser' fields are:
Compatible: No, minSdk(API 15) > deviceSdk(API 1)
Serial Number: ip_address:5555
On the board I have tried running this Wifi ADB app:
https://play.google.com/store/apps/details?id=com.ttxapps.wifiadb&hl=en on the DragonBoard
Other relevant settings:
Under Settings > Security, I have allowed installation of apps from unknown sources.
In developer options, USB debugging is enabled (even though i'm trying to bypass it).
There are two fields which are greyed out in developer options:
- Wait for debugger (off by default)
- Verify apps over USB (on by default)
I still have a few other things to try, but any tips are greatly appreciated!