<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://wiki.videolan.org/api.php?action=feedcontributions&amp;feedformat=atom&amp;user=Adridu59</id>
	<title>VideoLAN Wiki - User contributions [en]</title>
	<link rel="self" type="application/atom+xml" href="https://wiki.videolan.org/api.php?action=feedcontributions&amp;feedformat=atom&amp;user=Adridu59"/>
	<link rel="alternate" type="text/html" href="https://wiki.videolan.org/Special:Contributions/Adridu59/"/>
	<updated>2026-11-04T18:23:00Z</updated>
	<subtitle>User contributions</subtitle>
	<generator>MediaWiki 1.43.11</generator>
	<entry>
		<id>https://wiki.videolan.org/index.php?title=AndroidCompile&amp;diff=22757</id>
		<title>AndroidCompile</title>
		<link rel="alternate" type="text/html" href="https://wiki.videolan.org/index.php?title=AndroidCompile&amp;diff=22757"/>
		<updated>2012-06-26T09:12:44Z</updated>

		<summary type="html">&lt;p&gt;Adridu59: /* Building */  Update build instructions + various + cosmetics&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;This page is an introduction to the compilation of &#039;&#039;&#039;VLC for Android&#039;&#039;&#039; on Linux. &lt;br /&gt;
&lt;br /&gt;
==Eclipse, SDK and NDK installation==&lt;br /&gt;
&lt;br /&gt;
=== Requirements  ===&lt;br /&gt;
* You &#039;&#039;&#039;MUST&#039;&#039;&#039; be on Linux, and a recent one.&lt;br /&gt;
* You &#039;&#039;&#039;MUST&#039;&#039;&#039; have installed: &#039;&#039;apache-ant&#039;&#039; (or &#039;&#039;ant&#039;&#039;), &#039;&#039;autoconf&#039;&#039;, &#039;&#039;automake&#039;&#039;, &#039;&#039;autopoint&#039;&#039;, &#039;&#039;libtool&#039;&#039;, &#039;&#039;gawk&#039;&#039; (or &#039;&#039;nawk&#039;&#039;), &#039;&#039;gcc&#039;&#039;, &#039;&#039;g++&#039;&#039;, &#039;&#039;pkg-config&#039;&#039;, &#039;&#039;cmake&#039;&#039;, &#039;&#039;patch&#039;&#039;, &#039;&#039;subversion&#039;&#039;, and very up-to-date versions of those tools.&lt;br /&gt;
* You &#039;&#039;&#039;MUST&#039;&#039;&#039; install: &#039;&#039;git&#039;&#039;.&lt;br /&gt;
&lt;br /&gt;
===Android SDK===&lt;br /&gt;
# Create a working directory &#039;&#039;android&#039;&#039;. &lt;br /&gt;
# Go to [http://developer.android.com/sdk/index.html Android SDK page] and download the latest SDK for linux. &lt;br /&gt;
# Decompress into &#039;&#039;android&#039;&#039; folder. &lt;br /&gt;
# Run &#039;&#039;tools/android&#039;&#039; (from the command line you can also run: &amp;quot;tools/android update sdk -u -t platform,platform-tool,extra&amp;quot;) &lt;br /&gt;
# In the tool, install &#039;&#039;&#039;&amp;quot;SDK Platform Android 4.0, API 14&amp;quot;&#039;&#039;&#039;, and follow the instructions.&lt;br /&gt;
&lt;br /&gt;
You can have [http://developer.android.com/sdk/installing.html more details], if needed.&lt;br /&gt;
&lt;br /&gt;
===Android NDK===&lt;br /&gt;
# Check that the SDK installation is correct. &lt;br /&gt;
# Go to [http://developer.android.com/sdk/ndk/index.html Android NDK page] and download the latest NDK for linux. &lt;br /&gt;
# Decompress into &#039;&#039;android&#039;&#039; folder, next to your android-sdk-linux folder.&lt;br /&gt;
&lt;br /&gt;
===Eclipse===&lt;br /&gt;
As used by your distribution, install Eclipse with your package manager: &lt;br /&gt;
&lt;br /&gt;
 apt-get install eclipse (debian)&lt;br /&gt;
 yum install eclipse (Fedora)&lt;br /&gt;
 pacman -S eclipse (Arch)&lt;br /&gt;
 emerge -av eclipse-sdk (Gentoo)&lt;br /&gt;
 ...&lt;br /&gt;
&lt;br /&gt;
And run it, at least once, and then quit eclipse. &lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Note:&#039;&#039;&#039; On Debian-based distributions it is better to download Eclipse indigo builds from the official website: http://www.eclipse.org/downloads/, otherwise it can lead to an error when importing the ADT plugin (see following).&lt;br /&gt;
&lt;br /&gt;
====ADT====&lt;br /&gt;
The &#039;&#039;&#039;ADT&#039;&#039;&#039; plugin is required to compile on Android. &lt;br /&gt;
&lt;br /&gt;
#Go to [http://developer.android.com/sdk/eclipse-adt.html#installing ADT page]. &lt;br /&gt;
#Start Eclipse, then select Help &amp;amp;gt; Install New Software.... &lt;br /&gt;
#Add the &amp;quot;ADT Plugin&amp;quot; repository with https://dl-ssl.google.com/android/eclipse/ as &#039;&#039;&#039;URL&#039;&#039;&#039; &lt;br /&gt;
#Validate and select the checkbox next to Developer Tools and click Next, Next, Finish. &lt;br /&gt;
#Restart Eclipse. &lt;br /&gt;
#Go to &#039;&#039;Menu&#039;&#039; &amp;amp;gt; &#039;&#039;Window&#039;&#039; &amp;amp;gt; &#039;&#039;Preferences...&#039;&#039; and then &#039;&#039;Android&#039;&#039; from the left pane. &lt;br /&gt;
#Point the SDK Location in to your downloaded SDK directory. &lt;br /&gt;
#Ok, and quit Eclipse.&lt;br /&gt;
&lt;br /&gt;
See [http://developer.android.com/sdk/eclipse-adt.html#troubleshooting extra information here].&lt;br /&gt;
&lt;br /&gt;
== Environment setup  ==&lt;br /&gt;
Set $ANDROID_SDK to point to your Android SDK directory &lt;br /&gt;
&lt;br /&gt;
 export ANDROID_SDK=/path/to/android-sdk&lt;br /&gt;
&lt;br /&gt;
Set $ANDROID_NDK to point to your Android NDK directory &lt;br /&gt;
&lt;br /&gt;
 export ANDROID_NDK=/path/to/android-ndk&lt;br /&gt;
&lt;br /&gt;
Add some useful binaries to your $PATH &lt;br /&gt;
&lt;br /&gt;
 export PATH=$PATH:$ANDROID_SDK/platform-tools:$ANDROID_SDK/tools&lt;br /&gt;
&lt;br /&gt;
=== Devices ===&lt;br /&gt;
&lt;br /&gt;
You need to export the ABI for your device. &amp;lt;code&amp;gt;armeabi-v7a&amp;lt;/code&amp;gt; is for devices with ARMv7 or above, any other device uses &amp;lt;code&amp;gt;armeabi&amp;lt;/code&amp;gt;.&lt;br /&gt;
 export ANDROID_ABI=armeabi-v7a&lt;br /&gt;
or&lt;br /&gt;
 export ANDROID_ABI=armeabi&lt;br /&gt;
&lt;br /&gt;
If you plan to use an armeabi-v7a device that does not support NEON, you need a build without [[wikipedia:ARM_architecture#Advanced_SIMD_.28NEON.29|NEON]] &lt;br /&gt;
 export NO_NEON=1&lt;br /&gt;
&lt;br /&gt;
If you plan to use an armeabi device that does not support FPU, you need a build without FPU&lt;br /&gt;
 export NO_FPU=1&lt;br /&gt;
&lt;br /&gt;
If you plan to use an ARMv5 armeabi device (read: Android Emulator), you need a build without ARMv6&lt;br /&gt;
 export NO_ARMV6=1&lt;br /&gt;
&lt;br /&gt;
==== Examples====&lt;br /&gt;
* For a normal (2012 consumer phone or tablet), like Cortex-A8 or Cortex-A9&lt;br /&gt;
 export ANDROID_ABI=armeabi-v7a&lt;br /&gt;
* For a Tegra2 device&lt;br /&gt;
 export ANDROID_ABI=armeabi-v7a&lt;br /&gt;
 export NO_NEON=1&lt;br /&gt;
* For an ARMv6 device&lt;br /&gt;
 export ANDROID_ABI=armeabi&lt;br /&gt;
* For an ARMv6 device without FPU&lt;br /&gt;
 export ANDROID_ABI=armeabi&lt;br /&gt;
 export NO_FPU=1&lt;br /&gt;
* For an ARMv5 device or the emulator&lt;br /&gt;
 export ANDROID_ABI=armeabi&lt;br /&gt;
 export NO_ARMV6=1&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;Those exports must be set at all times, notably for the contribs and the configure.&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
== Building ==&lt;br /&gt;
=== Get VLC Source ===&lt;br /&gt;
Clone the source from the VLC git!&lt;br /&gt;
&lt;br /&gt;
In your &#039;&#039;android&#039;&#039; folder, run: &lt;br /&gt;
&lt;br /&gt;
 git clone git://git.videolan.org/vlc-ports/android.git&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==== Compile ====&lt;br /&gt;
&#039;&#039;&#039;Read&#039;&#039;&#039; compile.sh first, as it contains some very useful information. Then run it:&lt;br /&gt;
 sh compile.sh&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Note:&#039;&#039;&#039; At this point, you will get an autogenerated debug apk in the bin/ folder, signed with a debug key.&lt;br /&gt;
&lt;br /&gt;
In order to build a non-debug package:&lt;br /&gt;
 sh compile.sh release&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Note:&#039;&#039;&#039; At this point, you will get an unsigned release apk in the bin/ folder, which you will have to sign and [http://developer.android.com/tools/help/zipalign.html zipalign].&lt;br /&gt;
&lt;br /&gt;
==== Package in Eclipse [optional] ====&lt;br /&gt;
# In Eclipse, create a &#039;&#039;new Android Project from existing source&#039;&#039; by importing from the &#039;&#039;vlc-android&#039;&#039; path. &lt;br /&gt;
# Export unsigned/signed apk.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Note:&#039;&#039;&#039; Building against JDK6 is recommended for optimal compatibility (Set &#039;&#039;Java Compiler Compliance&#039;&#039; to 1.6).&lt;br /&gt;
&lt;br /&gt;
=== Run ===&lt;br /&gt;
Run it and enjoy!&lt;br /&gt;
&lt;br /&gt;
== Debugging ==&lt;br /&gt;
Here are some helpful links if you wish to debug VLC on Android:&lt;br /&gt;
* [http://developer.android.com/guide/developing/debugging/ddms.html DDMS] &lt;br /&gt;
* [http://developer.android.com/guide/developing/tools/logcat.html Logcat]&lt;br /&gt;
&lt;br /&gt;
== Troubleshooting ==&lt;br /&gt;
=== Outdated Awk ===&lt;br /&gt;
If you receive the error message while building:&lt;br /&gt;
&lt;br /&gt;
 Android NDK: Host &#039;awk&#039; tool is outdated. Please define HOST_AWK to point to Gawk or Nawk !    &lt;br /&gt;
&lt;br /&gt;
The prebuilt version of Awk that comes with the Android NDK is outdated. Defining HOST_AWK in your environment does nothing as the system still tries to just the one that comes with the Android NDK. To get around this issue, simply rename or delete the Awk binary that comes with the Android NDK. For example to move it:&lt;br /&gt;
&lt;br /&gt;
 mv $ANDROID_NDK/prebuilt/linux-x86/bin/awk $ANDROID_NDK/prebuilt/linux-x86/bin/awk.old&lt;br /&gt;
&lt;br /&gt;
=== Can&#039;t find Ant ===&lt;br /&gt;
If you&#039;re new to Ant, please be aware that some Linux distributions don&#039;t install it in the usual spot as with other programs. Try checking to see if the directory /usr/share/java/apache-ant/bin exists and add it to your path.&lt;br /&gt;
&lt;br /&gt;
===Outdated autotools-dev===&lt;br /&gt;
If you get the following error message you may have have an outdated version of autotools-dev:&lt;br /&gt;
  Invalid configuration `arm-linux-androideabi&#039;: system `androideabi&#039; not recognized&lt;br /&gt;
You may first want to check if your distribution has any available updates for this package.  Alternatively, you can manually update your config.guess and config.sub files from here: [http://git.savannah.gnu.org/gitweb/?p=config.git;a=tree].  These files are typically located in /usr/share/misc on Debian based distributions.&lt;br /&gt;
&lt;br /&gt;
[[Category:Building]]&lt;/div&gt;</summary>
		<author><name>Adridu59</name></author>
	</entry>
	<entry>
		<id>https://wiki.videolan.org/index.php?title=AndroidCompile&amp;diff=22711</id>
		<title>AndroidCompile</title>
		<link rel="alternate" type="text/html" href="https://wiki.videolan.org/index.php?title=AndroidCompile&amp;diff=22711"/>
		<updated>2012-06-12T18:41:24Z</updated>

		<summary type="html">&lt;p&gt;Adridu59: /* Android SDK */  Cosmetics.&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;This page is an introduction to compilation of &#039;&#039;&#039;VLC for Android&#039;&#039;&#039; on Linux. &lt;br /&gt;
&lt;br /&gt;
==Eclipse, SDK and NDK installation==&lt;br /&gt;
&lt;br /&gt;
=== Requirements  ===&lt;br /&gt;
* You &#039;&#039;&#039;MUST&#039;&#039;&#039; be on Linux, and a recent one.&lt;br /&gt;
* You &#039;&#039;&#039;MUST&#039;&#039;&#039; have installed: &#039;&#039;apache-ant&#039;&#039; (or &#039;&#039;ant&#039;&#039;), &#039;&#039;autoconf&#039;&#039;, &#039;&#039;automake&#039;&#039;, &#039;&#039;autopoint&#039;&#039;, &#039;&#039;libtool&#039;&#039;, &#039;&#039;gawk&#039;&#039; (or &#039;&#039;nawk&#039;&#039;), &#039;&#039;gcc&#039;&#039;, &#039;&#039;g++&#039;&#039;, &#039;&#039;pkg-config&#039;&#039;, &#039;&#039;cmake&#039;&#039;, &#039;&#039;patch&#039;&#039;, &#039;&#039;subversion&#039;&#039;. And very up-to-date versions of those tools.&lt;br /&gt;
* You &#039;&#039;&#039;MUST&#039;&#039;&#039; install: &#039;&#039;git&#039;&#039;.&lt;br /&gt;
&lt;br /&gt;
===Android SDK===&lt;br /&gt;
#Create a working directory &#039;&#039;android&#039;&#039;. &lt;br /&gt;
#Go to [http://developer.android.com/sdk/index.html Android SDK page] and download the latest SDK for linux. &lt;br /&gt;
#Decompress into &#039;&#039;android&#039;&#039; folder. &lt;br /&gt;
#Run &#039;&#039;tools/android&#039;&#039; (from the command line you can also run: &amp;quot;tools/android update sdk -u -t platform,platform-tool,extra&amp;quot;) &lt;br /&gt;
#In the tool, install &#039;&#039;&#039;&amp;quot;SDK Platform Android 4.0, API 14&amp;quot;&#039;&#039;&#039;, and follow the instructions.&lt;br /&gt;
&lt;br /&gt;
You can have [http://developer.android.com/sdk/installing.html more details], if needed.&lt;br /&gt;
&lt;br /&gt;
===Android NDK===&lt;br /&gt;
# Check that the SDK installation is correct. &lt;br /&gt;
# Go to [http://developer.android.com/sdk/ndk/index.html Android NDK page] and download the latest NDK for linux. &lt;br /&gt;
# Decompress into &#039;&#039;android&#039;&#039; folder, next to your android-sdk-linux folder.&lt;br /&gt;
&lt;br /&gt;
===Eclipse===&lt;br /&gt;
As used by your distribution, install Eclipse with your package manager: &lt;br /&gt;
&lt;br /&gt;
 apt-get install eclipse (debian)&lt;br /&gt;
 yum install eclipse (Fedora)&lt;br /&gt;
 pacman -S eclipse (Arch)&lt;br /&gt;
 emerge -av eclipse-sdk (Gentoo)&lt;br /&gt;
 ...&lt;br /&gt;
&lt;br /&gt;
And run it, at least once, and then quit eclipse. &lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Note:&#039;&#039;&#039; On Debian-based distributions it is better to download Eclipse indigo builds from the official website : http://www.eclipse.org/downloads/, otherwise it can lead to an error when importing the ADT plugin (see following).&lt;br /&gt;
&lt;br /&gt;
====ADT====&lt;br /&gt;
The &#039;&#039;&#039;ADT&#039;&#039;&#039; plugin is required to compile on Android. &lt;br /&gt;
&lt;br /&gt;
#Go to [http://developer.android.com/sdk/eclipse-adt.html#installing ADT page]. &lt;br /&gt;
#Start Eclipse, then select Help &amp;amp;gt; Install New Software.... &lt;br /&gt;
#Add the &amp;quot;ADT Plugin&amp;quot; repository with https://dl-ssl.google.com/android/eclipse/ as &#039;&#039;&#039;URL&#039;&#039;&#039; &lt;br /&gt;
#Validate and select the checkbox next to Developer Tools and click Next, Next, Finish. &lt;br /&gt;
#Restart Eclipse. &lt;br /&gt;
#Go to &#039;&#039;Menu&#039;&#039; &amp;amp;gt; &#039;&#039;Window&#039;&#039; &amp;amp;gt; &#039;&#039;Preferences...&#039;&#039; and then &#039;&#039;Android&#039;&#039; from the left pane. &lt;br /&gt;
#Point the SDK Location in to your downloaded SDK directory. &lt;br /&gt;
#Ok, and quit Eclipse.&lt;br /&gt;
&lt;br /&gt;
See [http://developer.android.com/sdk/eclipse-adt.html#troubleshooting extra information here].&lt;br /&gt;
&lt;br /&gt;
=== Environment setup  ===&lt;br /&gt;
Set $ANDROID_SDK to point to your Android SDK directory &lt;br /&gt;
&lt;br /&gt;
 export ANDROID_SDK=/path/to/android-sdk&lt;br /&gt;
&lt;br /&gt;
Set $ANDROID_NDK to point to your Android NDK directory &lt;br /&gt;
&lt;br /&gt;
 export ANDROID_NDK=/path/to/android-ndk&lt;br /&gt;
&lt;br /&gt;
Set $NO_NDK_V7 if your NDK predates NDK v7. Do not set this if you are using NDK v7, NDK v8, etc... &lt;br /&gt;
&lt;br /&gt;
 export NO_NDK_V7=1&lt;br /&gt;
&lt;br /&gt;
Add some useful binaries to your $PATH &lt;br /&gt;
&lt;br /&gt;
 export PATH=$PATH:$ANDROID_SDK/platform-tools:$ANDROID_SDK/tools&lt;br /&gt;
&lt;br /&gt;
==== Devices ====&lt;br /&gt;
If you plan to use the emulator or if you have a phone that does not support NEON, you need a build without [[wikipedia:ARM_architecture#Advanced_SIMD_.28NEON.29|NEON]] &lt;br /&gt;
&lt;br /&gt;
 export NO_NEON=1&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Note:&#039;&#039;&#039; If you want to get a NEON build, the NO_NEON variable must remain unset (do not use NO_NEON=0).&lt;br /&gt;
&lt;br /&gt;
If you plan to use the build for a Tegra 2 device:&lt;br /&gt;
&lt;br /&gt;
 export TEGRA2=1&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;Those exports must be set at all times, notably for the contribs and the configure.&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
== Building ==&lt;br /&gt;
=== Get VLC Source ===&lt;br /&gt;
Use the VLC git repository to get the source! &lt;br /&gt;
&lt;br /&gt;
In your &#039;&#039;android&#039;&#039; folder, run: &lt;br /&gt;
&lt;br /&gt;
 git clone git://git.videolan.org/vlc-ports/android.git&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==== Compile ====&lt;br /&gt;
&#039;&#039;&#039;Read&#039;&#039;&#039; compile.sh first, as it contains some very useful important information. Then run it:&lt;br /&gt;
 sh compile.sh&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Note:&#039;&#039;&#039; At this point, you will get an autogenerated debug apk in the bin/ folder. In order to build a non-debug or custom package, use Eclipse as described below.&lt;br /&gt;
&lt;br /&gt;
==== Package in Eclipse ====&lt;br /&gt;
# In Eclipse, create a new Android project from existing source by giving the vlc-android path. &lt;br /&gt;
# Compile your project using Eclipse.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Note:&#039;&#039;&#039; Building against JDK6 is recommended for optimal compatibility (Set Java Compiler Compliance to 1.6).&lt;br /&gt;
&lt;br /&gt;
=== Run ===&lt;br /&gt;
Run it and enjoy!&lt;br /&gt;
&lt;br /&gt;
== Debugging ==&lt;br /&gt;
Here are some helpful links if you wish to debug VLC on Android:&lt;br /&gt;
* [http://developer.android.com/guide/developing/debugging/ddms.html DDMS] &lt;br /&gt;
* [http://developer.android.com/guide/developing/tools/logcat.html Logcat]&lt;br /&gt;
&lt;br /&gt;
== Troubleshooting ==&lt;br /&gt;
=== Outdated Awk ===&lt;br /&gt;
If you receive the error message while building:&lt;br /&gt;
&lt;br /&gt;
 Android NDK: Host &#039;awk&#039; tool is outdated. Please define HOST_AWK to point to Gawk or Nawk !    &lt;br /&gt;
&lt;br /&gt;
The prebuilt version of Awk that comes with the Android NDK is outdated. Defining HOST_AWK in your environment does nothing as the system still tries to just the one that comes with the Android NDK. To get around this issue, simply rename or delete the Awk binary that comes with the Android NDK. For example to move it:&lt;br /&gt;
&lt;br /&gt;
 mv $ANDROID_NDK/prebuilt/linux-x86/bin/awk $ANDROID_NDK/prebuilt/linux-x86/bin/awk.old&lt;br /&gt;
&lt;br /&gt;
=== Can&#039;t find Ant ===&lt;br /&gt;
If you&#039;re new to Ant, please be aware that some Linux distributions don&#039;t install it in the usual spot as with other programs. Try checking to see if the directory /usr/share/java/apache-ant/bin exists and add it to your path.&lt;br /&gt;
&lt;br /&gt;
===Outdated autotools-dev===&lt;br /&gt;
If you get the following error message you may have have an outdated version of autotools-dev:&lt;br /&gt;
  Invalid configuration `arm-linux-androideabi&#039;: system `androideabi&#039; not recognized&lt;br /&gt;
You may first want to check if your distribution has any available updates for this package.  Alternatively, you can manually update your config.guess and config.sub files from here: [http://git.savannah.gnu.org/gitweb/?p=config.git;a=tree].  These files are typically located in /usr/share/misc on Debian based distributions.&lt;br /&gt;
&lt;br /&gt;
[[Category:Building]]&lt;/div&gt;</summary>
		<author><name>Adridu59</name></author>
	</entry>
	<entry>
		<id>https://wiki.videolan.org/index.php?title=AndroidCompile&amp;diff=22710</id>
		<title>AndroidCompile</title>
		<link rel="alternate" type="text/html" href="https://wiki.videolan.org/index.php?title=AndroidCompile&amp;diff=22710"/>
		<updated>2012-06-12T18:29:53Z</updated>

		<summary type="html">&lt;p&gt;Adridu59: Remove the API 14 (4.0) replacement thing. We target API 14 in project.properties but we need to keep Gingerbread compatibility.&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;This page is an introduction to compilation of &#039;&#039;&#039;VLC for Android&#039;&#039;&#039; on Linux. &lt;br /&gt;
&lt;br /&gt;
==Eclipse, SDK and NDK installation==&lt;br /&gt;
&lt;br /&gt;
=== Requirements  ===&lt;br /&gt;
* You &#039;&#039;&#039;MUST&#039;&#039;&#039; be on Linux, and a recent one.&lt;br /&gt;
* You &#039;&#039;&#039;MUST&#039;&#039;&#039; have installed: &#039;&#039;apache-ant&#039;&#039; (or &#039;&#039;ant&#039;&#039;), &#039;&#039;autoconf&#039;&#039;, &#039;&#039;automake&#039;&#039;, &#039;&#039;autopoint&#039;&#039;, &#039;&#039;libtool&#039;&#039;, &#039;&#039;gawk&#039;&#039; (or &#039;&#039;nawk&#039;&#039;), &#039;&#039;gcc&#039;&#039;, &#039;&#039;g++&#039;&#039;, &#039;&#039;pkg-config&#039;&#039;, &#039;&#039;cmake&#039;&#039;, &#039;&#039;patch&#039;&#039;, &#039;&#039;subversion&#039;&#039;. And very up-to-date versions of those tools.&lt;br /&gt;
* You &#039;&#039;&#039;MUST&#039;&#039;&#039; install: &#039;&#039;git&#039;&#039;.&lt;br /&gt;
&lt;br /&gt;
===Android SDK===&lt;br /&gt;
#Create a working directory &#039;&#039;android&#039;&#039;. &lt;br /&gt;
#Go to [http://developer.android.com/sdk/index.html Android SDK page] and download the latest SDK for linux. &lt;br /&gt;
#Decompress into &#039;&#039;android&#039;&#039; folder. &lt;br /&gt;
#Run &#039;&#039;tools/android&#039;&#039; (from the command line you can also run: &amp;quot;tools/android update sdk -u -t platform,platform-tool,extra&amp;quot;) &lt;br /&gt;
#In the tool, install &#039;&#039;&#039;&amp;quot;SDK Platform Android 4.0, API 14&amp;quot;&#039;&#039;&#039;, and follow the instructions.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
  &lt;br /&gt;
&lt;br /&gt;
You can have [http://developer.android.com/sdk/installing.html more details], if needed.&lt;br /&gt;
&lt;br /&gt;
===Android NDK===&lt;br /&gt;
# Check that the SDK installation is correct. &lt;br /&gt;
# Go to [http://developer.android.com/sdk/ndk/index.html Android NDK page] and download the latest NDK for linux. &lt;br /&gt;
# Decompress into &#039;&#039;android&#039;&#039; folder, next to your android-sdk-linux folder.&lt;br /&gt;
&lt;br /&gt;
===Eclipse===&lt;br /&gt;
As used by your distribution, install Eclipse with your package manager: &lt;br /&gt;
&lt;br /&gt;
 apt-get install eclipse (debian)&lt;br /&gt;
 yum install eclipse (Fedora)&lt;br /&gt;
 pacman -S eclipse (Arch)&lt;br /&gt;
 emerge -av eclipse-sdk (Gentoo)&lt;br /&gt;
 ...&lt;br /&gt;
&lt;br /&gt;
And run it, at least once, and then quit eclipse. &lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Note:&#039;&#039;&#039; On Debian-based distributions it is better to download Eclipse indigo builds from the official website : http://www.eclipse.org/downloads/, otherwise it can lead to an error when importing the ADT plugin (see following).&lt;br /&gt;
&lt;br /&gt;
====ADT====&lt;br /&gt;
The &#039;&#039;&#039;ADT&#039;&#039;&#039; plugin is required to compile on Android. &lt;br /&gt;
&lt;br /&gt;
#Go to [http://developer.android.com/sdk/eclipse-adt.html#installing ADT page]. &lt;br /&gt;
#Start Eclipse, then select Help &amp;amp;gt; Install New Software.... &lt;br /&gt;
#Add the &amp;quot;ADT Plugin&amp;quot; repository with https://dl-ssl.google.com/android/eclipse/ as &#039;&#039;&#039;URL&#039;&#039;&#039; &lt;br /&gt;
#Validate and select the checkbox next to Developer Tools and click Next, Next, Finish. &lt;br /&gt;
#Restart Eclipse. &lt;br /&gt;
#Go to &#039;&#039;Menu&#039;&#039; &amp;amp;gt; &#039;&#039;Window&#039;&#039; &amp;amp;gt; &#039;&#039;Preferences...&#039;&#039; and then &#039;&#039;Android&#039;&#039; from the left pane. &lt;br /&gt;
#Point the SDK Location in to your downloaded SDK directory. &lt;br /&gt;
#Ok, and quit Eclipse.&lt;br /&gt;
&lt;br /&gt;
See [http://developer.android.com/sdk/eclipse-adt.html#troubleshooting extra information here].&lt;br /&gt;
&lt;br /&gt;
=== Environment setup  ===&lt;br /&gt;
Set $ANDROID_SDK to point to your Android SDK directory &lt;br /&gt;
&lt;br /&gt;
 export ANDROID_SDK=/path/to/android-sdk&lt;br /&gt;
&lt;br /&gt;
Set $ANDROID_NDK to point to your Android NDK directory &lt;br /&gt;
&lt;br /&gt;
 export ANDROID_NDK=/path/to/android-ndk&lt;br /&gt;
&lt;br /&gt;
Set $NO_NDK_V7 if your NDK predates NDK v7. Do not set this if you are using NDK v7, NDK v8, etc... &lt;br /&gt;
&lt;br /&gt;
 export NO_NDK_V7=1&lt;br /&gt;
&lt;br /&gt;
Add some useful binaries to your $PATH &lt;br /&gt;
&lt;br /&gt;
 export PATH=$PATH:$ANDROID_SDK/platform-tools:$ANDROID_SDK/tools&lt;br /&gt;
&lt;br /&gt;
==== Devices ====&lt;br /&gt;
If you plan to use the emulator or if you have a phone that does not support NEON, you need a build without [[wikipedia:ARM_architecture#Advanced_SIMD_.28NEON.29|NEON]] &lt;br /&gt;
&lt;br /&gt;
 export NO_NEON=1&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Note:&#039;&#039;&#039; If you want to get a NEON build, the NO_NEON variable must remain unset (do not use NO_NEON=0).&lt;br /&gt;
&lt;br /&gt;
If you plan to use the build for a Tegra 2 device:&lt;br /&gt;
&lt;br /&gt;
 export TEGRA2=1&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;Those exports must be set at all times, notably for the contribs and the configure.&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
== Building ==&lt;br /&gt;
=== Get VLC Source ===&lt;br /&gt;
Use the VLC git repository to get the source! &lt;br /&gt;
&lt;br /&gt;
In your &#039;&#039;android&#039;&#039; folder, run: &lt;br /&gt;
&lt;br /&gt;
 git clone git://git.videolan.org/vlc-ports/android.git&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==== Compile ====&lt;br /&gt;
&#039;&#039;&#039;Read&#039;&#039;&#039; compile.sh first, as it contains some very useful important information. Then run it:&lt;br /&gt;
 sh compile.sh&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Note:&#039;&#039;&#039; At this point, you will get an autogenerated debug apk in the bin/ folder. In order to build a non-debug or custom package, use Eclipse as described below.&lt;br /&gt;
&lt;br /&gt;
==== Package in Eclipse ====&lt;br /&gt;
# In Eclipse, create a new Android project from existing source by giving the vlc-android path. &lt;br /&gt;
# Compile your project using Eclipse.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Note:&#039;&#039;&#039; Building against JDK6 is recommended for optimal compatibility (Set Java Compiler Compliance to 1.6).&lt;br /&gt;
&lt;br /&gt;
=== Run ===&lt;br /&gt;
Run it and enjoy!&lt;br /&gt;
&lt;br /&gt;
== Debugging ==&lt;br /&gt;
Here are some helpful links if you wish to debug VLC on Android:&lt;br /&gt;
* [http://developer.android.com/guide/developing/debugging/ddms.html DDMS] &lt;br /&gt;
* [http://developer.android.com/guide/developing/tools/logcat.html Logcat]&lt;br /&gt;
&lt;br /&gt;
== Troubleshooting ==&lt;br /&gt;
=== Outdated Awk ===&lt;br /&gt;
If you receive the error message while building:&lt;br /&gt;
&lt;br /&gt;
 Android NDK: Host &#039;awk&#039; tool is outdated. Please define HOST_AWK to point to Gawk or Nawk !    &lt;br /&gt;
&lt;br /&gt;
The prebuilt version of Awk that comes with the Android NDK is outdated. Defining HOST_AWK in your environment does nothing as the system still tries to just the one that comes with the Android NDK. To get around this issue, simply rename or delete the Awk binary that comes with the Android NDK. For example to move it:&lt;br /&gt;
&lt;br /&gt;
 mv $ANDROID_NDK/prebuilt/linux-x86/bin/awk $ANDROID_NDK/prebuilt/linux-x86/bin/awk.old&lt;br /&gt;
&lt;br /&gt;
=== Can&#039;t find Ant ===&lt;br /&gt;
If you&#039;re new to Ant, please be aware that some Linux distributions don&#039;t install it in the usual spot as with other programs. Try checking to see if the directory /usr/share/java/apache-ant/bin exists and add it to your path.&lt;br /&gt;
&lt;br /&gt;
===Outdated autotools-dev===&lt;br /&gt;
If you get the following error message you may have have an outdated version of autotools-dev:&lt;br /&gt;
  Invalid configuration `arm-linux-androideabi&#039;: system `androideabi&#039; not recognized&lt;br /&gt;
You may first want to check if your distribution has any available updates for this package.  Alternatively, you can manually update your config.guess and config.sub files from here: [http://git.savannah.gnu.org/gitweb/?p=config.git;a=tree].  These files are typically located in /usr/share/misc on Debian based distributions.&lt;br /&gt;
&lt;br /&gt;
[[Category:Building]]&lt;/div&gt;</summary>
		<author><name>Adridu59</name></author>
	</entry>
	<entry>
		<id>https://wiki.videolan.org/index.php?title=AndroidCompile&amp;diff=22698</id>
		<title>AndroidCompile</title>
		<link rel="alternate" type="text/html" href="https://wiki.videolan.org/index.php?title=AndroidCompile&amp;diff=22698"/>
		<updated>2012-06-04T12:50:32Z</updated>

		<summary type="html">&lt;p&gt;Adridu59: /* Android NDK */  Minor path correction.&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;This page is an introduction to compilation of &#039;&#039;&#039;VLC for Android&#039;&#039;&#039; on Linux. &lt;br /&gt;
&lt;br /&gt;
==Eclipse, SDK and NDK installation==&lt;br /&gt;
&lt;br /&gt;
=== Requirements  ===&lt;br /&gt;
* You &#039;&#039;&#039;MUST&#039;&#039;&#039; be on Linux, and a recent one.&lt;br /&gt;
* You &#039;&#039;&#039;MUST&#039;&#039;&#039; have installed: &#039;&#039;apache-ant&#039;&#039; (or &#039;&#039;ant&#039;&#039;), &#039;&#039;autoconf&#039;&#039;, &#039;&#039;automake&#039;&#039;, &#039;&#039;autopoint&#039;&#039;, &#039;&#039;libtool&#039;&#039;, &#039;&#039;gawk&#039;&#039; (or &#039;&#039;nawk&#039;&#039;), &#039;&#039;gcc&#039;&#039;, &#039;&#039;g++&#039;&#039;, &#039;&#039;pkg-config&#039;&#039;, &#039;&#039;cmake&#039;&#039;, &#039;&#039;patch&#039;&#039;, &#039;&#039;subversion&#039;&#039;. And very up-to-date versions of those tools.&lt;br /&gt;
* You &#039;&#039;&#039;MUST&#039;&#039;&#039; install: &#039;&#039;git&#039;&#039;.&lt;br /&gt;
&lt;br /&gt;
===Android SDK===&lt;br /&gt;
#Create a working directory &#039;&#039;android&#039;&#039;. &lt;br /&gt;
#Go to [http://developer.android.com/sdk/index.html Android SDK page] and download the latest SDK for linux. &lt;br /&gt;
#Decompress into &#039;&#039;android&#039;&#039; folder. &lt;br /&gt;
#Run &#039;&#039;tools/android&#039;&#039; (from the command line you can also run: &amp;quot;tools/android update sdk -u -t platform,platform-tool,extra&amp;quot;) &lt;br /&gt;
#In the tool, install &#039;&#039;&#039;&amp;quot;SDK Platform Android 4.0, API 14&amp;quot;&#039;&#039;&#039;, and follow the instructions.&lt;br /&gt;
&lt;br /&gt;
You can have [http://developer.android.com/sdk/installing.html more details], if needed. &lt;br /&gt;
&lt;br /&gt;
===Android NDK===&lt;br /&gt;
# Check that the SDK installation is correct. &lt;br /&gt;
# Go to [http://developer.android.com/sdk/ndk/index.html Android NDK page] and download the latest NDK for linux. &lt;br /&gt;
# Decompress into &#039;&#039;android&#039;&#039; folder, next to your android-sdk-linux folder.&lt;br /&gt;
&lt;br /&gt;
===Eclipse===&lt;br /&gt;
As used by your distribution, install Eclipse with your package manager: &lt;br /&gt;
&lt;br /&gt;
 apt-get install eclipse (debian)&lt;br /&gt;
 yum install eclipse (Fedora)&lt;br /&gt;
 pacman -S eclipse (Arch)&lt;br /&gt;
 emerge -av eclipse-sdk (Gentoo)&lt;br /&gt;
 ...&lt;br /&gt;
&lt;br /&gt;
And run it, at least once, and then quit eclipse. &lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Note:&#039;&#039;&#039; On Debian-based distributions it is better to download Eclipse indigo builds from the official website : http://www.eclipse.org/downloads/, otherwise it can lead to an error when importing the ADT plugin (see following).&lt;br /&gt;
&lt;br /&gt;
====ADT====&lt;br /&gt;
The &#039;&#039;&#039;ADT&#039;&#039;&#039; plugin is required to compile on Android. &lt;br /&gt;
&lt;br /&gt;
#Go to [http://developer.android.com/sdk/eclipse-adt.html#installing ADT page]. &lt;br /&gt;
#Start Eclipse, then select Help &amp;amp;gt; Install New Software.... &lt;br /&gt;
#Add the &amp;quot;ADT Plugin&amp;quot; repository with https://dl-ssl.google.com/android/eclipse/ as &#039;&#039;&#039;URL&#039;&#039;&#039; &lt;br /&gt;
#Validate and select the checkbox next to Developer Tools and click Next, Next, Finish. &lt;br /&gt;
#Restart Eclipse. &lt;br /&gt;
#Go to &#039;&#039;Menu&#039;&#039; &amp;amp;gt; &#039;&#039;Window&#039;&#039; &amp;amp;gt; &#039;&#039;Preferences...&#039;&#039; and then &#039;&#039;Android&#039;&#039; from the left pane. &lt;br /&gt;
#Point the SDK Location in to your downloaded SDK directory. &lt;br /&gt;
#Ok, and quit Eclipse.&lt;br /&gt;
&lt;br /&gt;
See [http://developer.android.com/sdk/eclipse-adt.html#troubleshooting extra information here].&lt;br /&gt;
&lt;br /&gt;
=== Environment setup  ===&lt;br /&gt;
Set $ANDROID_SDK to point to your Android SDK directory &lt;br /&gt;
&lt;br /&gt;
 export ANDROID_SDK=/path/to/android-sdk&lt;br /&gt;
&lt;br /&gt;
Set $ANDROID_NDK to point to your Android NDK directory &lt;br /&gt;
&lt;br /&gt;
 export ANDROID_NDK=/path/to/android-ndk&lt;br /&gt;
&lt;br /&gt;
If you do not use the NDK v7 (note: the build script will try to detect the SDK version)&lt;br /&gt;
&lt;br /&gt;
 export NO_NDK_V7=1&lt;br /&gt;
&lt;br /&gt;
Add some useful binaries to your $PATH &lt;br /&gt;
&lt;br /&gt;
 export PATH=$PATH:$ANDROID_SDK/platform-tools:$ANDROID_SDK/tools&lt;br /&gt;
&lt;br /&gt;
==== Devices ====&lt;br /&gt;
If you plan to use the emulator or if you have a phone that does not support NEON, you need a build without [[wikipedia:ARM_architecture#Advanced_SIMD_.28NEON.29|NEON]] &lt;br /&gt;
&lt;br /&gt;
 export NO_NEON=1&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Note:&#039;&#039;&#039; If you want to get a NEON build, the NO_NEON variable must remain unset (do not use NO_NEON=0).&lt;br /&gt;
&lt;br /&gt;
If you plan to use the build for a Tegra 2 device:&lt;br /&gt;
&lt;br /&gt;
 export TEGRA2=1&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;Those exports must be set at all times, notably for the contribs and the configure.&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
== Building ==&lt;br /&gt;
=== Get VLC Source ===&lt;br /&gt;
Use the VLC git repository to get the source! &lt;br /&gt;
&lt;br /&gt;
In your &#039;&#039;android&#039;&#039; folder, run: &lt;br /&gt;
&lt;br /&gt;
 git clone git://git.videolan.org/vlc-ports/android.git&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==== Compile ====&lt;br /&gt;
&#039;&#039;&#039;Read&#039;&#039;&#039; compile.sh first, as it contains some very useful important information. Then run it:&lt;br /&gt;
 sh compile.sh&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Note:&#039;&#039;&#039; At this point, you will get an autogenerated debug apk in the bin/ folder. In order to build a non-debug or custom package, use Eclipse as described below.&lt;br /&gt;
&lt;br /&gt;
==== Package in Eclipse ====&lt;br /&gt;
# In Eclipse, create a new Android project from existing source by giving the vlc-android path. &lt;br /&gt;
# Compile your project using Eclipse.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Note:&#039;&#039;&#039; Building against JDK6 is recommended for optimal compatibility (Set Java Compiler Compliance to 1.6).&lt;br /&gt;
&lt;br /&gt;
=== Run ===&lt;br /&gt;
Run it and enjoy!&lt;br /&gt;
&lt;br /&gt;
== Debugging ==&lt;br /&gt;
Here are some helpful links if you wish to debug VLC on Android:&lt;br /&gt;
* [http://developer.android.com/guide/developing/debugging/ddms.html DDMS] &lt;br /&gt;
* [http://developer.android.com/guide/developing/tools/logcat.html Logcat]&lt;br /&gt;
&lt;br /&gt;
== Troubleshooting ==&lt;br /&gt;
=== Outdated Awk ===&lt;br /&gt;
If you receive the error message while building:&lt;br /&gt;
&lt;br /&gt;
 Android NDK: Host &#039;awk&#039; tool is outdated. Please define HOST_AWK to point to Gawk or Nawk !    &lt;br /&gt;
&lt;br /&gt;
The prebuilt version of Awk that comes with the Android NDK is outdated. Defining HOST_AWK in your environment does nothing as the system still tries to just the one that comes with the Android NDK. To get around this issue, simply rename or delete the Awk binary that comes with the Android NDK. For example to move it:&lt;br /&gt;
&lt;br /&gt;
 mv $ANDROID_NDK/prebuilt/linux-x86/bin/awk $ANDROID_NDK/prebuilt/linux-x86/bin/awk.old&lt;br /&gt;
&lt;br /&gt;
=== Can&#039;t find Ant ===&lt;br /&gt;
If you&#039;re new to Ant, please be aware that some Linux distributions don&#039;t install it in the usual spot as with other programs. Try checking to see if the directory /usr/share/java/apache-ant/bin exists and add it to your path.&lt;br /&gt;
&lt;br /&gt;
[[Category:Building]]&lt;/div&gt;</summary>
		<author><name>Adridu59</name></author>
	</entry>
	<entry>
		<id>https://wiki.videolan.org/index.php?title=AndroidCompile&amp;diff=22697</id>
		<title>AndroidCompile</title>
		<link rel="alternate" type="text/html" href="https://wiki.videolan.org/index.php?title=AndroidCompile&amp;diff=22697"/>
		<updated>2012-06-04T12:49:23Z</updated>

		<summary type="html">&lt;p&gt;Adridu59: /* Package in Eclipse */  Added JDK6 note.&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;This page is an introduction to compilation of &#039;&#039;&#039;VLC for Android&#039;&#039;&#039; on Linux. &lt;br /&gt;
&lt;br /&gt;
==Eclipse, SDK and NDK installation==&lt;br /&gt;
&lt;br /&gt;
=== Requirements  ===&lt;br /&gt;
* You &#039;&#039;&#039;MUST&#039;&#039;&#039; be on Linux, and a recent one.&lt;br /&gt;
* You &#039;&#039;&#039;MUST&#039;&#039;&#039; have installed: &#039;&#039;apache-ant&#039;&#039; (or &#039;&#039;ant&#039;&#039;), &#039;&#039;autoconf&#039;&#039;, &#039;&#039;automake&#039;&#039;, &#039;&#039;autopoint&#039;&#039;, &#039;&#039;libtool&#039;&#039;, &#039;&#039;gawk&#039;&#039; (or &#039;&#039;nawk&#039;&#039;), &#039;&#039;gcc&#039;&#039;, &#039;&#039;g++&#039;&#039;, &#039;&#039;pkg-config&#039;&#039;, &#039;&#039;cmake&#039;&#039;, &#039;&#039;patch&#039;&#039;, &#039;&#039;subversion&#039;&#039;. And very up-to-date versions of those tools.&lt;br /&gt;
* You &#039;&#039;&#039;MUST&#039;&#039;&#039; install: &#039;&#039;git&#039;&#039;.&lt;br /&gt;
&lt;br /&gt;
===Android SDK===&lt;br /&gt;
#Create a working directory &#039;&#039;android&#039;&#039;. &lt;br /&gt;
#Go to [http://developer.android.com/sdk/index.html Android SDK page] and download the latest SDK for linux. &lt;br /&gt;
#Decompress into &#039;&#039;android&#039;&#039; folder. &lt;br /&gt;
#Run &#039;&#039;tools/android&#039;&#039; (from the command line you can also run: &amp;quot;tools/android update sdk -u -t platform,platform-tool,extra&amp;quot;) &lt;br /&gt;
#In the tool, install &#039;&#039;&#039;&amp;quot;SDK Platform Android 4.0, API 14&amp;quot;&#039;&#039;&#039;, and follow the instructions.&lt;br /&gt;
&lt;br /&gt;
You can have [http://developer.android.com/sdk/installing.html more details], if needed. &lt;br /&gt;
&lt;br /&gt;
===Android NDK===&lt;br /&gt;
# Check that the SDK installation is correct. &lt;br /&gt;
# Go to [http://developer.android.com/sdk/ndk/index.html Android NDK page] and download the latest NDK for linux. &lt;br /&gt;
# Decompress into &#039;&#039;android&#039;&#039; folder, next to your android-sdk-linux_x86 folder.&lt;br /&gt;
&lt;br /&gt;
===Eclipse===&lt;br /&gt;
As used by your distribution, install Eclipse with your package manager: &lt;br /&gt;
&lt;br /&gt;
 apt-get install eclipse (debian)&lt;br /&gt;
 yum install eclipse (Fedora)&lt;br /&gt;
 pacman -S eclipse (Arch)&lt;br /&gt;
 emerge -av eclipse-sdk (Gentoo)&lt;br /&gt;
 ...&lt;br /&gt;
&lt;br /&gt;
And run it, at least once, and then quit eclipse. &lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Note:&#039;&#039;&#039; On Debian-based distributions it is better to download Eclipse indigo builds from the official website : http://www.eclipse.org/downloads/, otherwise it can lead to an error when importing the ADT plugin (see following).&lt;br /&gt;
&lt;br /&gt;
====ADT====&lt;br /&gt;
The &#039;&#039;&#039;ADT&#039;&#039;&#039; plugin is required to compile on Android. &lt;br /&gt;
&lt;br /&gt;
#Go to [http://developer.android.com/sdk/eclipse-adt.html#installing ADT page]. &lt;br /&gt;
#Start Eclipse, then select Help &amp;amp;gt; Install New Software.... &lt;br /&gt;
#Add the &amp;quot;ADT Plugin&amp;quot; repository with https://dl-ssl.google.com/android/eclipse/ as &#039;&#039;&#039;URL&#039;&#039;&#039; &lt;br /&gt;
#Validate and select the checkbox next to Developer Tools and click Next, Next, Finish. &lt;br /&gt;
#Restart Eclipse. &lt;br /&gt;
#Go to &#039;&#039;Menu&#039;&#039; &amp;amp;gt; &#039;&#039;Window&#039;&#039; &amp;amp;gt; &#039;&#039;Preferences...&#039;&#039; and then &#039;&#039;Android&#039;&#039; from the left pane. &lt;br /&gt;
#Point the SDK Location in to your downloaded SDK directory. &lt;br /&gt;
#Ok, and quit Eclipse.&lt;br /&gt;
&lt;br /&gt;
See [http://developer.android.com/sdk/eclipse-adt.html#troubleshooting extra information here].&lt;br /&gt;
&lt;br /&gt;
=== Environment setup  ===&lt;br /&gt;
Set $ANDROID_SDK to point to your Android SDK directory &lt;br /&gt;
&lt;br /&gt;
 export ANDROID_SDK=/path/to/android-sdk&lt;br /&gt;
&lt;br /&gt;
Set $ANDROID_NDK to point to your Android NDK directory &lt;br /&gt;
&lt;br /&gt;
 export ANDROID_NDK=/path/to/android-ndk&lt;br /&gt;
&lt;br /&gt;
If you do not use the NDK v7 (note: the build script will try to detect the SDK version)&lt;br /&gt;
&lt;br /&gt;
 export NO_NDK_V7=1&lt;br /&gt;
&lt;br /&gt;
Add some useful binaries to your $PATH &lt;br /&gt;
&lt;br /&gt;
 export PATH=$PATH:$ANDROID_SDK/platform-tools:$ANDROID_SDK/tools&lt;br /&gt;
&lt;br /&gt;
==== Devices ====&lt;br /&gt;
If you plan to use the emulator or if you have a phone that does not support NEON, you need a build without [[wikipedia:ARM_architecture#Advanced_SIMD_.28NEON.29|NEON]] &lt;br /&gt;
&lt;br /&gt;
 export NO_NEON=1&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Note:&#039;&#039;&#039; If you want to get a NEON build, the NO_NEON variable must remain unset (do not use NO_NEON=0).&lt;br /&gt;
&lt;br /&gt;
If you plan to use the build for a Tegra 2 device:&lt;br /&gt;
&lt;br /&gt;
 export TEGRA2=1&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;Those exports must be set at all times, notably for the contribs and the configure.&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
== Building ==&lt;br /&gt;
=== Get VLC Source ===&lt;br /&gt;
Use the VLC git repository to get the source! &lt;br /&gt;
&lt;br /&gt;
In your &#039;&#039;android&#039;&#039; folder, run: &lt;br /&gt;
&lt;br /&gt;
 git clone git://git.videolan.org/vlc-ports/android.git&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==== Compile ====&lt;br /&gt;
&#039;&#039;&#039;Read&#039;&#039;&#039; compile.sh first, as it contains some very useful important information. Then run it:&lt;br /&gt;
 sh compile.sh&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Note:&#039;&#039;&#039; At this point, you will get an autogenerated debug apk in the bin/ folder. In order to build a non-debug or custom package, use Eclipse as described below.&lt;br /&gt;
&lt;br /&gt;
==== Package in Eclipse ====&lt;br /&gt;
# In Eclipse, create a new Android project from existing source by giving the vlc-android path. &lt;br /&gt;
# Compile your project using Eclipse.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Note:&#039;&#039;&#039; Building against JDK6 is recommended for optimal compatibility (Set Java Compiler Compliance to 1.6).&lt;br /&gt;
&lt;br /&gt;
=== Run ===&lt;br /&gt;
Run it and enjoy!&lt;br /&gt;
&lt;br /&gt;
== Debugging ==&lt;br /&gt;
Here are some helpful links if you wish to debug VLC on Android:&lt;br /&gt;
* [http://developer.android.com/guide/developing/debugging/ddms.html DDMS] &lt;br /&gt;
* [http://developer.android.com/guide/developing/tools/logcat.html Logcat]&lt;br /&gt;
&lt;br /&gt;
== Troubleshooting ==&lt;br /&gt;
=== Outdated Awk ===&lt;br /&gt;
If you receive the error message while building:&lt;br /&gt;
&lt;br /&gt;
 Android NDK: Host &#039;awk&#039; tool is outdated. Please define HOST_AWK to point to Gawk or Nawk !    &lt;br /&gt;
&lt;br /&gt;
The prebuilt version of Awk that comes with the Android NDK is outdated. Defining HOST_AWK in your environment does nothing as the system still tries to just the one that comes with the Android NDK. To get around this issue, simply rename or delete the Awk binary that comes with the Android NDK. For example to move it:&lt;br /&gt;
&lt;br /&gt;
 mv $ANDROID_NDK/prebuilt/linux-x86/bin/awk $ANDROID_NDK/prebuilt/linux-x86/bin/awk.old&lt;br /&gt;
&lt;br /&gt;
=== Can&#039;t find Ant ===&lt;br /&gt;
If you&#039;re new to Ant, please be aware that some Linux distributions don&#039;t install it in the usual spot as with other programs. Try checking to see if the directory /usr/share/java/apache-ant/bin exists and add it to your path.&lt;br /&gt;
&lt;br /&gt;
[[Category:Building]]&lt;/div&gt;</summary>
		<author><name>Adridu59</name></author>
	</entry>
	<entry>
		<id>https://wiki.videolan.org/index.php?title=AndroidCompile&amp;diff=22696</id>
		<title>AndroidCompile</title>
		<link rel="alternate" type="text/html" href="https://wiki.videolan.org/index.php?title=AndroidCompile&amp;diff=22696"/>
		<updated>2012-06-04T12:46:03Z</updated>

		<summary type="html">&lt;p&gt;Adridu59: /* Devices */  Cleanup + cosmetics.&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;This page is an introduction to compilation of &#039;&#039;&#039;VLC for Android&#039;&#039;&#039; on Linux. &lt;br /&gt;
&lt;br /&gt;
==Eclipse, SDK and NDK installation==&lt;br /&gt;
&lt;br /&gt;
=== Requirements  ===&lt;br /&gt;
* You &#039;&#039;&#039;MUST&#039;&#039;&#039; be on Linux, and a recent one.&lt;br /&gt;
* You &#039;&#039;&#039;MUST&#039;&#039;&#039; have installed: &#039;&#039;apache-ant&#039;&#039; (or &#039;&#039;ant&#039;&#039;), &#039;&#039;autoconf&#039;&#039;, &#039;&#039;automake&#039;&#039;, &#039;&#039;autopoint&#039;&#039;, &#039;&#039;libtool&#039;&#039;, &#039;&#039;gawk&#039;&#039; (or &#039;&#039;nawk&#039;&#039;), &#039;&#039;gcc&#039;&#039;, &#039;&#039;g++&#039;&#039;, &#039;&#039;pkg-config&#039;&#039;, &#039;&#039;cmake&#039;&#039;, &#039;&#039;patch&#039;&#039;, &#039;&#039;subversion&#039;&#039;. And very up-to-date versions of those tools.&lt;br /&gt;
* You &#039;&#039;&#039;MUST&#039;&#039;&#039; install: &#039;&#039;git&#039;&#039;.&lt;br /&gt;
&lt;br /&gt;
===Android SDK===&lt;br /&gt;
#Create a working directory &#039;&#039;android&#039;&#039;. &lt;br /&gt;
#Go to [http://developer.android.com/sdk/index.html Android SDK page] and download the latest SDK for linux. &lt;br /&gt;
#Decompress into &#039;&#039;android&#039;&#039; folder. &lt;br /&gt;
#Run &#039;&#039;tools/android&#039;&#039; (from the command line you can also run: &amp;quot;tools/android update sdk -u -t platform,platform-tool,extra&amp;quot;) &lt;br /&gt;
#In the tool, install &#039;&#039;&#039;&amp;quot;SDK Platform Android 4.0, API 14&amp;quot;&#039;&#039;&#039;, and follow the instructions.&lt;br /&gt;
&lt;br /&gt;
You can have [http://developer.android.com/sdk/installing.html more details], if needed. &lt;br /&gt;
&lt;br /&gt;
===Android NDK===&lt;br /&gt;
# Check that the SDK installation is correct. &lt;br /&gt;
# Go to [http://developer.android.com/sdk/ndk/index.html Android NDK page] and download the latest NDK for linux. &lt;br /&gt;
# Decompress into &#039;&#039;android&#039;&#039; folder, next to your android-sdk-linux_x86 folder.&lt;br /&gt;
&lt;br /&gt;
===Eclipse===&lt;br /&gt;
As used by your distribution, install Eclipse with your package manager: &lt;br /&gt;
&lt;br /&gt;
 apt-get install eclipse (debian)&lt;br /&gt;
 yum install eclipse (Fedora)&lt;br /&gt;
 pacman -S eclipse (Arch)&lt;br /&gt;
 emerge -av eclipse-sdk (Gentoo)&lt;br /&gt;
 ...&lt;br /&gt;
&lt;br /&gt;
And run it, at least once, and then quit eclipse. &lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Note:&#039;&#039;&#039; On Debian-based distributions it is better to download Eclipse indigo builds from the official website : http://www.eclipse.org/downloads/, otherwise it can lead to an error when importing the ADT plugin (see following).&lt;br /&gt;
&lt;br /&gt;
====ADT====&lt;br /&gt;
The &#039;&#039;&#039;ADT&#039;&#039;&#039; plugin is required to compile on Android. &lt;br /&gt;
&lt;br /&gt;
#Go to [http://developer.android.com/sdk/eclipse-adt.html#installing ADT page]. &lt;br /&gt;
#Start Eclipse, then select Help &amp;amp;gt; Install New Software.... &lt;br /&gt;
#Add the &amp;quot;ADT Plugin&amp;quot; repository with https://dl-ssl.google.com/android/eclipse/ as &#039;&#039;&#039;URL&#039;&#039;&#039; &lt;br /&gt;
#Validate and select the checkbox next to Developer Tools and click Next, Next, Finish. &lt;br /&gt;
#Restart Eclipse. &lt;br /&gt;
#Go to &#039;&#039;Menu&#039;&#039; &amp;amp;gt; &#039;&#039;Window&#039;&#039; &amp;amp;gt; &#039;&#039;Preferences...&#039;&#039; and then &#039;&#039;Android&#039;&#039; from the left pane. &lt;br /&gt;
#Point the SDK Location in to your downloaded SDK directory. &lt;br /&gt;
#Ok, and quit Eclipse.&lt;br /&gt;
&lt;br /&gt;
See [http://developer.android.com/sdk/eclipse-adt.html#troubleshooting extra information here].&lt;br /&gt;
&lt;br /&gt;
=== Environment setup  ===&lt;br /&gt;
Set $ANDROID_SDK to point to your Android SDK directory &lt;br /&gt;
&lt;br /&gt;
 export ANDROID_SDK=/path/to/android-sdk&lt;br /&gt;
&lt;br /&gt;
Set $ANDROID_NDK to point to your Android NDK directory &lt;br /&gt;
&lt;br /&gt;
 export ANDROID_NDK=/path/to/android-ndk&lt;br /&gt;
&lt;br /&gt;
If you do not use the NDK v7 (note: the build script will try to detect the SDK version)&lt;br /&gt;
&lt;br /&gt;
 export NO_NDK_V7=1&lt;br /&gt;
&lt;br /&gt;
Add some useful binaries to your $PATH &lt;br /&gt;
&lt;br /&gt;
 export PATH=$PATH:$ANDROID_SDK/platform-tools:$ANDROID_SDK/tools&lt;br /&gt;
&lt;br /&gt;
==== Devices ====&lt;br /&gt;
If you plan to use the emulator or if you have a phone that does not support NEON, you need a build without [[wikipedia:ARM_architecture#Advanced_SIMD_.28NEON.29|NEON]] &lt;br /&gt;
&lt;br /&gt;
 export NO_NEON=1&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Note:&#039;&#039;&#039; If you want to get a NEON build, the NO_NEON variable must remain unset (do not use NO_NEON=0).&lt;br /&gt;
&lt;br /&gt;
If you plan to use the build for a Tegra 2 device:&lt;br /&gt;
&lt;br /&gt;
 export TEGRA2=1&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;Those exports must be set at all times, notably for the contribs and the configure.&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
== Building ==&lt;br /&gt;
=== Get VLC Source ===&lt;br /&gt;
Use the VLC git repository to get the source! &lt;br /&gt;
&lt;br /&gt;
In your &#039;&#039;android&#039;&#039; folder, run: &lt;br /&gt;
&lt;br /&gt;
 git clone git://git.videolan.org/vlc-ports/android.git&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==== Compile ====&lt;br /&gt;
&#039;&#039;&#039;Read&#039;&#039;&#039; compile.sh first, as it contains some very useful important information. Then run it:&lt;br /&gt;
 sh compile.sh&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Note:&#039;&#039;&#039; At this point, you will get an autogenerated debug apk in the bin/ folder. In order to build a non-debug or custom package, use Eclipse as described below.&lt;br /&gt;
&lt;br /&gt;
==== Package in Eclipse ====&lt;br /&gt;
# In Eclipse, create a new Android project from existing source by giving the vlc-android path. &lt;br /&gt;
# Compile your project using Eclipse.&lt;br /&gt;
&lt;br /&gt;
=== Run ===&lt;br /&gt;
Run it and enjoy!&lt;br /&gt;
&lt;br /&gt;
== Debugging ==&lt;br /&gt;
Here are some helpful links if you wish to debug VLC on Android:&lt;br /&gt;
* [http://developer.android.com/guide/developing/debugging/ddms.html DDMS] &lt;br /&gt;
* [http://developer.android.com/guide/developing/tools/logcat.html Logcat]&lt;br /&gt;
&lt;br /&gt;
== Troubleshooting ==&lt;br /&gt;
=== Outdated Awk ===&lt;br /&gt;
If you receive the error message while building:&lt;br /&gt;
&lt;br /&gt;
 Android NDK: Host &#039;awk&#039; tool is outdated. Please define HOST_AWK to point to Gawk or Nawk !    &lt;br /&gt;
&lt;br /&gt;
The prebuilt version of Awk that comes with the Android NDK is outdated. Defining HOST_AWK in your environment does nothing as the system still tries to just the one that comes with the Android NDK. To get around this issue, simply rename or delete the Awk binary that comes with the Android NDK. For example to move it:&lt;br /&gt;
&lt;br /&gt;
 mv $ANDROID_NDK/prebuilt/linux-x86/bin/awk $ANDROID_NDK/prebuilt/linux-x86/bin/awk.old&lt;br /&gt;
&lt;br /&gt;
=== Can&#039;t find Ant ===&lt;br /&gt;
If you&#039;re new to Ant, please be aware that some Linux distributions don&#039;t install it in the usual spot as with other programs. Try checking to see if the directory /usr/share/java/apache-ant/bin exists and add it to your path.&lt;br /&gt;
&lt;br /&gt;
[[Category:Building]]&lt;/div&gt;</summary>
		<author><name>Adridu59</name></author>
	</entry>
	<entry>
		<id>https://wiki.videolan.org/index.php?title=AndroidCompile&amp;diff=22512</id>
		<title>AndroidCompile</title>
		<link rel="alternate" type="text/html" href="https://wiki.videolan.org/index.php?title=AndroidCompile&amp;diff=22512"/>
		<updated>2012-04-10T18:10:30Z</updated>

		<summary type="html">&lt;p&gt;Adridu59: Revert note about NDKv7.&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;This page is an introduction to compilation of &#039;&#039;&#039;VLC for Android&#039;&#039;&#039; on Linux. &lt;br /&gt;
&lt;br /&gt;
==Eclipse, SDK and NDK installation==&lt;br /&gt;
&lt;br /&gt;
=== Requirements  ===&lt;br /&gt;
* You &#039;&#039;&#039;MUST&#039;&#039;&#039; be on Linux, and a recent one.&lt;br /&gt;
* You &#039;&#039;&#039;MUST&#039;&#039;&#039; have installed: &#039;&#039;apache-ant&#039;&#039; (or &#039;&#039;ant&#039;&#039;), &#039;&#039;autoconf&#039;&#039;, &#039;&#039;automake&#039;&#039;, &#039;&#039;autopoint&#039;&#039;, &#039;&#039;libtool&#039;&#039;, &#039;&#039;gawk&#039;&#039; (or &#039;&#039;nawk&#039;&#039;), &#039;&#039;gcc&#039;&#039;, &#039;&#039;g++&#039;&#039;, &#039;&#039;pkg-config&#039;&#039;, &#039;&#039;cmake&#039;&#039;, &#039;&#039;patch&#039;&#039;, &#039;&#039;subversion&#039;&#039;. And very up-to-date versions of those tools.&lt;br /&gt;
* You &#039;&#039;&#039;MUST&#039;&#039;&#039; install: &#039;&#039;git&#039;&#039;.&lt;br /&gt;
&lt;br /&gt;
===Android SDK===&lt;br /&gt;
#Create a working directory &#039;&#039;android&#039;&#039;. &lt;br /&gt;
#Go to [http://developer.android.com/sdk/index.html Android SDK page] and download the latest SDK for linux. &lt;br /&gt;
#Decompress into &#039;&#039;android&#039;&#039; folder. &lt;br /&gt;
#Run &#039;&#039;tools/android&#039;&#039; (from the command line you can also run: &amp;quot;tools/android update sdk -u -t platform,platform-tool,extra&amp;quot;) &lt;br /&gt;
#In the tool, install &#039;&#039;&#039;&amp;quot;SDK Platform Android 2.3, API 10&amp;quot;&#039;&#039;&#039;, and follow the instructions.&lt;br /&gt;
&lt;br /&gt;
You can have [http://developer.android.com/sdk/installing.html more details], if needed. &lt;br /&gt;
&lt;br /&gt;
===Android NDK===&lt;br /&gt;
# Check that the SDK installation is correct. &lt;br /&gt;
# Go to [http://developer.android.com/sdk/ndk/index.html Android NDK page] and download the latest NDK for linux. &lt;br /&gt;
# Decompress into &#039;&#039;android&#039;&#039; folder, next to your android-sdk-linux_x86 folder.&lt;br /&gt;
&lt;br /&gt;
===Eclipse===&lt;br /&gt;
As used by your distribution, install Eclipse with your package manager: &lt;br /&gt;
&lt;br /&gt;
 apt-get install eclipse (debian)&lt;br /&gt;
 yum install eclipse (Fedora)&lt;br /&gt;
 pacman -S eclipse (Arch)&lt;br /&gt;
 emerge -av eclipse-sdk (Gentoo)&lt;br /&gt;
 ...&lt;br /&gt;
&lt;br /&gt;
And run it, at least once, and then quit eclipse. &lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Note:&#039;&#039;&#039; On Debian-based distributions it is better to download Eclipse indigo builds from the official website : http://www.eclipse.org/downloads/, otherwise it can lead to an error when importing the ADT plugin (see following).&lt;br /&gt;
&lt;br /&gt;
====ADT====&lt;br /&gt;
The &#039;&#039;&#039;ADT&#039;&#039;&#039; plugin is required to compile on Android. &lt;br /&gt;
&lt;br /&gt;
#Go to [http://developer.android.com/sdk/eclipse-adt.html#installing ADT page]. &lt;br /&gt;
#Start Eclipse, then select Help &amp;amp;gt; Install New Software.... &lt;br /&gt;
#Add the &amp;quot;ADT Plugin&amp;quot; repository with https://dl-ssl.google.com/android/eclipse/ as &#039;&#039;&#039;URL&#039;&#039;&#039; &lt;br /&gt;
#Validate and select the checkbox next to Developer Tools and click Next, Next, Finish. &lt;br /&gt;
#Restart Eclipse. &lt;br /&gt;
#Go to &#039;&#039;Menu&#039;&#039; &amp;amp;gt; &#039;&#039;Window&#039;&#039; &amp;amp;gt; &#039;&#039;Preferences...&#039;&#039; and then &#039;&#039;Android&#039;&#039; from the left pane. &lt;br /&gt;
#Point the SDK Location in to your downloaded SDK directory. &lt;br /&gt;
#Ok, and quit Eclipse.&lt;br /&gt;
&lt;br /&gt;
See [http://developer.android.com/sdk/eclipse-adt.html#troubleshooting extra information here].&lt;br /&gt;
&lt;br /&gt;
=== Environment setup  ===&lt;br /&gt;
Set $ANDROID_SDK to point to your Android SDK directory &lt;br /&gt;
&lt;br /&gt;
 export ANDROID_SDK=/path/to/android-sdk&lt;br /&gt;
&lt;br /&gt;
Set $ANDROID_NDK to point to your Android NDK directory &lt;br /&gt;
&lt;br /&gt;
 export ANDROID_NDK=/path/to/android-ndk&lt;br /&gt;
&lt;br /&gt;
If you do not use the NDK v7 (note: the build script will try to detect the SDK version)&lt;br /&gt;
&lt;br /&gt;
 export NO_NDK_V7=1&lt;br /&gt;
&lt;br /&gt;
Add some useful binaries to your $PATH &lt;br /&gt;
&lt;br /&gt;
 export PATH=$PATH:$ANDROID_SDK/platform-tools&lt;br /&gt;
&lt;br /&gt;
If you plan to use the emulator or if you have a phone that does not support NEON, you need a build without [[wikipedia:ARM_architecture#Advanced_SIMD_.28NEON.29|NEON]] &lt;br /&gt;
&lt;br /&gt;
 export NO_NEON=1&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Note:&#039;&#039;&#039; If you want to get a NEON build, the NO_NEON variable must remain unset (do not use NO_NEON=0).&lt;br /&gt;
&lt;br /&gt;
Those exports must be set at all times, notably for the contribs and the configure.&lt;br /&gt;
&lt;br /&gt;
== Building ==&lt;br /&gt;
=== Get VLC Source ===&lt;br /&gt;
Use the VLC git repository to get the source! &lt;br /&gt;
&lt;br /&gt;
In your &#039;&#039;android&#039;&#039; folder, run: &lt;br /&gt;
&lt;br /&gt;
 git clone git://git.videolan.org/vlc-ports/android.git&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==== Compile ====&lt;br /&gt;
&#039;&#039;&#039;Read&#039;&#039;&#039; compile.sh first, as it contains some very useful important information. Then run it:&lt;br /&gt;
 sh compile.sh&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Note:&#039;&#039;&#039; At this point, you will get an autogenerated debug apk in the bin/ folder. In order to build a non-debug or custom package, use Eclipse as described below.&lt;br /&gt;
&lt;br /&gt;
==== Package in Eclipse ====&lt;br /&gt;
# In Eclipse, create a new Android project from existing source by giving the vlc-android path. &lt;br /&gt;
# Compile your project using Eclipse.&lt;br /&gt;
&lt;br /&gt;
=== Run ===&lt;br /&gt;
Run it and enjoy!&lt;br /&gt;
&lt;br /&gt;
== Debugging ==&lt;br /&gt;
Here are some helpful links if you wish to debug VLC on Android:&lt;br /&gt;
* [http://developer.android.com/guide/developing/debugging/ddms.html DDMS] &lt;br /&gt;
* [http://developer.android.com/guide/developing/tools/logcat.html Logcat]&lt;br /&gt;
&lt;br /&gt;
== Troubleshooting ==&lt;br /&gt;
=== Outdated Awk ===&lt;br /&gt;
If you receive the error message while building:&lt;br /&gt;
&lt;br /&gt;
 Android NDK: Host &#039;awk&#039; tool is outdated. Please define HOST_AWK to point to Gawk or Nawk !    &lt;br /&gt;
&lt;br /&gt;
The prebuilt version of Awk that comes with the Android NDK is outdated. Defining HOST_AWK in your environment does nothing as the system still tries to just the one that comes with the Android NDK. To get around this issue, simply rename or delete the Awk binary that comes with the Android NDK. For example to move it:&lt;br /&gt;
&lt;br /&gt;
 mv $ANDROID_NDK/prebuilt/linux-x86/bin/awk $ANDROID_NDK/prebuilt/linux-x86/bin/awk.old&lt;br /&gt;
&lt;br /&gt;
=== Can&#039;t find Ant ===&lt;br /&gt;
If you&#039;re new to Ant, please be aware that some Linux distributions don&#039;t install it in the usual spot as with other programs. Try checking to see if the directory /usr/share/java/apache-ant/bin exists and add it to your path.&lt;br /&gt;
&lt;br /&gt;
[[Category:Building]]&lt;/div&gt;</summary>
		<author><name>Adridu59</name></author>
	</entry>
	<entry>
		<id>https://wiki.videolan.org/index.php?title=AndroidCompile&amp;diff=22511</id>
		<title>AndroidCompile</title>
		<link rel="alternate" type="text/html" href="https://wiki.videolan.org/index.php?title=AndroidCompile&amp;diff=22511"/>
		<updated>2012-04-10T16:36:06Z</updated>

		<summary type="html">&lt;p&gt;Adridu59: Added a note regarding NDKv7.&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;This page is an introduction to compilation of &#039;&#039;&#039;VLC for Android&#039;&#039;&#039; on Linux. &lt;br /&gt;
&lt;br /&gt;
==Eclipse, SDK and NDK installation==&lt;br /&gt;
&lt;br /&gt;
=== Requirements  ===&lt;br /&gt;
* You &#039;&#039;&#039;MUST&#039;&#039;&#039; be on Linux, and a recent one.&lt;br /&gt;
* You &#039;&#039;&#039;MUST&#039;&#039;&#039; have installed: &#039;&#039;apache-ant&#039;&#039; (or &#039;&#039;ant&#039;&#039;), &#039;&#039;autoconf&#039;&#039;, &#039;&#039;automake&#039;&#039;, &#039;&#039;autopoint&#039;&#039;, &#039;&#039;libtool&#039;&#039;, &#039;&#039;gawk&#039;&#039; (or &#039;&#039;nawk&#039;&#039;), &#039;&#039;gcc&#039;&#039;, &#039;&#039;g++&#039;&#039;, &#039;&#039;pkg-config&#039;&#039;, &#039;&#039;cmake&#039;&#039;, &#039;&#039;patch&#039;&#039;, &#039;&#039;subversion&#039;&#039;. And very up-to-date versions of those tools.&lt;br /&gt;
* You &#039;&#039;&#039;MUST&#039;&#039;&#039; install: &#039;&#039;git&#039;&#039;.&lt;br /&gt;
&lt;br /&gt;
===Android SDK===&lt;br /&gt;
#Create a working directory &#039;&#039;android&#039;&#039;. &lt;br /&gt;
#Go to [http://developer.android.com/sdk/index.html Android SDK page] and download the latest SDK for linux. &lt;br /&gt;
#Decompress into &#039;&#039;android&#039;&#039; folder. &lt;br /&gt;
#Run &#039;&#039;tools/android&#039;&#039; (from the command line you can also run: &amp;quot;tools/android update sdk -u -t platform,platform-tool,extra&amp;quot;) &lt;br /&gt;
#In the tool, install &#039;&#039;&#039;&amp;quot;SDK Platform Android 2.3, API 10&amp;quot;&#039;&#039;&#039;, and follow the instructions.&lt;br /&gt;
&lt;br /&gt;
You can have [http://developer.android.com/sdk/installing.html more details], if needed. &lt;br /&gt;
&lt;br /&gt;
===Android NDK===&lt;br /&gt;
# Check that the SDK installation is correct. &lt;br /&gt;
# Go to [http://developer.android.com/sdk/ndk/index.html Android NDK page] and download the latest NDK for linux. &lt;br /&gt;
# Decompress into &#039;&#039;android&#039;&#039; folder, next to your android-sdk-linux_x86 folder.&lt;br /&gt;
&lt;br /&gt;
===Eclipse===&lt;br /&gt;
As used by your distribution, install Eclipse with your package manager: &lt;br /&gt;
&lt;br /&gt;
 apt-get install eclipse (debian)&lt;br /&gt;
 yum install eclipse (Fedora)&lt;br /&gt;
 pacman -S eclipse (Arch)&lt;br /&gt;
 emerge -av eclipse-sdk (Gentoo)&lt;br /&gt;
 ...&lt;br /&gt;
&lt;br /&gt;
And run it, at least once, and then quit eclipse. &lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Note:&#039;&#039;&#039; On Debian-based distributions it is better to download Eclipse indigo builds from the official website : http://www.eclipse.org/downloads/, otherwise it can lead to an error when importing the ADT plugin (see following).&lt;br /&gt;
&lt;br /&gt;
====ADT====&lt;br /&gt;
The &#039;&#039;&#039;ADT&#039;&#039;&#039; plugin is required to compile on Android. &lt;br /&gt;
&lt;br /&gt;
#Go to [http://developer.android.com/sdk/eclipse-adt.html#installing ADT page]. &lt;br /&gt;
#Start Eclipse, then select Help &amp;amp;gt; Install New Software.... &lt;br /&gt;
#Add the &amp;quot;ADT Plugin&amp;quot; repository with https://dl-ssl.google.com/android/eclipse/ as &#039;&#039;&#039;URL&#039;&#039;&#039; &lt;br /&gt;
#Validate and select the checkbox next to Developer Tools and click Next, Next, Finish. &lt;br /&gt;
#Restart Eclipse. &lt;br /&gt;
#Go to &#039;&#039;Menu&#039;&#039; &amp;amp;gt; &#039;&#039;Window&#039;&#039; &amp;amp;gt; &#039;&#039;Preferences...&#039;&#039; and then &#039;&#039;Android&#039;&#039; from the left pane. &lt;br /&gt;
#Point the SDK Location in to your downloaded SDK directory. &lt;br /&gt;
#Ok, and quit Eclipse.&lt;br /&gt;
&lt;br /&gt;
See [http://developer.android.com/sdk/eclipse-adt.html#troubleshooting extra information here].&lt;br /&gt;
&lt;br /&gt;
=== Environment setup  ===&lt;br /&gt;
Set $ANDROID_SDK to point to your Android SDK directory &lt;br /&gt;
&lt;br /&gt;
 export ANDROID_SDK=/path/to/android-sdk&lt;br /&gt;
&lt;br /&gt;
Set $ANDROID_NDK to point to your Android NDK directory &lt;br /&gt;
&lt;br /&gt;
 export ANDROID_NDK=/path/to/android-ndk&lt;br /&gt;
&lt;br /&gt;
If you do not use the NDK v7 (note: the build script will try to detect the SDK version)&lt;br /&gt;
&lt;br /&gt;
 export NO_NDK_V7=1&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Note:&#039;&#039;&#039; If you have NDKv7, the NO_NDK_V7 variable must remain unset (do not use NO_NDK_V7=0).&lt;br /&gt;
&lt;br /&gt;
Add some useful binaries to your $PATH &lt;br /&gt;
&lt;br /&gt;
 export PATH=$PATH:$ANDROID_SDK/platform-tools&lt;br /&gt;
&lt;br /&gt;
If you plan to use the emulator or if you have a phone that does not support NEON, you need a build without [[wikipedia:ARM_architecture#Advanced_SIMD_.28NEON.29|NEON]] &lt;br /&gt;
&lt;br /&gt;
 export NO_NEON=1&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Note:&#039;&#039;&#039; If you want to get a NEON build, the NO_NEON variable must remain unset (do not use NO_NEON=0).&lt;br /&gt;
&lt;br /&gt;
Those exports must be set at all times, notably for the contribs and the configure.&lt;br /&gt;
&lt;br /&gt;
== Building ==&lt;br /&gt;
=== Get VLC Source ===&lt;br /&gt;
Use the VLC git repository to get the source! &lt;br /&gt;
&lt;br /&gt;
In your &#039;&#039;android&#039;&#039; folder, run: &lt;br /&gt;
&lt;br /&gt;
 git clone git://git.videolan.org/vlc-ports/android.git&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==== Compile ====&lt;br /&gt;
&#039;&#039;&#039;Read&#039;&#039;&#039; compile.sh first, as it contains some very useful important information. Then run it:&lt;br /&gt;
 sh compile.sh&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Note:&#039;&#039;&#039; At this point, you will get an autogenerated debug apk in the bin/ folder. In order to build a non-debug or custom package, use Eclipse as described below.&lt;br /&gt;
&lt;br /&gt;
==== Package in Eclipse ====&lt;br /&gt;
# In Eclipse, create a new Android project from existing source by giving the vlc-android path. &lt;br /&gt;
# Compile your project using Eclipse.&lt;br /&gt;
&lt;br /&gt;
=== Run ===&lt;br /&gt;
Run it and enjoy!&lt;br /&gt;
&lt;br /&gt;
== Debugging ==&lt;br /&gt;
Here are some helpful links if you wish to debug VLC on Android:&lt;br /&gt;
* [http://developer.android.com/guide/developing/debugging/ddms.html DDMS] &lt;br /&gt;
* [http://developer.android.com/guide/developing/tools/logcat.html Logcat]&lt;br /&gt;
&lt;br /&gt;
== Troubleshooting ==&lt;br /&gt;
=== Outdated Awk ===&lt;br /&gt;
If you receive the error message while building:&lt;br /&gt;
&lt;br /&gt;
 Android NDK: Host &#039;awk&#039; tool is outdated. Please define HOST_AWK to point to Gawk or Nawk !    &lt;br /&gt;
&lt;br /&gt;
The prebuilt version of Awk that comes with the Android NDK is outdated. Defining HOST_AWK in your environment does nothing as the system still tries to just the one that comes with the Android NDK. To get around this issue, simply rename or delete the Awk binary that comes with the Android NDK. For example to move it:&lt;br /&gt;
&lt;br /&gt;
 mv $ANDROID_NDK/prebuilt/linux-x86/bin/awk $ANDROID_NDK/prebuilt/linux-x86/bin/awk.old&lt;br /&gt;
&lt;br /&gt;
=== Can&#039;t find Ant ===&lt;br /&gt;
If you&#039;re new to Ant, please be aware that some Linux distributions don&#039;t install it in the usual spot as with other programs. Try checking to see if the directory /usr/share/java/apache-ant/bin exists and add it to your path.&lt;br /&gt;
&lt;br /&gt;
[[Category:Building]]&lt;/div&gt;</summary>
		<author><name>Adridu59</name></author>
	</entry>
	<entry>
		<id>https://wiki.videolan.org/index.php?title=AndroidCompile&amp;diff=22479</id>
		<title>AndroidCompile</title>
		<link rel="alternate" type="text/html" href="https://wiki.videolan.org/index.php?title=AndroidCompile&amp;diff=22479"/>
		<updated>2012-04-05T21:13:34Z</updated>

		<summary type="html">&lt;p&gt;Adridu59: Updated SDK&amp;amp;NDK entries&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;This page is an introduction to compilation of &#039;&#039;&#039;VLC for Android&#039;&#039;&#039; on Linux. &lt;br /&gt;
&lt;br /&gt;
==Eclipse, SDK and NDK installation==&lt;br /&gt;
&lt;br /&gt;
=== Requirements  ===&lt;br /&gt;
* You &#039;&#039;&#039;MUST&#039;&#039;&#039; be on Linux, and a recent one.&lt;br /&gt;
* You &#039;&#039;&#039;MUST&#039;&#039;&#039; have installed: &#039;&#039;apache-ant&#039;&#039; (or &#039;&#039;ant&#039;&#039;), &#039;&#039;autoconf&#039;&#039;, &#039;&#039;automake&#039;&#039;, &#039;&#039;autopoint&#039;&#039;, &#039;&#039;libtool&#039;&#039;, &#039;&#039;gawk&#039;&#039; (or &#039;&#039;nawk&#039;&#039;), &#039;&#039;gcc&#039;&#039;, &#039;&#039;g++&#039;&#039;, &#039;&#039;pkg-config&#039;&#039;, &#039;&#039;cmake&#039;&#039;, &#039;&#039;patch&#039;&#039;, &#039;&#039;subversion&#039;&#039;. And very up-to-date versions of those tools.&lt;br /&gt;
* You &#039;&#039;&#039;MUST&#039;&#039;&#039; install: &#039;&#039;git&#039;&#039;.&lt;br /&gt;
&lt;br /&gt;
===Android SDK===&lt;br /&gt;
#Create a working directory &#039;&#039;android&#039;&#039;. &lt;br /&gt;
#Go to [http://developer.android.com/sdk/index.html Android SDK page] and download the latest SDK for linux. &lt;br /&gt;
#Decompress into &#039;&#039;android&#039;&#039; folder. &lt;br /&gt;
#Run &#039;&#039;tools/android&#039;&#039; (from the command line you can also run: &amp;quot;tools/android update sdk -u -t platform,platform-tool,extra&amp;quot;) &lt;br /&gt;
#In the tool, install &#039;&#039;&#039;&amp;quot;SDK Platform Android 2.3, API 10&amp;quot;&#039;&#039;&#039;, and follow the instructions.&lt;br /&gt;
&lt;br /&gt;
You can have [http://developer.android.com/sdk/installing.html more details], if needed. &lt;br /&gt;
&lt;br /&gt;
===Android NDK===&lt;br /&gt;
# Check that the SDK installation is correct. &lt;br /&gt;
# Go to [http://developer.android.com/sdk/ndk/index.html Android NDK page] and download the latest NDK for linux. &lt;br /&gt;
# Decompress into &#039;&#039;android&#039;&#039; folder, next to your android-sdk-linux_x86 folder.&lt;br /&gt;
&lt;br /&gt;
===Eclipse===&lt;br /&gt;
As used by your distribution, install Eclipse with your package manager: &lt;br /&gt;
&lt;br /&gt;
 apt-get install eclipse (debian)&lt;br /&gt;
 yum install eclipse (Fedora)&lt;br /&gt;
 pacman -S eclipse (Arch)&lt;br /&gt;
 emerge -av eclipse-sdk (Gentoo)&lt;br /&gt;
 ...&lt;br /&gt;
&lt;br /&gt;
And run it, at least once, and then quit eclipse. &lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Note:&#039;&#039;&#039; On Debian-based distributions it is better to download Eclipse indigo builds from the official website : http://www.eclipse.org/downloads/, otherwise it can lead to an error when importing the ADT plugin (see following).&lt;br /&gt;
&lt;br /&gt;
====ADT====&lt;br /&gt;
The &#039;&#039;&#039;ADT&#039;&#039;&#039; plugin is required to compile on Android. &lt;br /&gt;
&lt;br /&gt;
#Go to [http://developer.android.com/sdk/eclipse-adt.html#installing ADT page]. &lt;br /&gt;
#Start Eclipse, then select Help &amp;amp;gt; Install New Software.... &lt;br /&gt;
#Add the &amp;quot;ADT Plugin&amp;quot; repository with https://dl-ssl.google.com/android/eclipse/ as &#039;&#039;&#039;URL&#039;&#039;&#039; &lt;br /&gt;
#Validate and select the checkbox next to Developer Tools and click Next, Next, Finish. &lt;br /&gt;
#Restart Eclipse. &lt;br /&gt;
#Go to &#039;&#039;Menu&#039;&#039; &amp;amp;gt; &#039;&#039;Window&#039;&#039; &amp;amp;gt; &#039;&#039;Preferences...&#039;&#039; and then &#039;&#039;Android&#039;&#039; from the left pane. &lt;br /&gt;
#Point the SDK Location in to your downloaded SDK directory. &lt;br /&gt;
#Ok, and quit Eclipse.&lt;br /&gt;
&lt;br /&gt;
See [http://developer.android.com/sdk/eclipse-adt.html#troubleshooting extra information here].&lt;br /&gt;
&lt;br /&gt;
=== Environment setup  ===&lt;br /&gt;
Set $ANDROID_SDK to point to your Android SDK directory &lt;br /&gt;
&lt;br /&gt;
 export ANDROID_SDK=/path/to/android-sdk&lt;br /&gt;
&lt;br /&gt;
Set $ANDROID_NDK to point to your Android NDK directory &lt;br /&gt;
&lt;br /&gt;
 export ANDROID_NDK=/path/to/android-ndk&lt;br /&gt;
&lt;br /&gt;
If you do not use the NDK v7 (note: the build script will try to detect the SDK version)&lt;br /&gt;
&lt;br /&gt;
 export NO_NDK_V7=1&lt;br /&gt;
&lt;br /&gt;
Add some useful binaries to your $PATH &lt;br /&gt;
&lt;br /&gt;
 export PATH=$PATH:$ANDROID_SDK/platform-tools&lt;br /&gt;
&lt;br /&gt;
If you plan to use the emulator or if you have a phone that does not support NEON, you need a build without [[wikipedia:ARM_architecture#Advanced_SIMD_.28NEON.29|NEON]] &lt;br /&gt;
&lt;br /&gt;
 export NO_NEON=1&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Note:&#039;&#039;&#039; If you want to get a NEON build, the NO_NEON variable must remain unset (do not use NO_NEON=0).&lt;br /&gt;
&lt;br /&gt;
Those exports must be set at all times, notably for the contribs and the configure.&lt;br /&gt;
&lt;br /&gt;
== Building ==&lt;br /&gt;
=== Get VLC Source ===&lt;br /&gt;
Use the VLC git repository to get the source! &lt;br /&gt;
&lt;br /&gt;
In your &#039;&#039;android&#039;&#039; folder, run: &lt;br /&gt;
&lt;br /&gt;
 git clone git://git.videolan.org/vlc-ports/android.git&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==== Compile ====&lt;br /&gt;
&#039;&#039;&#039;Read&#039;&#039;&#039; compile.sh first, as it contains some very useful important information. Then run it:&lt;br /&gt;
 sh compile.sh&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Note:&#039;&#039;&#039; At this point, you will get an autogenerated debug apk in the bin/ folder. In order to build a non-debug or custom package, use Eclipse as described below.&lt;br /&gt;
&lt;br /&gt;
==== Package in Eclipse ====&lt;br /&gt;
# In Eclipse, create a new Android project from existing source by giving the vlc-android path. &lt;br /&gt;
# Compile your project using Eclipse.&lt;br /&gt;
&lt;br /&gt;
=== Run ===&lt;br /&gt;
Run it and enjoy!&lt;br /&gt;
&lt;br /&gt;
== Debugging ==&lt;br /&gt;
Here are some helpful links if you wish to debug VLC on Android:&lt;br /&gt;
* [http://developer.android.com/guide/developing/debugging/ddms.html DDMS] &lt;br /&gt;
* [http://developer.android.com/guide/developing/tools/logcat.html Logcat]&lt;br /&gt;
&lt;br /&gt;
== Troubleshooting ==&lt;br /&gt;
=== Outdated Awk ===&lt;br /&gt;
If you receive the error message while building:&lt;br /&gt;
&lt;br /&gt;
 Android NDK: Host &#039;awk&#039; tool is outdated. Please define HOST_AWK to point to Gawk or Nawk !    &lt;br /&gt;
&lt;br /&gt;
The prebuilt version of Awk that comes with the Android NDK is outdated. Defining HOST_AWK in your environment does nothing as the system still tries to just the one that comes with the Android NDK. To get around this issue, simply rename or delete the Awk binary that comes with the Android NDK. For example to move it:&lt;br /&gt;
&lt;br /&gt;
 mv $ANDROID_NDK/prebuilt/linux-x86/bin/awk $ANDROID_NDK/prebuilt/linux-x86/bin/awk.old&lt;br /&gt;
&lt;br /&gt;
=== Can&#039;t find Ant ===&lt;br /&gt;
If you&#039;re new to Ant, please be aware that some Linux distributions don&#039;t install it in the usual spot as with other programs. Try checking to see if the directory /usr/share/java/apache-ant/bin exists and add it to your path.&lt;br /&gt;
&lt;br /&gt;
[[Category:Building]]&lt;/div&gt;</summary>
		<author><name>Adridu59</name></author>
	</entry>
	<entry>
		<id>https://wiki.videolan.org/index.php?title=AndroidCompile&amp;diff=22478</id>
		<title>AndroidCompile</title>
		<link rel="alternate" type="text/html" href="https://wiki.videolan.org/index.php?title=AndroidCompile&amp;diff=22478"/>
		<updated>2012-04-05T21:06:09Z</updated>

		<summary type="html">&lt;p&gt;Adridu59: Added a note regarding built file.&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;This page is an introduction to compilation of &#039;&#039;&#039;VLC for Android&#039;&#039;&#039; on Linux. &lt;br /&gt;
&lt;br /&gt;
==Eclipse, SDK and NDK installation==&lt;br /&gt;
&lt;br /&gt;
=== Requirements  ===&lt;br /&gt;
* You &#039;&#039;&#039;MUST&#039;&#039;&#039; be on Linux, and a recent one.&lt;br /&gt;
* You &#039;&#039;&#039;MUST&#039;&#039;&#039; have installed: &#039;&#039;apache-ant&#039;&#039; (or &#039;&#039;ant&#039;&#039;), &#039;&#039;autoconf&#039;&#039;, &#039;&#039;automake&#039;&#039;, &#039;&#039;autopoint&#039;&#039;, &#039;&#039;libtool&#039;&#039;, &#039;&#039;gawk&#039;&#039; (or &#039;&#039;nawk&#039;&#039;), &#039;&#039;gcc&#039;&#039;, &#039;&#039;g++&#039;&#039;, &#039;&#039;pkg-config&#039;&#039;, &#039;&#039;cmake&#039;&#039;, &#039;&#039;patch&#039;&#039;, &#039;&#039;subversion&#039;&#039;. And very up-to-date versions of those tools.&lt;br /&gt;
* You &#039;&#039;&#039;MUST&#039;&#039;&#039; install: &#039;&#039;git&#039;&#039;.&lt;br /&gt;
&lt;br /&gt;
===Android SDK===&lt;br /&gt;
#Create a working directory &#039;&#039;android&#039;&#039;. &lt;br /&gt;
#Go to [http://developer.android.com/sdk/index.html Android SDK page] and download android-sdk_r10-linux_x86.tgz. &lt;br /&gt;
#Decompress into &#039;&#039;android&#039;&#039; folder. &lt;br /&gt;
#Run &#039;&#039;tools/android&#039;&#039; (from the command line you can also run: &amp;quot;tools/android update sdk -u -t platform,platform-tool,extra&amp;quot;) &lt;br /&gt;
#In the tool, install &#039;&#039;&#039;&amp;quot;SDK Platform Android 2.3, API 10&amp;quot;&#039;&#039;&#039;, and follow the instructions.&lt;br /&gt;
&lt;br /&gt;
You can have [http://developer.android.com/sdk/installing.html more details], if needed. &lt;br /&gt;
&lt;br /&gt;
===Android NDK===&lt;br /&gt;
# Check that the SDK installation is correct. &lt;br /&gt;
# Go to [http://developer.android.com/sdk/ndk/index.html Android NDK page]. &lt;br /&gt;
# Download http://dl.google.com/android/ndk/android-ndk-r5b-linux-x86.tar.bz2. &lt;br /&gt;
# Decompress into &#039;&#039;android&#039;&#039; folder, next to your android-sdk-linux_x86 folder.&lt;br /&gt;
&lt;br /&gt;
===Eclipse===&lt;br /&gt;
As used by your distribution, install Eclipse with your package manager: &lt;br /&gt;
&lt;br /&gt;
 apt-get install eclipse (debian)&lt;br /&gt;
 yum install eclipse (Fedora)&lt;br /&gt;
 pacman -S eclipse (Arch)&lt;br /&gt;
 emerge -av eclipse-sdk (Gentoo)&lt;br /&gt;
 ...&lt;br /&gt;
&lt;br /&gt;
And run it, at least once, and then quit eclipse. &lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Note:&#039;&#039;&#039; On Debian-based distributions it is better to download Eclipse indigo builds from the official website : http://www.eclipse.org/downloads/, otherwise it can lead to an error when importing the ADT plugin (see following).&lt;br /&gt;
&lt;br /&gt;
====ADT====&lt;br /&gt;
The &#039;&#039;&#039;ADT&#039;&#039;&#039; plugin is required to compile on Android. &lt;br /&gt;
&lt;br /&gt;
#Go to [http://developer.android.com/sdk/eclipse-adt.html#installing ADT page]. &lt;br /&gt;
#Start Eclipse, then select Help &amp;amp;gt; Install New Software.... &lt;br /&gt;
#Add the &amp;quot;ADT Plugin&amp;quot; repository with https://dl-ssl.google.com/android/eclipse/ as &#039;&#039;&#039;URL&#039;&#039;&#039; &lt;br /&gt;
#Validate and select the checkbox next to Developer Tools and click Next, Next, Finish. &lt;br /&gt;
#Restart Eclipse. &lt;br /&gt;
#Go to &#039;&#039;Menu&#039;&#039; &amp;amp;gt; &#039;&#039;Window&#039;&#039; &amp;amp;gt; &#039;&#039;Preferences...&#039;&#039; and then &#039;&#039;Android&#039;&#039; from the left pane. &lt;br /&gt;
#Point the SDK Location in to your downloaded SDK directory. &lt;br /&gt;
#Ok, and quit Eclipse.&lt;br /&gt;
&lt;br /&gt;
See [http://developer.android.com/sdk/eclipse-adt.html#troubleshooting extra information here].&lt;br /&gt;
&lt;br /&gt;
=== Environment setup  ===&lt;br /&gt;
Set $ANDROID_SDK to point to your Android SDK directory &lt;br /&gt;
&lt;br /&gt;
 export ANDROID_SDK=/path/to/android-sdk&lt;br /&gt;
&lt;br /&gt;
Set $ANDROID_NDK to point to your Android NDK directory &lt;br /&gt;
&lt;br /&gt;
 export ANDROID_NDK=/path/to/android-ndk&lt;br /&gt;
&lt;br /&gt;
Add some useful binaries to your $PATH &lt;br /&gt;
&lt;br /&gt;
 export PATH=$PATH:$ANDROID_SDK/tools:$ANDROID_SDK/platform-tools&lt;br /&gt;
&lt;br /&gt;
If you plan to use the emulator or if you have a phone that does not support NEON, you need a build without [[wikipedia:ARM_architecture#Advanced_SIMD_.28NEON.29|NEON]] &lt;br /&gt;
&lt;br /&gt;
 export NO_NEON=1&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Note:&#039;&#039;&#039; If you want to get a NEON build, the NO_NEON variable must remain unset (do not use NO_NEON=0).&lt;br /&gt;
&lt;br /&gt;
Those exports must be set at all times, notably for the contribs and the configure.&lt;br /&gt;
&lt;br /&gt;
== Building ==&lt;br /&gt;
=== Get VLC Source ===&lt;br /&gt;
Use the VLC git repository to get the source! &lt;br /&gt;
&lt;br /&gt;
In your &#039;&#039;android&#039;&#039; folder, run: &lt;br /&gt;
&lt;br /&gt;
 git clone git://git.videolan.org/vlc-ports/android.git&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==== Compile ====&lt;br /&gt;
&#039;&#039;&#039;Read&#039;&#039;&#039; compile.sh first, as it contains some very useful important information. Then run it:&lt;br /&gt;
 sh compile.sh&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Note:&#039;&#039;&#039; At this point, you will get an autogenerated debug apk in the bin/ folder. In order to build a non-debug or custom package, use Eclipse as described below.&lt;br /&gt;
&lt;br /&gt;
==== Package in Eclipse ====&lt;br /&gt;
# In Eclipse, create a new Android project from existing source by giving the vlc-android path. &lt;br /&gt;
# Compile your project using Eclipse.&lt;br /&gt;
&lt;br /&gt;
=== Run ===&lt;br /&gt;
Run it and enjoy!&lt;br /&gt;
&lt;br /&gt;
== Debugging ==&lt;br /&gt;
Here are some helpful links if you wish to debug VLC on Android:&lt;br /&gt;
* [http://developer.android.com/guide/developing/debugging/ddms.html DDMS] &lt;br /&gt;
* [http://developer.android.com/guide/developing/tools/logcat.html Logcat]&lt;br /&gt;
&lt;br /&gt;
== Troubleshooting ==&lt;br /&gt;
=== Outdated Awk ===&lt;br /&gt;
If you receive the error message while building:&lt;br /&gt;
&lt;br /&gt;
 Android NDK: Host &#039;awk&#039; tool is outdated. Please define HOST_AWK to point to Gawk or Nawk !    &lt;br /&gt;
&lt;br /&gt;
The prebuilt version of Awk that comes with the Android NDK is outdated. Defining HOST_AWK in your environment does nothing as the system still tries to just the one that comes with the Android NDK. To get around this issue, simply rename or delete the Awk binary that comes with the Android NDK. For example to move it:&lt;br /&gt;
&lt;br /&gt;
 mv $ANDROID_NDK/prebuilt/linux-x86/bin/awk $ANDROID_NDK/prebuilt/linux-x86/bin/awk.old&lt;br /&gt;
&lt;br /&gt;
=== Can&#039;t find Ant ===&lt;br /&gt;
If you&#039;re new to Ant, please be aware that some Linux distributions don&#039;t install it in the usual spot as with other programs. Try checking to see if the directory /usr/share/java/apache-ant/bin exists and add it to your path.&lt;br /&gt;
&lt;br /&gt;
[[Category:Building]]&lt;/div&gt;</summary>
		<author><name>Adridu59</name></author>
	</entry>
	<entry>
		<id>https://wiki.videolan.org/index.php?title=AndroidCompile&amp;diff=22477</id>
		<title>AndroidCompile</title>
		<link rel="alternate" type="text/html" href="https://wiki.videolan.org/index.php?title=AndroidCompile&amp;diff=22477"/>
		<updated>2012-04-05T21:02:53Z</updated>

		<summary type="html">&lt;p&gt;Adridu59: Added a note regarding NEON.&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;This page is an introduction to compilation of &#039;&#039;&#039;VLC for Android&#039;&#039;&#039; on Linux. &lt;br /&gt;
&lt;br /&gt;
==Eclipse, SDK and NDK installation==&lt;br /&gt;
&lt;br /&gt;
=== Requirements  ===&lt;br /&gt;
* You &#039;&#039;&#039;MUST&#039;&#039;&#039; be on Linux, and a recent one.&lt;br /&gt;
* You &#039;&#039;&#039;MUST&#039;&#039;&#039; have installed: &#039;&#039;apache-ant&#039;&#039; (or &#039;&#039;ant&#039;&#039;), &#039;&#039;autoconf&#039;&#039;, &#039;&#039;automake&#039;&#039;, &#039;&#039;autopoint&#039;&#039;, &#039;&#039;libtool&#039;&#039;, &#039;&#039;gawk&#039;&#039; (or &#039;&#039;nawk&#039;&#039;), &#039;&#039;gcc&#039;&#039;, &#039;&#039;g++&#039;&#039;, &#039;&#039;pkg-config&#039;&#039;, &#039;&#039;cmake&#039;&#039;, &#039;&#039;patch&#039;&#039;, &#039;&#039;subversion&#039;&#039;. And very up-to-date versions of those tools.&lt;br /&gt;
* You &#039;&#039;&#039;MUST&#039;&#039;&#039; install: &#039;&#039;git&#039;&#039;.&lt;br /&gt;
&lt;br /&gt;
===Android SDK===&lt;br /&gt;
#Create a working directory &#039;&#039;android&#039;&#039;. &lt;br /&gt;
#Go to [http://developer.android.com/sdk/index.html Android SDK page] and download android-sdk_r10-linux_x86.tgz. &lt;br /&gt;
#Decompress into &#039;&#039;android&#039;&#039; folder. &lt;br /&gt;
#Run &#039;&#039;tools/android&#039;&#039; (from the command line you can also run: &amp;quot;tools/android update sdk -u -t platform,platform-tool,extra&amp;quot;) &lt;br /&gt;
#In the tool, install &#039;&#039;&#039;&amp;quot;SDK Platform Android 2.3, API 10&amp;quot;&#039;&#039;&#039;, and follow the instructions.&lt;br /&gt;
&lt;br /&gt;
You can have [http://developer.android.com/sdk/installing.html more details], if needed. &lt;br /&gt;
&lt;br /&gt;
===Android NDK===&lt;br /&gt;
# Check that the SDK installation is correct. &lt;br /&gt;
# Go to [http://developer.android.com/sdk/ndk/index.html Android NDK page]. &lt;br /&gt;
# Download http://dl.google.com/android/ndk/android-ndk-r5b-linux-x86.tar.bz2. &lt;br /&gt;
# Decompress into &#039;&#039;android&#039;&#039; folder, next to your android-sdk-linux_x86 folder.&lt;br /&gt;
&lt;br /&gt;
===Eclipse===&lt;br /&gt;
As used by your distribution, install Eclipse with your package manager: &lt;br /&gt;
&lt;br /&gt;
 apt-get install eclipse (debian)&lt;br /&gt;
 yum install eclipse (Fedora)&lt;br /&gt;
 pacman -S eclipse (Arch)&lt;br /&gt;
 emerge -av eclipse-sdk (Gentoo)&lt;br /&gt;
 ...&lt;br /&gt;
&lt;br /&gt;
And run it, at least once, and then quit eclipse. &lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Note:&#039;&#039;&#039; On Debian-based distributions it is better to download Eclipse indigo builds from the official website : http://www.eclipse.org/downloads/, otherwise it can lead to an error when importing the ADT plugin (see following).&lt;br /&gt;
&lt;br /&gt;
====ADT====&lt;br /&gt;
The &#039;&#039;&#039;ADT&#039;&#039;&#039; plugin is required to compile on Android. &lt;br /&gt;
&lt;br /&gt;
#Go to [http://developer.android.com/sdk/eclipse-adt.html#installing ADT page]. &lt;br /&gt;
#Start Eclipse, then select Help &amp;amp;gt; Install New Software.... &lt;br /&gt;
#Add the &amp;quot;ADT Plugin&amp;quot; repository with https://dl-ssl.google.com/android/eclipse/ as &#039;&#039;&#039;URL&#039;&#039;&#039; &lt;br /&gt;
#Validate and select the checkbox next to Developer Tools and click Next, Next, Finish. &lt;br /&gt;
#Restart Eclipse. &lt;br /&gt;
#Go to &#039;&#039;Menu&#039;&#039; &amp;amp;gt; &#039;&#039;Window&#039;&#039; &amp;amp;gt; &#039;&#039;Preferences...&#039;&#039; and then &#039;&#039;Android&#039;&#039; from the left pane. &lt;br /&gt;
#Point the SDK Location in to your downloaded SDK directory. &lt;br /&gt;
#Ok, and quit Eclipse.&lt;br /&gt;
&lt;br /&gt;
See [http://developer.android.com/sdk/eclipse-adt.html#troubleshooting extra information here].&lt;br /&gt;
&lt;br /&gt;
=== Environment setup  ===&lt;br /&gt;
Set $ANDROID_SDK to point to your Android SDK directory &lt;br /&gt;
&lt;br /&gt;
 export ANDROID_SDK=/path/to/android-sdk&lt;br /&gt;
&lt;br /&gt;
Set $ANDROID_NDK to point to your Android NDK directory &lt;br /&gt;
&lt;br /&gt;
 export ANDROID_NDK=/path/to/android-ndk&lt;br /&gt;
&lt;br /&gt;
Add some useful binaries to your $PATH &lt;br /&gt;
&lt;br /&gt;
 export PATH=$PATH:$ANDROID_SDK/tools:$ANDROID_SDK/platform-tools&lt;br /&gt;
&lt;br /&gt;
If you plan to use the emulator or if you have a phone that does not support NEON, you need a build without [[wikipedia:ARM_architecture#Advanced_SIMD_.28NEON.29|NEON]] &lt;br /&gt;
&lt;br /&gt;
 export NO_NEON=1&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Note:&#039;&#039;&#039; If you want to get a NEON build, the NO_NEON variable must remain unset (do not use NO_NEON=0).&lt;br /&gt;
&lt;br /&gt;
Those exports must be set at all times, notably for the contribs and the configure.&lt;br /&gt;
&lt;br /&gt;
== Building ==&lt;br /&gt;
=== Get VLC Source ===&lt;br /&gt;
Use the VLC git repository to get the source! &lt;br /&gt;
&lt;br /&gt;
In your &#039;&#039;android&#039;&#039; folder, run: &lt;br /&gt;
&lt;br /&gt;
 git clone git://git.videolan.org/vlc-ports/android.git&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==== Compile ====&lt;br /&gt;
&#039;&#039;&#039;Read&#039;&#039;&#039; compile.sh first, as it contains some very useful important information. Then run it:&lt;br /&gt;
 sh compile.sh&lt;br /&gt;
&lt;br /&gt;
==== Package in Eclipse ====&lt;br /&gt;
# In Eclipse, create a new Android project from existing source by giving the vlc-android path. &lt;br /&gt;
# Compile your project using Eclipse.&lt;br /&gt;
&lt;br /&gt;
=== Run ===&lt;br /&gt;
Run it and enjoy! &lt;br /&gt;
&lt;br /&gt;
== Debugging ==&lt;br /&gt;
Here are some helpful links if you wish to debug VLC on Android:&lt;br /&gt;
* [http://developer.android.com/guide/developing/debugging/ddms.html DDMS] &lt;br /&gt;
* [http://developer.android.com/guide/developing/tools/logcat.html Logcat]&lt;br /&gt;
&lt;br /&gt;
== Troubleshooting ==&lt;br /&gt;
=== Outdated Awk ===&lt;br /&gt;
If you receive the error message while building:&lt;br /&gt;
&lt;br /&gt;
 Android NDK: Host &#039;awk&#039; tool is outdated. Please define HOST_AWK to point to Gawk or Nawk !    &lt;br /&gt;
&lt;br /&gt;
The prebuilt version of Awk that comes with the Android NDK is outdated. Defining HOST_AWK in your environment does nothing as the system still tries to just the one that comes with the Android NDK. To get around this issue, simply rename or delete the Awk binary that comes with the Android NDK. For example to move it:&lt;br /&gt;
&lt;br /&gt;
 mv $ANDROID_NDK/prebuilt/linux-x86/bin/awk $ANDROID_NDK/prebuilt/linux-x86/bin/awk.old&lt;br /&gt;
&lt;br /&gt;
=== Can&#039;t find Ant ===&lt;br /&gt;
If you&#039;re new to Ant, please be aware that some Linux distributions don&#039;t install it in the usual spot as with other programs. Try checking to see if the directory /usr/share/java/apache-ant/bin exists and add it to your path.&lt;br /&gt;
&lt;br /&gt;
[[Category:Building]]&lt;/div&gt;</summary>
		<author><name>Adridu59</name></author>
	</entry>
	<entry>
		<id>https://wiki.videolan.org/index.php?title=AndroidCompile&amp;diff=22476</id>
		<title>AndroidCompile</title>
		<link rel="alternate" type="text/html" href="https://wiki.videolan.org/index.php?title=AndroidCompile&amp;diff=22476"/>
		<updated>2012-04-05T21:01:13Z</updated>

		<summary type="html">&lt;p&gt;Adridu59: Cosmetics.&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;This page is an introduction to compilation of &#039;&#039;&#039;VLC for Android&#039;&#039;&#039; on Linux. &lt;br /&gt;
&lt;br /&gt;
==Eclipse, SDK and NDK installation==&lt;br /&gt;
&lt;br /&gt;
=== Requirements  ===&lt;br /&gt;
* You &#039;&#039;&#039;MUST&#039;&#039;&#039; be on Linux, and a recent one.&lt;br /&gt;
* You &#039;&#039;&#039;MUST&#039;&#039;&#039; have installed: &#039;&#039;apache-ant&#039;&#039; (or &#039;&#039;ant&#039;&#039;), &#039;&#039;autoconf&#039;&#039;, &#039;&#039;automake&#039;&#039;, &#039;&#039;autopoint&#039;&#039;, &#039;&#039;libtool&#039;&#039;, &#039;&#039;gawk&#039;&#039; (or &#039;&#039;nawk&#039;&#039;), &#039;&#039;gcc&#039;&#039;, &#039;&#039;g++&#039;&#039;, &#039;&#039;pkg-config&#039;&#039;, &#039;&#039;cmake&#039;&#039;, &#039;&#039;patch&#039;&#039;, &#039;&#039;subversion&#039;&#039;. And very up-to-date versions of those tools.&lt;br /&gt;
* You &#039;&#039;&#039;MUST&#039;&#039;&#039; install: &#039;&#039;git&#039;&#039;.&lt;br /&gt;
&lt;br /&gt;
===Android SDK===&lt;br /&gt;
#Create a working directory &#039;&#039;android&#039;&#039;. &lt;br /&gt;
#Go to [http://developer.android.com/sdk/index.html Android SDK page] and download android-sdk_r10-linux_x86.tgz. &lt;br /&gt;
#Decompress into &#039;&#039;android&#039;&#039; folder. &lt;br /&gt;
#Run &#039;&#039;tools/android&#039;&#039; (from the command line you can also run: &amp;quot;tools/android update sdk -u -t platform,platform-tool,extra&amp;quot;) &lt;br /&gt;
#In the tool, install &#039;&#039;&#039;&amp;quot;SDK Platform Android 2.3, API 10&amp;quot;&#039;&#039;&#039;, and follow the instructions.&lt;br /&gt;
&lt;br /&gt;
You can have [http://developer.android.com/sdk/installing.html more details], if needed. &lt;br /&gt;
&lt;br /&gt;
===Android NDK===&lt;br /&gt;
# Check that the SDK installation is correct. &lt;br /&gt;
# Go to [http://developer.android.com/sdk/ndk/index.html Android NDK page]. &lt;br /&gt;
# Download http://dl.google.com/android/ndk/android-ndk-r5b-linux-x86.tar.bz2. &lt;br /&gt;
# Decompress into &#039;&#039;android&#039;&#039; folder, next to your android-sdk-linux_x86 folder.&lt;br /&gt;
&lt;br /&gt;
===Eclipse===&lt;br /&gt;
As used by your distribution, install Eclipse with your package manager: &lt;br /&gt;
&lt;br /&gt;
 apt-get install eclipse (debian)&lt;br /&gt;
 yum install eclipse (Fedora)&lt;br /&gt;
 pacman -S eclipse (Arch)&lt;br /&gt;
 emerge -av eclipse-sdk (Gentoo)&lt;br /&gt;
 ...&lt;br /&gt;
&lt;br /&gt;
And run it, at least once, and then quit eclipse. &lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Note:&#039;&#039;&#039; On Debian-based distributions it is better to download Eclipse indigo builds from the official website : http://www.eclipse.org/downloads/, otherwise it can lead to an error when importing the ADT plugin (see following).&lt;br /&gt;
&lt;br /&gt;
====ADT====&lt;br /&gt;
The &#039;&#039;&#039;ADT&#039;&#039;&#039; plugin is required to compile on Android. &lt;br /&gt;
&lt;br /&gt;
#Go to [http://developer.android.com/sdk/eclipse-adt.html#installing ADT page]. &lt;br /&gt;
#Start Eclipse, then select Help &amp;amp;gt; Install New Software.... &lt;br /&gt;
#Add the &amp;quot;ADT Plugin&amp;quot; repository with https://dl-ssl.google.com/android/eclipse/ as &#039;&#039;&#039;URL&#039;&#039;&#039; &lt;br /&gt;
#Validate and select the checkbox next to Developer Tools and click Next, Next, Finish. &lt;br /&gt;
#Restart Eclipse. &lt;br /&gt;
#Go to &#039;&#039;Menu&#039;&#039; &amp;amp;gt; &#039;&#039;Window&#039;&#039; &amp;amp;gt; &#039;&#039;Preferences...&#039;&#039; and then &#039;&#039;Android&#039;&#039; from the left pane. &lt;br /&gt;
#Point the SDK Location in to your downloaded SDK directory. &lt;br /&gt;
#Ok, and quit Eclipse.&lt;br /&gt;
&lt;br /&gt;
See [http://developer.android.com/sdk/eclipse-adt.html#troubleshooting extra information here].&lt;br /&gt;
&lt;br /&gt;
=== Environment setup  ===&lt;br /&gt;
Set $ANDROID_SDK to point to your Android SDK directory &lt;br /&gt;
&lt;br /&gt;
 export ANDROID_SDK=/path/to/android-sdk&lt;br /&gt;
&lt;br /&gt;
Set $ANDROID_NDK to point to your Android NDK directory &lt;br /&gt;
&lt;br /&gt;
 export ANDROID_NDK=/path/to/android-ndk&lt;br /&gt;
&lt;br /&gt;
Add some useful binaries to your $PATH &lt;br /&gt;
&lt;br /&gt;
 export PATH=$PATH:$ANDROID_SDK/tools:$ANDROID_SDK/platform-tools&lt;br /&gt;
&lt;br /&gt;
If you plan to use the emulator or if you have a phone that does not support NEON, you need a build without [[wikipedia:ARM_architecture#Advanced_SIMD_.28NEON.29|NEON]] &lt;br /&gt;
&lt;br /&gt;
 export NO_NEON=1&lt;br /&gt;
&lt;br /&gt;
Those exports must be set at all times, notably for the contribs and the configure.&lt;br /&gt;
&lt;br /&gt;
== Building ==&lt;br /&gt;
=== Get VLC Source ===&lt;br /&gt;
Use the VLC git repository to get the source! &lt;br /&gt;
&lt;br /&gt;
In your &#039;&#039;android&#039;&#039; folder, run: &lt;br /&gt;
&lt;br /&gt;
 git clone git://git.videolan.org/vlc-ports/android.git&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==== Compile ====&lt;br /&gt;
&#039;&#039;&#039;Read&#039;&#039;&#039; compile.sh first, as it contains some very useful important information. Then run it:&lt;br /&gt;
 sh compile.sh&lt;br /&gt;
&lt;br /&gt;
==== Package in Eclipse ====&lt;br /&gt;
# In Eclipse, create a new Android project from existing source by giving the vlc-android path. &lt;br /&gt;
# Compile your project using Eclipse.&lt;br /&gt;
&lt;br /&gt;
=== Run ===&lt;br /&gt;
Run it and enjoy! &lt;br /&gt;
&lt;br /&gt;
== Debugging ==&lt;br /&gt;
Here are some helpful links if you wish to debug VLC on Android:&lt;br /&gt;
* [http://developer.android.com/guide/developing/debugging/ddms.html DDMS] &lt;br /&gt;
* [http://developer.android.com/guide/developing/tools/logcat.html Logcat]&lt;br /&gt;
&lt;br /&gt;
== Troubleshooting ==&lt;br /&gt;
=== Outdated Awk ===&lt;br /&gt;
If you receive the error message while building:&lt;br /&gt;
&lt;br /&gt;
 Android NDK: Host &#039;awk&#039; tool is outdated. Please define HOST_AWK to point to Gawk or Nawk !    &lt;br /&gt;
&lt;br /&gt;
The prebuilt version of Awk that comes with the Android NDK is outdated. Defining HOST_AWK in your environment does nothing as the system still tries to just the one that comes with the Android NDK. To get around this issue, simply rename or delete the Awk binary that comes with the Android NDK. For example to move it:&lt;br /&gt;
&lt;br /&gt;
 mv $ANDROID_NDK/prebuilt/linux-x86/bin/awk $ANDROID_NDK/prebuilt/linux-x86/bin/awk.old&lt;br /&gt;
&lt;br /&gt;
=== Can&#039;t find Ant ===&lt;br /&gt;
If you&#039;re new to Ant, please be aware that some Linux distributions don&#039;t install it in the usual spot as with other programs. Try checking to see if the directory /usr/share/java/apache-ant/bin exists and add it to your path.&lt;br /&gt;
&lt;br /&gt;
[[Category:Building]]&lt;/div&gt;</summary>
		<author><name>Adridu59</name></author>
	</entry>
	<entry>
		<id>https://wiki.videolan.org/index.php?title=AndroidCompile&amp;diff=22475</id>
		<title>AndroidCompile</title>
		<link rel="alternate" type="text/html" href="https://wiki.videolan.org/index.php?title=AndroidCompile&amp;diff=22475"/>
		<updated>2012-04-05T21:00:44Z</updated>

		<summary type="html">&lt;p&gt;Adridu59: Added indigo builds note.&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;This page is an introduction to compilation of &#039;&#039;&#039;VLC for Android&#039;&#039;&#039; on Linux. &lt;br /&gt;
&lt;br /&gt;
==Eclipse, SDK and NDK installation==&lt;br /&gt;
&lt;br /&gt;
=== Requirements  ===&lt;br /&gt;
* You &#039;&#039;&#039;MUST&#039;&#039;&#039; be on Linux, and a recent one.&lt;br /&gt;
* You &#039;&#039;&#039;MUST&#039;&#039;&#039; have installed: &#039;&#039;apache-ant&#039;&#039; (or &#039;&#039;ant&#039;&#039;), &#039;&#039;autoconf&#039;&#039;, &#039;&#039;automake&#039;&#039;, &#039;&#039;autopoint&#039;&#039;, &#039;&#039;libtool&#039;&#039;, &#039;&#039;gawk&#039;&#039; (or &#039;&#039;nawk&#039;&#039;), &#039;&#039;gcc&#039;&#039;, &#039;&#039;g++&#039;&#039;, &#039;&#039;pkg-config&#039;&#039;, &#039;&#039;cmake&#039;&#039;, &#039;&#039;patch&#039;&#039;, &#039;&#039;subversion&#039;&#039;. And very up-to-date versions of those tools.&lt;br /&gt;
* You &#039;&#039;&#039;MUST&#039;&#039;&#039; install: &#039;&#039;git&#039;&#039;.&lt;br /&gt;
&lt;br /&gt;
===Android SDK===&lt;br /&gt;
#Create a working directory &#039;&#039;android&#039;&#039;. &lt;br /&gt;
#Go to [http://developer.android.com/sdk/index.html Android SDK page] and download android-sdk_r10-linux_x86.tgz. &lt;br /&gt;
#Decompress into &#039;&#039;android&#039;&#039; folder. &lt;br /&gt;
#Run &#039;&#039;tools/android&#039;&#039; (from the command line you can also run: &amp;quot;tools/android update sdk -u -t platform,platform-tool,extra&amp;quot;) &lt;br /&gt;
#In the tool, install &#039;&#039;&#039;&amp;quot;SDK Platform Android 2.3, API 10&amp;quot;&#039;&#039;&#039;, and follow the instructions.&lt;br /&gt;
&lt;br /&gt;
You can have [http://developer.android.com/sdk/installing.html more details], if needed. &lt;br /&gt;
&lt;br /&gt;
===Android NDK===&lt;br /&gt;
# Check that the SDK installation is correct. &lt;br /&gt;
# Go to [http://developer.android.com/sdk/ndk/index.html Android NDK page]. &lt;br /&gt;
# Download http://dl.google.com/android/ndk/android-ndk-r5b-linux-x86.tar.bz2. &lt;br /&gt;
# Decompress into &#039;&#039;android&#039;&#039; folder, next to your android-sdk-linux_x86 folder.&lt;br /&gt;
&lt;br /&gt;
===Eclipse===&lt;br /&gt;
As used by your distribution, install Eclipse with your package manager: &lt;br /&gt;
&lt;br /&gt;
 apt-get install eclipse (debian)&lt;br /&gt;
 yum install eclipse (Fedora)&lt;br /&gt;
 pacman -S eclipse (Arch)&lt;br /&gt;
 emerge -av eclipse-sdk (Gentoo)&lt;br /&gt;
 ...&lt;br /&gt;
&lt;br /&gt;
And run it, at least once, and then quit eclipse. &lt;br /&gt;
&lt;br /&gt;
Note: On Debian-based distributions it is better to download Eclipse indigo builds from the official website : http://www.eclipse.org/downloads/, otherwise it can lead to an error when importing the ADT plugin (see following).&lt;br /&gt;
&lt;br /&gt;
====ADT====&lt;br /&gt;
The &#039;&#039;&#039;ADT&#039;&#039;&#039; plugin is required to compile on Android. &lt;br /&gt;
&lt;br /&gt;
#Go to [http://developer.android.com/sdk/eclipse-adt.html#installing ADT page]. &lt;br /&gt;
#Start Eclipse, then select Help &amp;amp;gt; Install New Software.... &lt;br /&gt;
#Add the &amp;quot;ADT Plugin&amp;quot; repository with https://dl-ssl.google.com/android/eclipse/ as &#039;&#039;&#039;URL&#039;&#039;&#039; &lt;br /&gt;
#Validate and select the checkbox next to Developer Tools and click Next, Next, Finish. &lt;br /&gt;
#Restart Eclipse. &lt;br /&gt;
#Go to &#039;&#039;Menu&#039;&#039; &amp;amp;gt; &#039;&#039;Window&#039;&#039; &amp;amp;gt; &#039;&#039;Preferences...&#039;&#039; and then &#039;&#039;Android&#039;&#039; from the left pane. &lt;br /&gt;
#Point the SDK Location in to your downloaded SDK directory. &lt;br /&gt;
#Ok, and quit Eclipse.&lt;br /&gt;
&lt;br /&gt;
See [http://developer.android.com/sdk/eclipse-adt.html#troubleshooting extra information here].&lt;br /&gt;
&lt;br /&gt;
=== Environment setup  ===&lt;br /&gt;
Set $ANDROID_SDK to point to your Android SDK directory &lt;br /&gt;
&lt;br /&gt;
 export ANDROID_SDK=/path/to/android-sdk&lt;br /&gt;
&lt;br /&gt;
Set $ANDROID_NDK to point to your Android NDK directory &lt;br /&gt;
&lt;br /&gt;
 export ANDROID_NDK=/path/to/android-ndk&lt;br /&gt;
&lt;br /&gt;
Add some useful binaries to your $PATH &lt;br /&gt;
&lt;br /&gt;
 export PATH=$PATH:$ANDROID_SDK/tools:$ANDROID_SDK/platform-tools&lt;br /&gt;
&lt;br /&gt;
If you plan to use the emulator or if you have a phone that does not support NEON, you need a build without [[wikipedia:ARM_architecture#Advanced_SIMD_.28NEON.29|NEON]] &lt;br /&gt;
&lt;br /&gt;
 export NO_NEON=1&lt;br /&gt;
&lt;br /&gt;
Those exports must be set at all times, notably for the contribs and the configure.&lt;br /&gt;
&lt;br /&gt;
== Building ==&lt;br /&gt;
=== Get VLC Source ===&lt;br /&gt;
Use the VLC git repository to get the source! &lt;br /&gt;
&lt;br /&gt;
In your &#039;&#039;android&#039;&#039; folder, run: &lt;br /&gt;
&lt;br /&gt;
 git clone git://git.videolan.org/vlc-ports/android.git&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==== Compile ====&lt;br /&gt;
&#039;&#039;&#039;Read&#039;&#039;&#039; compile.sh first, as it contains some very useful important information. Then run it:&lt;br /&gt;
 sh compile.sh&lt;br /&gt;
&lt;br /&gt;
==== Package in Eclipse ====&lt;br /&gt;
# In Eclipse, create a new Android project from existing source by giving the vlc-android path. &lt;br /&gt;
# Compile your project using Eclipse.&lt;br /&gt;
&lt;br /&gt;
=== Run ===&lt;br /&gt;
Run it and enjoy! &lt;br /&gt;
&lt;br /&gt;
== Debugging ==&lt;br /&gt;
Here are some helpful links if you wish to debug VLC on Android:&lt;br /&gt;
* [http://developer.android.com/guide/developing/debugging/ddms.html DDMS] &lt;br /&gt;
* [http://developer.android.com/guide/developing/tools/logcat.html Logcat]&lt;br /&gt;
&lt;br /&gt;
== Troubleshooting ==&lt;br /&gt;
=== Outdated Awk ===&lt;br /&gt;
If you receive the error message while building:&lt;br /&gt;
&lt;br /&gt;
 Android NDK: Host &#039;awk&#039; tool is outdated. Please define HOST_AWK to point to Gawk or Nawk !    &lt;br /&gt;
&lt;br /&gt;
The prebuilt version of Awk that comes with the Android NDK is outdated. Defining HOST_AWK in your environment does nothing as the system still tries to just the one that comes with the Android NDK. To get around this issue, simply rename or delete the Awk binary that comes with the Android NDK. For example to move it:&lt;br /&gt;
&lt;br /&gt;
 mv $ANDROID_NDK/prebuilt/linux-x86/bin/awk $ANDROID_NDK/prebuilt/linux-x86/bin/awk.old&lt;br /&gt;
&lt;br /&gt;
=== Can&#039;t find Ant ===&lt;br /&gt;
If you&#039;re new to Ant, please be aware that some Linux distributions don&#039;t install it in the usual spot as with other programs. Try checking to see if the directory /usr/share/java/apache-ant/bin exists and add it to your path.&lt;br /&gt;
&lt;br /&gt;
[[Category:Building]]&lt;/div&gt;</summary>
		<author><name>Adridu59</name></author>
	</entry>
	<entry>
		<id>https://wiki.videolan.org/index.php?title=AndroidCompile&amp;diff=22474</id>
		<title>AndroidCompile</title>
		<link rel="alternate" type="text/html" href="https://wiki.videolan.org/index.php?title=AndroidCompile&amp;diff=22474"/>
		<updated>2012-04-05T20:57:21Z</updated>

		<summary type="html">&lt;p&gt;Adridu59: Removed android-ndk xml file which is outdated and unneeded.&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;This page is an introduction to compilation of &#039;&#039;&#039;VLC for Android&#039;&#039;&#039; on Linux. &lt;br /&gt;
&lt;br /&gt;
==Eclipse, SDK and NDK installation==&lt;br /&gt;
&lt;br /&gt;
=== Requirements  ===&lt;br /&gt;
* You &#039;&#039;&#039;MUST&#039;&#039;&#039; be on Linux, and a recent one.&lt;br /&gt;
* You &#039;&#039;&#039;MUST&#039;&#039;&#039; have installed: &#039;&#039;apache-ant&#039;&#039; (or &#039;&#039;ant&#039;&#039;), &#039;&#039;autoconf&#039;&#039;, &#039;&#039;automake&#039;&#039;, &#039;&#039;autopoint&#039;&#039;, &#039;&#039;libtool&#039;&#039;, &#039;&#039;gawk&#039;&#039; (or &#039;&#039;nawk&#039;&#039;), &#039;&#039;gcc&#039;&#039;, &#039;&#039;g++&#039;&#039;, &#039;&#039;pkg-config&#039;&#039;, &#039;&#039;cmake&#039;&#039;, &#039;&#039;patch&#039;&#039;, &#039;&#039;subversion&#039;&#039;. And very up-to-date versions of those tools.&lt;br /&gt;
* You &#039;&#039;&#039;MUST&#039;&#039;&#039; install: &#039;&#039;git&#039;&#039;.&lt;br /&gt;
&lt;br /&gt;
===Android SDK===&lt;br /&gt;
#Create a working directory &#039;&#039;android&#039;&#039;. &lt;br /&gt;
#Go to [http://developer.android.com/sdk/index.html Android SDK page] and download android-sdk_r10-linux_x86.tgz. &lt;br /&gt;
#Decompress into &#039;&#039;android&#039;&#039; folder. &lt;br /&gt;
#Run &#039;&#039;tools/android&#039;&#039; (from the command line you can also run: &amp;quot;tools/android update sdk -u -t platform,platform-tool,extra&amp;quot;) &lt;br /&gt;
#In the tool, install &#039;&#039;&#039;&amp;quot;SDK Platform Android 2.3, API 10&amp;quot;&#039;&#039;&#039;, and follow the instructions.&lt;br /&gt;
&lt;br /&gt;
You can have [http://developer.android.com/sdk/installing.html more details], if needed. &lt;br /&gt;
&lt;br /&gt;
===Android NDK===&lt;br /&gt;
# Check that the SDK installation is correct. &lt;br /&gt;
# Go to [http://developer.android.com/sdk/ndk/index.html Android NDK page]. &lt;br /&gt;
# Download http://dl.google.com/android/ndk/android-ndk-r5b-linux-x86.tar.bz2. &lt;br /&gt;
# Decompress into &#039;&#039;android&#039;&#039; folder, next to your android-sdk-linux_x86 folder.&lt;br /&gt;
&lt;br /&gt;
===Eclipse===&lt;br /&gt;
As used by your distribution, install Eclipse with your package manager: &lt;br /&gt;
&lt;br /&gt;
 apt-get install eclipse (debian)&lt;br /&gt;
 yum install eclipse (Fedora)&lt;br /&gt;
 pacman -S eclipse (Arch)&lt;br /&gt;
 emerge -av eclipse-sdk (Gentoo)&lt;br /&gt;
 ...&lt;br /&gt;
&lt;br /&gt;
And run it, at least once, and then quit eclipse. &lt;br /&gt;
&lt;br /&gt;
====ADT====&lt;br /&gt;
The &#039;&#039;&#039;ADT&#039;&#039;&#039; plugin is required to compile on Android. &lt;br /&gt;
&lt;br /&gt;
#Go to [http://developer.android.com/sdk/eclipse-adt.html#installing ADT page]. &lt;br /&gt;
#Start Eclipse, then select Help &amp;amp;gt; Install New Software.... &lt;br /&gt;
#Add the &amp;quot;ADT Plugin&amp;quot; repository with https://dl-ssl.google.com/android/eclipse/ as &#039;&#039;&#039;URL&#039;&#039;&#039; &lt;br /&gt;
#Validate and select the checkbox next to Developer Tools and click Next, Next, Finish. &lt;br /&gt;
#Restart Eclipse. &lt;br /&gt;
#Go to &#039;&#039;Menu&#039;&#039; &amp;amp;gt; &#039;&#039;Window&#039;&#039; &amp;amp;gt; &#039;&#039;Preferences...&#039;&#039; and then &#039;&#039;Android&#039;&#039; from the left pane. &lt;br /&gt;
#Point the SDK Location in to your downloaded SDK directory. &lt;br /&gt;
#Ok, and quit Eclipse.&lt;br /&gt;
&lt;br /&gt;
See [http://developer.android.com/sdk/eclipse-adt.html#troubleshooting extra information here]. &lt;br /&gt;
&lt;br /&gt;
=== Environment setup  ===&lt;br /&gt;
Set $ANDROID_SDK to point to your Android SDK directory &lt;br /&gt;
&lt;br /&gt;
 export ANDROID_SDK=/path/to/android-sdk&lt;br /&gt;
&lt;br /&gt;
Set $ANDROID_NDK to point to your Android NDK directory &lt;br /&gt;
&lt;br /&gt;
 export ANDROID_NDK=/path/to/android-ndk&lt;br /&gt;
&lt;br /&gt;
Add some useful binaries to your $PATH &lt;br /&gt;
&lt;br /&gt;
 export PATH=$PATH:$ANDROID_SDK/tools:$ANDROID_SDK/platform-tools&lt;br /&gt;
&lt;br /&gt;
If you plan to use the emulator or if you have a phone that does not support NEON, you need a build without [[wikipedia:ARM_architecture#Advanced_SIMD_.28NEON.29|NEON]] &lt;br /&gt;
&lt;br /&gt;
 export NO_NEON=1&lt;br /&gt;
&lt;br /&gt;
Those exports must be set at all times, notably for the contribs and the configure.&lt;br /&gt;
&lt;br /&gt;
== Building ==&lt;br /&gt;
=== Get VLC Source ===&lt;br /&gt;
Use the VLC git repository to get the source! &lt;br /&gt;
&lt;br /&gt;
In your &#039;&#039;android&#039;&#039; folder, run: &lt;br /&gt;
&lt;br /&gt;
 git clone git://git.videolan.org/vlc-ports/android.git&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==== Compile ====&lt;br /&gt;
&#039;&#039;&#039;Read&#039;&#039;&#039; compile.sh first, as it contains some very useful important information. Then run it:&lt;br /&gt;
 sh compile.sh&lt;br /&gt;
&lt;br /&gt;
==== Package in Eclipse ====&lt;br /&gt;
# In Eclipse, create a new Android project from existing source by giving the vlc-android path. &lt;br /&gt;
# Compile your project using Eclipse.&lt;br /&gt;
&lt;br /&gt;
=== Run ===&lt;br /&gt;
Run it and enjoy! &lt;br /&gt;
&lt;br /&gt;
== Debugging ==&lt;br /&gt;
Here are some helpful links if you wish to debug VLC on Android:&lt;br /&gt;
* [http://developer.android.com/guide/developing/debugging/ddms.html DDMS] &lt;br /&gt;
* [http://developer.android.com/guide/developing/tools/logcat.html Logcat]&lt;br /&gt;
&lt;br /&gt;
== Troubleshooting ==&lt;br /&gt;
=== Outdated Awk ===&lt;br /&gt;
If you receive the error message while building:&lt;br /&gt;
&lt;br /&gt;
 Android NDK: Host &#039;awk&#039; tool is outdated. Please define HOST_AWK to point to Gawk or Nawk !    &lt;br /&gt;
&lt;br /&gt;
The prebuilt version of Awk that comes with the Android NDK is outdated. Defining HOST_AWK in your environment does nothing as the system still tries to just the one that comes with the Android NDK. To get around this issue, simply rename or delete the Awk binary that comes with the Android NDK. For example to move it:&lt;br /&gt;
&lt;br /&gt;
 mv $ANDROID_NDK/prebuilt/linux-x86/bin/awk $ANDROID_NDK/prebuilt/linux-x86/bin/awk.old&lt;br /&gt;
&lt;br /&gt;
=== Can&#039;t find Ant ===&lt;br /&gt;
If you&#039;re new to Ant, please be aware that some Linux distributions don&#039;t install it in the usual spot as with other programs. Try checking to see if the directory /usr/share/java/apache-ant/bin exists and add it to your path.&lt;br /&gt;
&lt;br /&gt;
[[Category:Building]]&lt;/div&gt;</summary>
		<author><name>Adridu59</name></author>
	</entry>
	<entry>
		<id>https://wiki.videolan.org/index.php?title=AndroidCompile&amp;diff=22145</id>
		<title>AndroidCompile</title>
		<link rel="alternate" type="text/html" href="https://wiki.videolan.org/index.php?title=AndroidCompile&amp;diff=22145"/>
		<updated>2012-02-25T23:31:47Z</updated>

		<summary type="html">&lt;p&gt;Adridu59: /* Linux and autotools */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;This page is an introduction to compilation of &#039;&#039;&#039;VLC for Android&#039;&#039;&#039; on Linux. &lt;br /&gt;
&lt;br /&gt;
==Eclipse, SDK and NDK installation==&lt;br /&gt;
&lt;br /&gt;
===Android SDK===&lt;br /&gt;
#Create a working directory &#039;&#039;android&#039;&#039;. &lt;br /&gt;
#Go to [http://developer.android.com/sdk/index.html Android SDK page] and download android-sdk_r10-linux_x86.tgz. &lt;br /&gt;
#Decompress into &#039;&#039;android&#039;&#039; folder. &lt;br /&gt;
#Run &#039;&#039;tools/android&#039;&#039; (from the command line you can also run: &amp;quot;tools/android update sdk -u -t platform,platform-tool,extra&amp;quot;) &lt;br /&gt;
#In the tool, install &#039;&#039;&#039;&amp;quot;SDK Platform Android 2.3, API 10&amp;quot;&#039;&#039;&#039;, and follow the instructions.&lt;br /&gt;
&lt;br /&gt;
You can have [http://developer.android.com/sdk/installing.html more details], if needed. &lt;br /&gt;
&lt;br /&gt;
===Android NDK===&lt;br /&gt;
# Check that the SDK installation is correct. &lt;br /&gt;
# Go to [http://developer.android.com/sdk/ndk/index.html Android NDK page]. &lt;br /&gt;
# Download http://dl.google.com/android/ndk/android-ndk-r5b-linux-x86.tar.bz2. &lt;br /&gt;
# Decompress into &#039;&#039;android&#039;&#039; folder, next to your android-sdk-linux_x86 folder.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Note&#039;&#039;&#039;: If you use the Android v7 NDK, replace your /vlc-android/build.xml file as follows:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
&amp;lt;?xml version=&amp;quot;1.0&amp;quot; encoding=&amp;quot;UTF-8&amp;quot;?&amp;gt;&lt;br /&gt;
&amp;lt;project name=&amp;quot;VLC&amp;quot; default=&amp;quot;help&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
    &amp;lt;!-- The local.properties file is created and updated by the &#039;android&#039; tool.&lt;br /&gt;
         It contains the path to the SDK. It should *NOT* be checked into&lt;br /&gt;
         Version Control Systems. --&amp;gt;&lt;br /&gt;
    &amp;lt;loadproperties srcFile=&amp;quot;local.properties&amp;quot; /&amp;gt;&lt;br /&gt;
&lt;br /&gt;
    &amp;lt;!-- The ant.properties file can be created by you. It is only edited by the&lt;br /&gt;
         &#039;android&#039; tool to add properties to it.&lt;br /&gt;
         This is the place to change some Ant specific build properties.&lt;br /&gt;
         Here are some properties you may want to change/update:&lt;br /&gt;
&lt;br /&gt;
         source.dir&lt;br /&gt;
             The name of the source directory. Default is &#039;src&#039;.&lt;br /&gt;
         out.dir&lt;br /&gt;
             The name of the output directory. Default is &#039;bin&#039;.&lt;br /&gt;
&lt;br /&gt;
         For other overridable properties, look at the beginning of the rules&lt;br /&gt;
         files in the SDK, at tools/ant/build.xml&lt;br /&gt;
&lt;br /&gt;
         Properties related to the SDK location or the project target should&lt;br /&gt;
         be updated using the &#039;android&#039; tool with the &#039;update&#039; action.&lt;br /&gt;
&lt;br /&gt;
         This file is an integral part of the build system for your&lt;br /&gt;
         application and should be checked into Version Control Systems.&lt;br /&gt;
&lt;br /&gt;
         --&amp;gt;&lt;br /&gt;
    &amp;lt;property file=&amp;quot;ant.properties&amp;quot; /&amp;gt;&lt;br /&gt;
&lt;br /&gt;
    &amp;lt;!-- The project.properties file is created and updated by the &#039;android&#039;&lt;br /&gt;
         tool, as well as ADT.&lt;br /&gt;
&lt;br /&gt;
         This contains project specific properties such as project target, and library&lt;br /&gt;
         dependencies. Lower level build properties are stored in ant.properties&lt;br /&gt;
         (or in .classpath for Eclipse projects).&lt;br /&gt;
&lt;br /&gt;
         This file is an integral part of the build system for your&lt;br /&gt;
         application and should be checked into Version Control Systems. --&amp;gt;&lt;br /&gt;
    &amp;lt;loadproperties srcFile=&amp;quot;project.properties&amp;quot; /&amp;gt;&lt;br /&gt;
&lt;br /&gt;
    &amp;lt;!-- quick check on sdk.dir --&amp;gt;&lt;br /&gt;
    &amp;lt;fail&lt;br /&gt;
            message=&amp;quot;sdk.dir is missing. Make sure to generate local.properties using &#039;android update project&#039;&amp;quot;&lt;br /&gt;
            unless=&amp;quot;sdk.dir&amp;quot;&lt;br /&gt;
    /&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!-- extension targets. Uncomment the ones where you want to do custom work&lt;br /&gt;
     in between standard targets --&amp;gt;&lt;br /&gt;
&amp;lt;!--&lt;br /&gt;
    &amp;lt;target name=&amp;quot;-pre-build&amp;quot;&amp;gt;&lt;br /&gt;
    &amp;lt;/target&amp;gt;&lt;br /&gt;
    &amp;lt;target name=&amp;quot;-pre-compile&amp;quot;&amp;gt;&lt;br /&gt;
    &amp;lt;/target&amp;gt;&lt;br /&gt;
&lt;br /&gt;
    /* This is typically used for code obfuscation.&lt;br /&gt;
       Compiled code location: ${out.classes.absolute.dir}&lt;br /&gt;
       If this is not done in place, override ${out.dex.input.absolute.dir} */&lt;br /&gt;
    &amp;lt;target name=&amp;quot;-post-compile&amp;quot;&amp;gt;&lt;br /&gt;
    &amp;lt;/target&amp;gt;&lt;br /&gt;
--&amp;gt;&lt;br /&gt;
&lt;br /&gt;
    &amp;lt;!-- Import the actual build file.&lt;br /&gt;
&lt;br /&gt;
         To customize existing targets, there are two options:&lt;br /&gt;
         - Customize only one target:&lt;br /&gt;
             - copy/paste the target into this file, *before* the&lt;br /&gt;
               &amp;lt;import&amp;gt; task.&lt;br /&gt;
             - customize it to your needs.&lt;br /&gt;
         - Customize the whole content of build.xml&lt;br /&gt;
             - copy/paste the content of the rules files (minus the top node)&lt;br /&gt;
               into this file, replacing the &amp;lt;import&amp;gt; task.&lt;br /&gt;
             - customize to your needs.&lt;br /&gt;
&lt;br /&gt;
         ***********************&lt;br /&gt;
         ****** IMPORTANT ******&lt;br /&gt;
         ***********************&lt;br /&gt;
         In all cases you must update the value of version-tag below to read &#039;custom&#039; instead of an integer,&lt;br /&gt;
         in order to avoid having your file be overridden by tools such as &amp;quot;android update project&amp;quot;&lt;br /&gt;
    --&amp;gt;&lt;br /&gt;
    &amp;lt;!-- version-tag: 1 --&amp;gt;&lt;br /&gt;
    &amp;lt;import file=&amp;quot;${sdk.dir}/tools/ant/build.xml&amp;quot; /&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/project&amp;gt;&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===Eclipse===&lt;br /&gt;
As used by your distribution, install Eclipse with your package manager: &lt;br /&gt;
&lt;br /&gt;
 apt-get install eclipse (debian)&lt;br /&gt;
 yum install eclipse (Fedora)&lt;br /&gt;
 pacman -S eclipse (Arch)&lt;br /&gt;
 emerge -av eclipse-sdk (Gentoo)&lt;br /&gt;
 ...&lt;br /&gt;
&lt;br /&gt;
And run it, at least once, and then quit eclipse. &lt;br /&gt;
&lt;br /&gt;
====ADT====&lt;br /&gt;
The &#039;&#039;&#039;ADT&#039;&#039;&#039; plugin is required to compile on Android. &lt;br /&gt;
&lt;br /&gt;
#Go to [http://developer.android.com/sdk/eclipse-adt.html#installing ADT page]. &lt;br /&gt;
#Start Eclipse, then select Help &amp;amp;gt; Install New Software.... &lt;br /&gt;
#Add the &amp;quot;ADT Plugin&amp;quot; repository with https://dl-ssl.google.com/android/eclipse/ as &#039;&#039;&#039;URL&#039;&#039;&#039; &lt;br /&gt;
#Validate and select the checkbox next to Developer Tools and click Next, Next, Finish. &lt;br /&gt;
#Restart Eclipse. &lt;br /&gt;
#Go to &#039;&#039;Menu&#039;&#039; &amp;amp;gt; &#039;&#039;Window&#039;&#039; &amp;amp;gt; &#039;&#039;Preferences...&#039;&#039; and then &#039;&#039;Android&#039;&#039; from the left pane. &lt;br /&gt;
#Point the SDK Location in to your downloaded SDK directory. &lt;br /&gt;
#Ok, and quit Eclipse.&lt;br /&gt;
&lt;br /&gt;
See [http://developer.android.com/sdk/eclipse-adt.html#troubleshooting extra information here]. &lt;br /&gt;
&lt;br /&gt;
=== Environment setup  ===&lt;br /&gt;
==== Linux and autotools ====&lt;br /&gt;
* You &#039;&#039;&#039;MUST&#039;&#039;&#039; be on Linux, and a recent one.&lt;br /&gt;
* You &#039;&#039;&#039;MUST&#039;&#039;&#039; have installed: &#039;&#039;apache-ant&#039;&#039; (or &#039;&#039;ant&#039;&#039;), &#039;&#039;autoconf&#039;&#039;, &#039;&#039;automake&#039;&#039;, &#039;&#039;autopoint&#039;&#039;, &#039;&#039;libtool&#039;&#039;, &#039;&#039;gawk&#039;&#039; (or &#039;&#039;nawk&#039;&#039;), &#039;&#039;gcc&#039;&#039;, &#039;&#039;g++&#039;&#039;, &#039;&#039;pkg-config&#039;&#039;, &#039;&#039;cmake&#039;&#039;, &#039;&#039;patch&#039;&#039;, &#039;&#039;subversion&#039;&#039;. And very up-to-date versions of those tools.&lt;br /&gt;
* You &#039;&#039;&#039;MUST&#039;&#039;&#039; install: &#039;&#039;git&#039;&#039;.&lt;br /&gt;
&lt;br /&gt;
==== Environment ====&lt;br /&gt;
&lt;br /&gt;
Set $ANDROID_SDK to point to your Android SDK directory &lt;br /&gt;
&lt;br /&gt;
 export ANDROID_SDK=/path/to/android-sdk&lt;br /&gt;
&lt;br /&gt;
Set $ANDROID_NDK to point to your Android NDK directory &lt;br /&gt;
&lt;br /&gt;
 export ANDROID_NDK=/path/to/android-ndk&lt;br /&gt;
&lt;br /&gt;
Add some useful binaries to your $PATH &lt;br /&gt;
&lt;br /&gt;
 export PATH=$PATH:$ANDROID_SDK/tools:$ANDROID_SDK/platform-tools&lt;br /&gt;
&lt;br /&gt;
If you plan to use the emulator or if you have a phone that does not support NEON, you need a build without [[wikipedia:ARM_architecture#Advanced_SIMD_.28NEON.29|NEON]] &lt;br /&gt;
&lt;br /&gt;
 export NO_NEON=1&lt;br /&gt;
&lt;br /&gt;
Those exports must be set at all times, notably for the contribs and the configure.&lt;br /&gt;
&lt;br /&gt;
== Building ==&lt;br /&gt;
=== Get VLC Source ===&lt;br /&gt;
Use the VLC git repository to get the source! &lt;br /&gt;
&lt;br /&gt;
In your &#039;&#039;android&#039;&#039; folder, run: &lt;br /&gt;
&lt;br /&gt;
 git clone git://git.videolan.org/vlc-ports/android.git&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==== Compile ====&lt;br /&gt;
&#039;&#039;&#039;Read&#039;&#039;&#039; compile.sh first, as it contains some very useful important information. Then run it:&lt;br /&gt;
 sh compile.sh&lt;br /&gt;
&lt;br /&gt;
==== Package in Eclipse ====&lt;br /&gt;
# In Eclipse, create a new Android project from existing source by giving the vlc-android path. &lt;br /&gt;
# Compile your project using Eclipse.&lt;br /&gt;
&lt;br /&gt;
=== Run ===&lt;br /&gt;
Run it and enjoy! &lt;br /&gt;
&lt;br /&gt;
== Debugging ==&lt;br /&gt;
Here are some helpful links if you wish to debug VLC on Android:&lt;br /&gt;
* [http://developer.android.com/guide/developing/debugging/ddms.html DDMS] &lt;br /&gt;
* [http://developer.android.com/guide/developing/tools/logcat.html Logcat]&lt;br /&gt;
&lt;br /&gt;
== Troubleshooting ==&lt;br /&gt;
=== Outdated Awk ===&lt;br /&gt;
If you receive the error message while building:&lt;br /&gt;
&lt;br /&gt;
 Android NDK: Host &#039;awk&#039; tool is outdated. Please define HOST_AWK to point to Gawk or Nawk !    &lt;br /&gt;
&lt;br /&gt;
The prebuilt version of Awk that comes with the Android NDK is outdated. Defining HOST_AWK in your environment does nothing as the system still tries to just the one that comes with the Android NDK. To get around this issue, simply rename or delete the Awk binary that comes with the Android NDK. For example to move it:&lt;br /&gt;
&lt;br /&gt;
 mv $ANDROID_NDK/prebuilt/linux-x86/bin/awk $ANDROID_NDK/prebuilt/linux-x86/bin/awk.old&lt;br /&gt;
&lt;br /&gt;
=== Can&#039;t find Ant ===&lt;br /&gt;
If you&#039;re new to Ant, please be aware that some Linux distributions don&#039;t install it in the usual spot as with other programs. Try checking to see if the directory /usr/share/java/apache-ant/bin exists and add it to your path.&lt;br /&gt;
&lt;br /&gt;
[[Category:Building]]&lt;/div&gt;</summary>
		<author><name>Adridu59</name></author>
	</entry>
	<entry>
		<id>https://wiki.videolan.org/index.php?title=AndroidCompile&amp;diff=22144</id>
		<title>AndroidCompile</title>
		<link rel="alternate" type="text/html" href="https://wiki.videolan.org/index.php?title=AndroidCompile&amp;diff=22144"/>
		<updated>2012-02-25T23:28:21Z</updated>

		<summary type="html">&lt;p&gt;Adridu59: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;This page is an introduction to compilation of &#039;&#039;&#039;VLC for Android&#039;&#039;&#039; on Linux. &lt;br /&gt;
&lt;br /&gt;
==Eclipse, SDK and NDK installation==&lt;br /&gt;
&lt;br /&gt;
===Android SDK===&lt;br /&gt;
#Create a working directory &#039;&#039;android&#039;&#039;. &lt;br /&gt;
#Go to [http://developer.android.com/sdk/index.html Android SDK page] and download android-sdk_r10-linux_x86.tgz. &lt;br /&gt;
#Decompress into &#039;&#039;android&#039;&#039; folder. &lt;br /&gt;
#Run &#039;&#039;tools/android&#039;&#039; (from the command line you can also run: &amp;quot;tools/android update sdk -u -t platform,platform-tool,extra&amp;quot;) &lt;br /&gt;
#In the tool, install &#039;&#039;&#039;&amp;quot;SDK Platform Android 2.3, API 10&amp;quot;&#039;&#039;&#039;, and follow the instructions.&lt;br /&gt;
&lt;br /&gt;
You can have [http://developer.android.com/sdk/installing.html more details], if needed. &lt;br /&gt;
&lt;br /&gt;
===Android NDK===&lt;br /&gt;
# Check that the SDK installation is correct. &lt;br /&gt;
# Go to [http://developer.android.com/sdk/ndk/index.html Android NDK page]. &lt;br /&gt;
# Download http://dl.google.com/android/ndk/android-ndk-r5b-linux-x86.tar.bz2. &lt;br /&gt;
# Decompress into &#039;&#039;android&#039;&#039; folder, next to your android-sdk-linux_x86 folder.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Note&#039;&#039;&#039;: If you use the Android v7 NDK, replace your /vlc-android/build.xml file as follows:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
&amp;lt;?xml version=&amp;quot;1.0&amp;quot; encoding=&amp;quot;UTF-8&amp;quot;?&amp;gt;&lt;br /&gt;
&amp;lt;project name=&amp;quot;VLC&amp;quot; default=&amp;quot;help&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
    &amp;lt;!-- The local.properties file is created and updated by the &#039;android&#039; tool.&lt;br /&gt;
         It contains the path to the SDK. It should *NOT* be checked into&lt;br /&gt;
         Version Control Systems. --&amp;gt;&lt;br /&gt;
    &amp;lt;loadproperties srcFile=&amp;quot;local.properties&amp;quot; /&amp;gt;&lt;br /&gt;
&lt;br /&gt;
    &amp;lt;!-- The ant.properties file can be created by you. It is only edited by the&lt;br /&gt;
         &#039;android&#039; tool to add properties to it.&lt;br /&gt;
         This is the place to change some Ant specific build properties.&lt;br /&gt;
         Here are some properties you may want to change/update:&lt;br /&gt;
&lt;br /&gt;
         source.dir&lt;br /&gt;
             The name of the source directory. Default is &#039;src&#039;.&lt;br /&gt;
         out.dir&lt;br /&gt;
             The name of the output directory. Default is &#039;bin&#039;.&lt;br /&gt;
&lt;br /&gt;
         For other overridable properties, look at the beginning of the rules&lt;br /&gt;
         files in the SDK, at tools/ant/build.xml&lt;br /&gt;
&lt;br /&gt;
         Properties related to the SDK location or the project target should&lt;br /&gt;
         be updated using the &#039;android&#039; tool with the &#039;update&#039; action.&lt;br /&gt;
&lt;br /&gt;
         This file is an integral part of the build system for your&lt;br /&gt;
         application and should be checked into Version Control Systems.&lt;br /&gt;
&lt;br /&gt;
         --&amp;gt;&lt;br /&gt;
    &amp;lt;property file=&amp;quot;ant.properties&amp;quot; /&amp;gt;&lt;br /&gt;
&lt;br /&gt;
    &amp;lt;!-- The project.properties file is created and updated by the &#039;android&#039;&lt;br /&gt;
         tool, as well as ADT.&lt;br /&gt;
&lt;br /&gt;
         This contains project specific properties such as project target, and library&lt;br /&gt;
         dependencies. Lower level build properties are stored in ant.properties&lt;br /&gt;
         (or in .classpath for Eclipse projects).&lt;br /&gt;
&lt;br /&gt;
         This file is an integral part of the build system for your&lt;br /&gt;
         application and should be checked into Version Control Systems. --&amp;gt;&lt;br /&gt;
    &amp;lt;loadproperties srcFile=&amp;quot;project.properties&amp;quot; /&amp;gt;&lt;br /&gt;
&lt;br /&gt;
    &amp;lt;!-- quick check on sdk.dir --&amp;gt;&lt;br /&gt;
    &amp;lt;fail&lt;br /&gt;
            message=&amp;quot;sdk.dir is missing. Make sure to generate local.properties using &#039;android update project&#039;&amp;quot;&lt;br /&gt;
            unless=&amp;quot;sdk.dir&amp;quot;&lt;br /&gt;
    /&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!-- extension targets. Uncomment the ones where you want to do custom work&lt;br /&gt;
     in between standard targets --&amp;gt;&lt;br /&gt;
&amp;lt;!--&lt;br /&gt;
    &amp;lt;target name=&amp;quot;-pre-build&amp;quot;&amp;gt;&lt;br /&gt;
    &amp;lt;/target&amp;gt;&lt;br /&gt;
    &amp;lt;target name=&amp;quot;-pre-compile&amp;quot;&amp;gt;&lt;br /&gt;
    &amp;lt;/target&amp;gt;&lt;br /&gt;
&lt;br /&gt;
    /* This is typically used for code obfuscation.&lt;br /&gt;
       Compiled code location: ${out.classes.absolute.dir}&lt;br /&gt;
       If this is not done in place, override ${out.dex.input.absolute.dir} */&lt;br /&gt;
    &amp;lt;target name=&amp;quot;-post-compile&amp;quot;&amp;gt;&lt;br /&gt;
    &amp;lt;/target&amp;gt;&lt;br /&gt;
--&amp;gt;&lt;br /&gt;
&lt;br /&gt;
    &amp;lt;!-- Import the actual build file.&lt;br /&gt;
&lt;br /&gt;
         To customize existing targets, there are two options:&lt;br /&gt;
         - Customize only one target:&lt;br /&gt;
             - copy/paste the target into this file, *before* the&lt;br /&gt;
               &amp;lt;import&amp;gt; task.&lt;br /&gt;
             - customize it to your needs.&lt;br /&gt;
         - Customize the whole content of build.xml&lt;br /&gt;
             - copy/paste the content of the rules files (minus the top node)&lt;br /&gt;
               into this file, replacing the &amp;lt;import&amp;gt; task.&lt;br /&gt;
             - customize to your needs.&lt;br /&gt;
&lt;br /&gt;
         ***********************&lt;br /&gt;
         ****** IMPORTANT ******&lt;br /&gt;
         ***********************&lt;br /&gt;
         In all cases you must update the value of version-tag below to read &#039;custom&#039; instead of an integer,&lt;br /&gt;
         in order to avoid having your file be overridden by tools such as &amp;quot;android update project&amp;quot;&lt;br /&gt;
    --&amp;gt;&lt;br /&gt;
    &amp;lt;!-- version-tag: 1 --&amp;gt;&lt;br /&gt;
    &amp;lt;import file=&amp;quot;${sdk.dir}/tools/ant/build.xml&amp;quot; /&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/project&amp;gt;&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===Eclipse===&lt;br /&gt;
As used by your distribution, install Eclipse with your package manager: &lt;br /&gt;
&lt;br /&gt;
 apt-get install eclipse (debian)&lt;br /&gt;
 yum install eclipse (Fedora)&lt;br /&gt;
 pacman -S eclipse (Arch)&lt;br /&gt;
 emerge -av eclipse-sdk (Gentoo)&lt;br /&gt;
 ...&lt;br /&gt;
&lt;br /&gt;
And run it, at least once, and then quit eclipse. &lt;br /&gt;
&lt;br /&gt;
====ADT====&lt;br /&gt;
The &#039;&#039;&#039;ADT&#039;&#039;&#039; plugin is required to compile on Android. &lt;br /&gt;
&lt;br /&gt;
#Go to [http://developer.android.com/sdk/eclipse-adt.html#installing ADT page]. &lt;br /&gt;
#Start Eclipse, then select Help &amp;amp;gt; Install New Software.... &lt;br /&gt;
#Add the &amp;quot;ADT Plugin&amp;quot; repository with https://dl-ssl.google.com/android/eclipse/ as &#039;&#039;&#039;URL&#039;&#039;&#039; &lt;br /&gt;
#Validate and select the checkbox next to Developer Tools and click Next, Next, Finish. &lt;br /&gt;
#Restart Eclipse. &lt;br /&gt;
#Go to &#039;&#039;Menu&#039;&#039; &amp;amp;gt; &#039;&#039;Window&#039;&#039; &amp;amp;gt; &#039;&#039;Preferences...&#039;&#039; and then &#039;&#039;Android&#039;&#039; from the left pane. &lt;br /&gt;
#Point the SDK Location in to your downloaded SDK directory. &lt;br /&gt;
#Ok, and quit Eclipse.&lt;br /&gt;
&lt;br /&gt;
See [http://developer.android.com/sdk/eclipse-adt.html#troubleshooting extra information here]. &lt;br /&gt;
&lt;br /&gt;
=== Environment setup  ===&lt;br /&gt;
==== Linux and autotools ====&lt;br /&gt;
* You &#039;&#039;&#039;MUST&#039;&#039;&#039; be on Linux, and a recent one.&lt;br /&gt;
* You &#039;&#039;&#039;MUST&#039;&#039;&#039; have installed: &#039;&#039;apache-ant&#039;&#039;, &#039;&#039;autoconf&#039;&#039;, &#039;&#039;automake&#039;&#039;, &#039;&#039;autopoint&#039;&#039;, &#039;&#039;libtool&#039;&#039;, &#039;&#039;gawk&#039;&#039; (or &#039;&#039;nawk&#039;&#039;), &#039;&#039;gcc&#039;&#039;, &#039;&#039;g++&#039;&#039;, &#039;&#039;pkg-config&#039;&#039;, &#039;&#039;cmake&#039;&#039;, &#039;&#039;patch&#039;&#039;, &#039;&#039;subversion&#039;&#039;. And very up-to-date versions of those tools.&lt;br /&gt;
* You &#039;&#039;&#039;MUST&#039;&#039;&#039; install: &#039;&#039;git&#039;&#039;.&lt;br /&gt;
&lt;br /&gt;
==== Environment ====&lt;br /&gt;
&lt;br /&gt;
Set $ANDROID_SDK to point to your Android SDK directory &lt;br /&gt;
&lt;br /&gt;
 export ANDROID_SDK=/path/to/android-sdk&lt;br /&gt;
&lt;br /&gt;
Set $ANDROID_NDK to point to your Android NDK directory &lt;br /&gt;
&lt;br /&gt;
 export ANDROID_NDK=/path/to/android-ndk&lt;br /&gt;
&lt;br /&gt;
Add some useful binaries to your $PATH &lt;br /&gt;
&lt;br /&gt;
 export PATH=$PATH:$ANDROID_SDK/tools:$ANDROID_SDK/platform-tools&lt;br /&gt;
&lt;br /&gt;
If you plan to use the emulator or if you have a phone that does not support NEON, you need a build without [[wikipedia:ARM_architecture#Advanced_SIMD_.28NEON.29|NEON]] &lt;br /&gt;
&lt;br /&gt;
 export NO_NEON=1&lt;br /&gt;
&lt;br /&gt;
Those exports must be set at all times, notably for the contribs and the configure.&lt;br /&gt;
&lt;br /&gt;
== Building ==&lt;br /&gt;
=== Get VLC Source ===&lt;br /&gt;
Use the VLC git repository to get the source! &lt;br /&gt;
&lt;br /&gt;
In your &#039;&#039;android&#039;&#039; folder, run: &lt;br /&gt;
&lt;br /&gt;
 git clone git://git.videolan.org/vlc-ports/android.git&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==== Compile ====&lt;br /&gt;
&#039;&#039;&#039;Read&#039;&#039;&#039; compile.sh first, as it contains some very useful important information. Then run it:&lt;br /&gt;
 sh compile.sh&lt;br /&gt;
&lt;br /&gt;
==== Package in Eclipse ====&lt;br /&gt;
# In Eclipse, create a new Android project from existing source by giving the vlc-android path. &lt;br /&gt;
# Compile your project using Eclipse.&lt;br /&gt;
&lt;br /&gt;
=== Run ===&lt;br /&gt;
Run it and enjoy! &lt;br /&gt;
&lt;br /&gt;
== Debugging ==&lt;br /&gt;
Here are some helpful links if you wish to debug VLC on Android:&lt;br /&gt;
* [http://developer.android.com/guide/developing/debugging/ddms.html DDMS] &lt;br /&gt;
* [http://developer.android.com/guide/developing/tools/logcat.html Logcat]&lt;br /&gt;
&lt;br /&gt;
== Troubleshooting ==&lt;br /&gt;
=== Outdated Awk ===&lt;br /&gt;
If you receive the error message while building:&lt;br /&gt;
&lt;br /&gt;
 Android NDK: Host &#039;awk&#039; tool is outdated. Please define HOST_AWK to point to Gawk or Nawk !    &lt;br /&gt;
&lt;br /&gt;
The prebuilt version of Awk that comes with the Android NDK is outdated. Defining HOST_AWK in your environment does nothing as the system still tries to just the one that comes with the Android NDK. To get around this issue, simply rename or delete the Awk binary that comes with the Android NDK. For example to move it:&lt;br /&gt;
&lt;br /&gt;
 mv $ANDROID_NDK/prebuilt/linux-x86/bin/awk $ANDROID_NDK/prebuilt/linux-x86/bin/awk.old&lt;br /&gt;
&lt;br /&gt;
=== Can&#039;t find Ant ===&lt;br /&gt;
If you&#039;re new to Ant, please be aware that some Linux distributions don&#039;t install it in the usual spot as with other programs. Try checking to see if the directory /usr/share/java/apache-ant/bin exists and add it to your path.&lt;br /&gt;
&lt;br /&gt;
[[Category:Building]]&lt;/div&gt;</summary>
		<author><name>Adridu59</name></author>
	</entry>
</feed>