Skip to content

Petroula/Android-Car-duino

Repository files navigation

ANDROID CAR DUINO

Project overview

The world's first Autonomous android vehicle

Alt text

###Related repos: Autodrive

Building

###1. Get the android sdk

Either bundled with your IDE or downloaded from here

See \app\build.gradle for version information (subject to change).

###2. Download and extract the openCV for android sdk: Download link

###3. Download the Android-NDK Download link

##4. Set paths in the local.properties file

  • If you are using gradle from command line or terminal, you have to create the file manually.

  • If you are using android studio, first import the project, then add the ndk dir to the created file.

The local.properties file should contain the following lines, and must NOT be added to git:

sdk.dir= **ANDROID SDK DIR**
ndk.dir= **ANDROID NDK DIR**
opencv.dir= **OPENCV ANDROID SDK DIR**

Windows file separators ('') and drive letter separators (':') must be escaped ('\\') .The following is an example:

sdk.dir=F\:\\Java\\Android\\android-sdk
ndk.dir=F\:\\Java\\Android\\android-ndk-r10d
opencv.dir = F\:\\OpenCV\\OpenCV-android-sdk

##5. If you are not using Android Studio

Option1 building from terminal/cmd (Recommended)

Run gradlew, or gradlew.bat (from cmd) if using windows.

It will automatically download and extract gradle for you.

You can then run:

gradlew build

To build the APK's, they are generated to \app\build\outputs

Option2 Import the gradle project to your IDE

About

Android + Car + Arduino

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published