- start emulator
- run
adb shell wm density 160andadb reboot
- run
emulator -avd Automotive_API_33 -writable-system -no-snapshot-loadcommand to launch the emulator with writable file system.
NOTE: put the Android SDK emulator command to the environment variable Or: run this
~/Library/Android/sdk/emulator/emulator -avd Automotive_API_33 -writable-system -no-snapshot-load
- run
adb rootandadb remountcommands to remount the emulator file system
You should see
remount succeededafter executeadb remountand a#symbol when you inputadb shell
- run
adb shell mkdir /system/app/CarApp-team2to create the app directory
run the deploy-system-app.sh shell script
please add here if you meet something else
- Q: If you were told that
apksigner: command not found - A: Add a absolute path before your
apksignercommand, for me it likes:~/Library/Android/sdk/build-tools/30.0.3/apksigner sign --key platform.pk8 --cert platform.x509.pem app/build/outputs/apk/dev/debug/app-dev-debug.apk