Difference between revisions of "AndroidCompile"

From VideoLAN Wiki
Jump to navigation Jump to search
Line 15: Line 15:
 
=== Android SDK ===
 
=== Android SDK ===
  
Create a working directory ''android''.
+
# Create a working directory ''android''.
 
+
# Go to [http://developer.android.com/sdk/index.html Android SDK page] and download android-sdk_r10-linux_x86.tgz.
Go to [http://developer.android.com/sdk/index.html Android SDK page] and download android-sdk_r10-linux_x86.tgz.
+
# Decompress into ''android'' folder.
 
+
# Run ''tools/android''.
Decompress into ''android'' folder , and run ''tools/android''.
+
# In the tool, install '''"SDK Platform Android 2.3, API 10"''', and use follow the instructions.
 
 
In the tool, install "SDK Platform Android 2.3, API 10", and use follow the instructions.
 
  
 
You can have [http://developer.android.com/sdk/installing.html more details], if needed.
 
You can have [http://developer.android.com/sdk/installing.html more details], if needed.

Revision as of 21:00, 27 April 2011

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

SDK and NDK installation

Eclipse

As used by your distribution, install eclipse with your package manager:

apt-get install eclipse

And run it, at least once, and then quit.

ADT

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

Go to Android NDK page and 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.