Index: README.md |
=================================================================== |
new file mode 100644 |
--- /dev/null |
+++ b/README.md |
@@ -0,0 +1,45 @@ |
+Adblock Plus for Android |
+======================== |
+ |
+An Android app that runs a proxy to block ads. |
+ |
+Buildling with Ant |
+------------------ |
+ |
+### Requirements |
+ |
+- [The Android SDK](http://developer.android.com/sdk) |
+- [The Android NDK](https://developer.android.com/tools/sdk/ndk) |
+- [Ant](http://ant.apache.org) |
Wladimir Palant
2014/03/05 14:45:09
Does the JDK count as a requirement?
Felix Dahlke
2014/03/05 14:47:57
It's part of the Android SDK requirements, should
|
+ |
+### Building |
+ |
+In the project directory, create the file _local.properties_ and set |
+_sdk.dir_ and _ndk.dir_ to where you installed it, e.g.: |
+ |
+ sdk.dir = /some/where/sdk |
+ ndk.dir = /some/where/ndk |
+ |
+Then run: |
+ |
+ ant build |
René Jeschke
2014/03/05 14:38:22
There is no 'build' target in the build.xml file.
Wladimir Palant
2014/03/05 14:45:09
Right, it is either ant debug or ant release.
Felix Dahlke
2014/03/05 14:47:57
Done. Oops :)
|
+ |
+Building with Eclipse |
+--------------------- |
+ |
+### Requirements |
+ |
+- [The Android SDK](http://developer.android.com/sdk) |
+- [The Android NDK](https://developer.android.com/tools/sdk/ndk) |
+- [Eclipse](https://www.eclipse.org) |
+- [Android Developer Tools for Eclipse](http://developer.android.com/tools/sdk/eclipse-adt.html) |
+ (both _Developer Tools_ and _NDK Plugins_) |
+- [C++ Developer Tools for Eclipse](http://projects.eclipse.org/projects/tools.cdt) |
+ |
+### Building |
+ |
+1. Select _Import_ in the _File_ menu, then _Existing Android Projects Into Workspace_. |
+2. Select the project directory (_adblockplusandroid_) as _Root Directory_. |
+3. Select the projects _Adblock Plus_, _library_ and _android-switch-backport_. |
+4. Revert any local changes to _.classpath_ in _adblockplusandroid_ |
+ and _adblockplusandroid/submodules/android-switch-backport_. |