Skip to content

CarOS-Android/CarApp-team2

Repository files navigation

Automotive training - team2 CarApp

How to deploy our app as a system application

change emulator density

  1. start emulator
  2. run adb shell wm density 160 and adb reboot

init setup

  1. 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

  1. run adb root and adb remount commands to remount the emulator file system

You should see remount succeeded after execute adb remount and a # symbol when you input adb shell

  1. run adb shell mkdir /system/app/CarApp-team2 to create the app directory

during development

run the deploy-system-app.sh shell script

Troubleshooting

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

Docs

WIKI

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published