我正在尝试运行/测试以下可以找到的Python脚本: https://android.googlesource.com/platform/packages/services/Car/+/master/tools/emulator
但是我不确定如何运行它们。我已经在Android Studio以及通过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'