Sunday, September 16, 2012

Additional Info to VLC Android Compile Setup

These are additional notes while trying to setup the VLC android project following this guide: http://wiki.videolan.org/AndroidCompile

Requirement:
- A JDK must also be installed. (Otherwise will get JAVAC path error)
  apt-get install openjdk-6-jdk
(If you have been developing for android, you should not missed this as it's a requirement for Android SDK. I setup everything from scratch)

Android SDK:
Correction to
"In the tool, install "SDK Platform Android 4.0, API 15", and follow the instructions."
 4.0 is API 14. 

Compile:
- Compiling with ANT works perfect and resolve all dependencies.

Building in Eclipse required additional steps:
- Create a project for the sources in ../java-libs/ActionBarSherlock
- Create a project for the sources in ../java-libs/SlidingMenu

Didn't check but the sources for the libs should be downloaded as part of the ANT build.

The package explorer should appear like this:


The VLC project property > android > library should show the projects




No comments: