- Ruby 2.6.5+
- Bundler 2.3.19+
- Install ruby & bundler
brew install ruby gem install bundler
- Setup project
go to project root dir, run this command in your terminal.
./scripts/setup.sh
- run
emulator -avd Automotive_API_33 -writable-systemcommand to launch the emulator with writable file system.
NOTE: put the Android SDK emulator command to the environment variable
- run
adb rootandadb remountcommands to remount the emulator file system - run
adb shell mkdir /system/app/CarApp-team1to create the app directory
run the deploy-system-app.sh shell script
- option1 set
hw.lcd.density=160 that in /Users/{Username}/.android/avd/Automotive_API_33.avd/config.ini - option2 run
adb shell wm density 160 - according to the px value provided by figma, use 1:1 dp
Copyright 2022 Thoughtworks, Inc.
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.