Skip to content

gaberogan/AndroidAutoExample

 
 

Repository files navigation

AndroidAutoExample

Run yarn

Install Android Auto DHU, see guide: https://developer.android.com/training/cars/testing#test-auto

Run Android Auto DHU from your android SDK folder (open Android Studio SDK manager to see location)

e.g. /Users/gabe/Library/Android/sdk/extras/google/auto/desktop-head-unit --usb

Go to the settings on the Android Auto DHU, at the bottom click "See more in the phone app". Scroll to the bottom, where you'll see a version number. Tap it a bunch until you enable Developer mode. Then go to the "..." menu on the top right and click "Developer settings". Then scroll down until you find "Unknown sources". Enable that option.

Connect a physical Android device to your computer, make sure USB Debugging is enabled first

Run npx react-native start in the root folder of this project to start the Metro JS bundler

Run adb reverse tcp:8081 tcp:8081 to expose Metro on port 8081 to the device

Run the app on the device

About

Android Auto Example app

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Java 37.2%
  • JavaScript 28.1%
  • Objective-C 26.4%
  • Ruby 4.8%
  • Starlark 3.5%