- start emulator
- run
adb shell wm density 160
andadb reboot
- run
emulator -avd Automotive_API_33 -writable-system -no-snapshot-load
command 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 root
andadb remount
commands to remount the emulator file system
You should see
remount succeeded
after executeadb remount
and a#
symbol when you inputadb shell
- run
adb shell mkdir /system/app/CarApp-team2
to 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
apksigner
command, 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