Exception has occurred: TypeError
can only concatenate str (not "NoneType") to str
File "D:\NTU\TAAD-Project\TestDragon\rootPortable\DUT\CnMAndroidForum\tMAndroid.py", line 2507, in launch
os.system("adb -s "+self.deviceSerialNum+" shell am start "+apkName+"/"+fstActivity)
File "D:\NTU\TAAD-Project\TestDragon\rootPortable\DUT\CnMAndroidForum\tMAndroid.py", line 1463, in getDevice
self.launch()
File "D:\NTU\TAAD-Project\TestDragon\rootPortable\DUT\CnMAndroidForum\tMAndroid.py", line 1334, in __init__
self.getDevice() # implicit initial dumpPng here.
File "C:\Users\farn\Documents\prgm\TestDragon\Server\clientDownloads\TestDragonbernie6401@gmail.com\TestDragonPlayGround\src\CnTestingTask.pyx", line 29784, in __init__
File "C:\Users\farn\Documents\prgm\TestDragon\Server\clientDownloads\TestDragonbernie6401@gmail.com\TestDragonPlayGround\src\CnTestingTask.pyx", line 39759, in __init__
File "C:\Users\farn\Documents\prgm\TestDragon\Server\clientDownloads\TestDragonbernie6401@gmail.com\TestDragonPlayGround\src\CnTestingTask.pyx", line 33578, in startMegaTBot
TypeError: can only concatenate str (not "NoneType") to str
And the part of the console message is as below:
Console Message
```bash
...
dispaly size width caught: 1080
dispaly size height caught: 2400
>> display size: 1080 x 2400
Trying to unlock the screen of device: M4AIB761L5788D8
>> unlock screen state: 0
screen State: ON_UNLOCKED
Getting the package attribute of the home screen.
UI hierchary dumped to: /storage/emulated/0/uidump.xml
xmlPath of home.xml: d:\NTU\TAAD-Project\TestDragon\rootPortable\TestDragonPlayGround\home.xml
adbcmd: adb -s M4AIB761L5788D8 pull /storage/emulated/0/uidump.xml d:\NTU\TAAD-Project\TestDragon\rootPortable\TestDragonPlayGround\home.xml
/storage/emulated/0/uidump.xml: 1 file pulled, 0 skipped. 5.2 MB/s (17081 bytes in 0.003s)
adb.exe: more than one device/emulator
Re-install the APK if the versionNum is incorrect or didn't install before.
Already installed APK! Good! Let us do it!
```
The whole error message is as below:
And the part of the console message is as below:
Console Message
```bash ... dispaly size width caught: 1080 dispaly size height caught: 2400 >> display size: 1080 x 2400 Trying to unlock the screen of device: M4AIB761L5788D8 >> unlock screen state: 0 screen State: ON_UNLOCKED Getting the package attribute of the home screen. UI hierchary dumped to: /storage/emulated/0/uidump.xml xmlPath of home.xml: d:\NTU\TAAD-Project\TestDragon\rootPortable\TestDragonPlayGround\home.xml adbcmd: adb -s M4AIB761L5788D8 pull /storage/emulated/0/uidump.xml d:\NTU\TAAD-Project\TestDragon\rootPortable\TestDragonPlayGround\home.xml /storage/emulated/0/uidump.xml: 1 file pulled, 0 skipped. 5.2 MB/s (17081 bytes in 0.003s) adb.exe: more than one device/emulator Re-install the APK if the versionNum is incorrect or didn't install before. Already installed APK! Good! Let us do it! ```