Issue
I have a Genymotion device in another local PC (due to slow performance) and Android Studio in another development PC. I can connect any Genymotion device which is below API21 from my development PC (using adb connect 192.168.x.x) but any device with API21 shows offline in my development PC, though adb can connect well. In the "device choose" panel and device monitor, it shows offline
. But in the remote PC, the same device is online and workable. Why does it show online
for devices with API below 21, and offline
for API 21+.
I get the following after connecting to my remote Genymotion device. But the same device works on that remote host well. Any devices below API21 shows online
.
Solution
I think I got it right myself by trial n error.After connecting the remote genymotion device(API21),I found that there are several adb process in task manager for A SINGLE genymotion device.Then I manually stopped all "adb" process from windows task manager on remote machine (or adb kill-server command for all adb process,in my case there were more). Then using adb command I restarted and connected again the same remote device frm development machine. Somehow it is connected and shows ONLINE now and works as expected. I dont know why it happens to devices < API21. The other device >=API21 connects directly and shows online.The problem seems to be multiple adb process on remote machine for a single genymotion device of only API21.
Answered By - Tanvir
0 comments:
Post a Comment
Note: Only a member of this blog may post a comment.