| Left: | ||
| Right: |
| OLD | NEW |
|---|---|
| (Empty) | |
| 1 Adblock Plus for Android | |
| 2 ======================== | |
| 3 | |
| 4 An Android app that runs a proxy to block ads. | |
| 5 | |
| 6 Buildling with Ant | |
| 7 ------------------ | |
| 8 | |
| 9 ### Requirements | |
| 10 | |
| 11 - [The Android SDK](http://developer.android.com/sdk) | |
| 12 - [The Android NDK](https://developer.android.com/tools/sdk/ndk) | |
| 13 - [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
| |
| 14 | |
| 15 ### Building | |
| 16 | |
| 17 In the project directory, create the file _local.properties_ and set | |
| 18 _sdk.dir_ and _ndk.dir_ to where you installed it, e.g.: | |
| 19 | |
| 20 sdk.dir = /some/where/sdk | |
| 21 ndk.dir = /some/where/ndk | |
| 22 | |
| 23 Then run: | |
| 24 | |
| 25 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 :)
| |
| 26 | |
| 27 Building with Eclipse | |
| 28 --------------------- | |
| 29 | |
| 30 ### Requirements | |
| 31 | |
| 32 - [The Android SDK](http://developer.android.com/sdk) | |
| 33 - [The Android NDK](https://developer.android.com/tools/sdk/ndk) | |
| 34 - [Eclipse](https://www.eclipse.org) | |
| 35 - [Android Developer Tools for Eclipse](http://developer.android.com/tools/sdk/e clipse-adt.html) | |
| 36 (both _Developer Tools_ and _NDK Plugins_) | |
| 37 - [C++ Developer Tools for Eclipse](http://projects.eclipse.org/projects/tools.c dt) | |
| 38 | |
| 39 ### Building | |
| 40 | |
| 41 1. Select _Import_ in the _File_ menu, then _Existing Android Projects Into Work space_. | |
| 42 2. Select the project directory (_adblockplusandroid_) as _Root Directory_. | |
| 43 3. Select the projects _Adblock Plus_, _library_ and _android-switch-backport_. | |
| 44 4. Revert any local changes to _.classpath_ in _adblockplusandroid_ | |
| 45 and _adblockplusandroid/submodules/android-switch-backport_. | |
| OLD | NEW |