• Hello [name]! Thanks for joining the GMC. Before making any posts in the Tech Support forum, can we suggest you read the forum rules? These are simple guidelines that we ask you to follow so that you can get the best help possible for your issue.

Android [SOLVED] An issue about Android testing

O

Oberon Tony TIGER

Guest
I attempted to test a project on an Android Device.
I can make it properly in GM:S, but it went wrong in GMS 2. GMS 2 told me that the device is offline.
In GMS , adb performs as:
Code:
>"C:\Users\36011\AppData\Local\Android\sdk\platform-tools\adb" get-state
device
However in GMS 2, it performs as:
Code:
>C:\Users\36011\AppData\Local\Android\sdk\platform-tools\adb -s "" get-state
error: device '' not found
I can acquire my serial number:
Code:
>"C:\Users\36011\AppData\Local\Android\sdk\platform-tools\adb" get-serialno
4c744cee
And when I checked this:
Code:
>C:\Users\36011\AppData\Local\Android\sdk\platform-tools\adb -s "4c744cee" get-state
device
It told me this device is online.

But GMS 2 ALWAYS executes:
Code:
>C:\Users\36011\AppData\Local\Android\sdk\platform-tools\adb -s "" get-state
WITHOUT SERIAL NO.

So how to deal with it? Thx:p
 
Last edited by a moderator:
Top