Table of contents
Thunder 9 problem (Android 9.0)
Thunder 5 problem (Android 7.0)
Question 1: adb prompts adb server version(31) doesn't match this client(41)
Question 2: more than one device and emulator
Thunder 9 problem (Android 9.0)
Debug mode must be enabled (default is off)
Thunder 5 problem (Android 7.0)
Question 1: adb prompts adb server version(31) doesn't match this client(41)
Solution: Use adb.exe in the installation directory of the Thunderbolt Simulator, and find the location like this.
Question 2: more than one device and emulator
After executing adb logcat, you will get this log output, because multiple devices or emulators cannot be recognized
In fact, the port of the Thunderbolt emulator is 5555, but the emulator is another emulator-5554. This is it. We need to use adb -s to specify a device to operate. The complete command is as follows:
adb -s emulator-5554 logcat
Note: For adb here, if you have not configured environment variables, it is best to use the full path to perform adb operations, as follows:
"F:\leidian\LDPlayer4\adb.exe" -s emulator-5554 logcat
"F:\leidian\LDPlayer4\adb.exe": It needs to be changed to the absolute path of your adb.exe file. emulator-5554 is the thunderbolt emulator identifier observed through the adb devices command. Different versions of the thunderbolt emulator may Varies, my version: 5.0.36
After observation, I found that I did not set the thunderbolt emulator adb.exe in the environment variable Path. When I executed the above thunderbolt emulator to recognize the device, I directly used adb -s emulator-5554 logcat to output normally. It is best to operate the whole path.