AndroidCompile
Jump to navigation
Jump to search
This page is an introduction to compilation of VLC for Android on Linux.
Contents
Eclipse, SDK and NDK installation
Eclipse
As used by your distribution, install eclipse with your package manager:
apt-get install eclipse yum install eclipse pacman -S eclipse ...
And run it, at least once, and then quit.
ADT
The ADT is required.
- Go to ADT page.
- Start Eclipse, then select Help > Install New Software....
- Add the "ADT Plugin" repository with https://dl-ssl.google.com/android/eclipse/ as URL
- Validate and select the checkbox next to Developer Tools and click Next, Next, Finish.
- Restart Eclipse.
- Go to Menu > Window > Preferences... and then Android from the left pane.
- Point the SDK Location in to your downloaded SDK directory.
- Ok, and quit Eclipse.
Android SDK
- Create a working directory android.
- Go to Android SDK page and download android-sdk_r10-linux_x86.tgz.
- Decompress into android folder.
- Run tools/android.
- In the tool, install "SDK Platform Android 2.3, API 10", and use follow the instructions.
You can have more details, if needed.
Android NDK
- Check that the SDK installation is correct.
- Go to Android NDK page.
- Download http://dl.google.com/android/ndk/android-ndk-r5b-linux-x86.tar.bz2.
- Decompress into android folder, next to your android-sdk-linux_x86 folder.
- Profit.
Get VLC Source
Use the VLC git repository to get the source!
git clone git://git.videolan.org/vlc/vlc-android.git