Tencent / GameAISDK

基于图像的游戏AI自动化框架
Other
2.13k stars 449 forks source link

运行demo时,报错 “Exception: get image error” #10

Open littlesunmie opened 4 years ago

littlesunmie commented 4 years ago

详细信息: ['D:\platform-tools_r30.0.4-windows\platform-tools\adb.exe', '-s', '74f0b57f', 'shell', 'LD_LIBRARY_PATH=/data/local/tmp /data/local/tmp/cloudscreen'] [2020-08-30 23:02:10,366][phone_aiclientapi\WrappedDeviceAPI\deviceAPI\mobileDevice\android\devicePlatform\WrappedPlatform.py:52][ERROR] : Get frame failed, error code:-2 [2020-08-30 23:02:10,367][phone_aiclientapi\WrappedDeviceAPI\deviceAPI\mobileDevice\android\androidDevice.py:100][ERROR] : get image error [get image error] [2020-08-30 23:02:10,369][phone_aiclientapi\WrappedDeviceAPI\deviceAPI\mobileDevice\android\androidDevice.py:101][ERROR] : Traceback (most recent call last): File "phone_aiclientapi\WrappedDeviceAPI\deviceAPI\mobileDevice\android\androidDevice.py", line 93, in getScreen Exception: get image error

GameReg.exe显示如下: 2020-08-30 22:52:10.8810|e:\gameaisdk\src\imgproc\gamerecognize\src\main.cpp|ParseArg:58|INFO|Run SDK Model 2020-08-30 22:52:10.8830|e:\gameaisdk\src\imgproc\gamerecognize\src\taskmgr\taskmanager.cpp|CTaskManager::UpdateOneMsg:450|INFO|process refer task msg 2020-08-30 22:52:10.8880|e:\gameaisdk\src\imgproc\gamerecognize\src\taskmgr\taskmanager.cpp|CTaskManager::UpdateOneMsg:391|INFO|process group msg 2020-08-30 22:52:10.8880|e:\gameaisdk\src\imgproc\gamerecognize\src\taskmgr\taskcontext.cpp|TaskContext::CreateRecognizer:71|INFO|create fixObj reg libpng warning: sBIT: invalid

请问是什么原因呢,谢谢!

dijinzhou commented 4 years ago

adb 截图的时候抛了异常,您检查下android的系统版本是多少呢?

littlesunmie commented 4 years ago

adb 截图的时候抛了异常,您检查下android的系统版本是多少呢?

android的系统版本是9.0