Difference between revisions of "AndroidCompile"

From VideoLAN Wiki
Jump to navigation Jump to search
Line 8: Line 8:
 
  apt-get install eclipse
 
  apt-get install eclipse
 
  yum install eclipse
 
  yum install eclipse
  packman -S eclipse
+
  pacman -S eclipse
 
  ...
 
  ...
  

Revision as of 21:05, 27 April 2011

This page is an introduction to compilation of VLC for Android on Linux.

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.

  1. Go to ADT page.

Android SDK

  1. Create a working directory android.
  2. Go to Android SDK page and download android-sdk_r10-linux_x86.tgz.
  3. Decompress into android folder.
  4. Run tools/android.
  5. 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

  1. Check that the SDK installation is correct.
  2. Go to Android NDK page.
  3. Download http://dl.google.com/android/ndk/android-ndk-r5b-linux-x86.tar.bz2.
  4. Decompress into android folder, next to your android-sdk-linux_x86 folder.
  5. Profit.


Get VLC Source

Use the VLC git repository to get the source!

git clone git://git.videolan.org/vlc/vlc-android.git