我正在尝试运行/测试这些可以在这里找到的Python脚本: https://android.googlesource.com/platform/packages/services/Car/+/master/tools/emulator
但我不知道如何运行它们。我已经在androidstudio上安装了仿真器,也通过adb
在我的Android设备上安装了仿真器,但是我似乎无法运行测试脚本。有人能解释/帮助我如何运行这些脚本吗?你知道吗
尝试通过模拟器在android studio上运行 尝试通过Adb连接到android设备
我相信这是运行vhal_emulator_test.py
的主脚本
Connecting local port 46495 to remote port 33452 on default device
Traceback (most recent call last):
File "./vhal_emulator_test.py", line 370, in <module>
v = VhalTest(vhal_consts_2_0.vhal_types_2_0)
File "./vhal_emulator_test.py", line 364, in __init__
self._vhal = vhal_emulator.Vhal(types)
File "/home/maasif/Desktop/Builds/Automotive/packages/services/Car/tools/emulator/vhal_emulator.py", line 268, in __init__
for cfg in msg.config:
AttributeError: 'NoneType' object has no attribute 'config'
目前没有回答
相关问题 更多 >
编程相关推荐