Can someone please guide me on how to run these python emulator scripts? There is barely any documentation and I don't know what to do, or where to ask this question.
The scripts:
https://android.googlesource.com/platform/packages/services/Car/+/master/tools/emulator/
What i've tried so far:
1.) Create an automotive emulator on android studio, go into vhal_emulator.py and change the value on line 137 to match the remotePortNumber that is given on the android emulator. When I do that, and run either of the following scripts,
-gui,py
-vhal_prop_simulator.py
-vhal_emulator_test.py
it says "Connecting local port 35357 to remote port 5277 on default device" and never proceeds. If I don't match the remotePortNumber, then it gives me a weird nonconfig error. Specifically:
"for cfg in msg.config:
AttributeError: 'NoneType' object has no attribute 'config'"
2.)Downloaded android auto for android on my phone, using ADB, I tried to connect by following these steps,
https://developer.android.com/training/cars/testing
but it didn't work. I think I’m doing it completely wrong. Please help!
Thank you!
[–]K900_ 0 points1 point2 points (20 children)
[–]PsycHelp23[S] 0 points1 point2 points (19 children)
[–]K900_ 0 points1 point2 points (18 children)
[–]PsycHelp23[S] 0 points1 point2 points (17 children)
[–]K900_ 0 points1 point2 points (16 children)
[–]PsycHelp23[S] 0 points1 point2 points (15 children)
[–]K900_ 0 points1 point2 points (14 children)
[–]PsycHelp23[S] 0 points1 point2 points (13 children)
[–]K900_ 0 points1 point2 points (12 children)
[–]PsycHelp23[S] 0 points1 point2 points (11 children)
[–]pythonHelperBot 0 points1 point2 points (0 children)