OLD | NEW |
1 Adblock Plus Library for Android | 1 Adblock Plus Library for Android |
2 ================================ | 2 ================================ |
3 | 3 |
4 An Android library project, tests and demo application for AdblockWebView widget
. | 4 An Android library project, tests and demo application for AdblockWebView widget
. |
5 | 5 |
6 ## Updating the dependencies | 6 ## Updating the dependencies |
7 | 7 |
8 Adblock Plus for Android has dependencies that aren't in this repository. | 8 Adblock Plus for Android has dependencies that aren't in this repository. |
9 To update those, call: | 9 To update those, call: |
10 | 10 |
11 ./ensure_dependencies.py | 11 ./ensure_dependencies.py |
12 | 12 |
13 ## Library | 13 ## Library |
14 | 14 |
15 An Android library that provides the core functionality of Adblock Plus. | 15 An Android library that provides the core functionality of Adblock Plus. |
16 You can find it in the 'libadblockplus-android' directory. | 16 You can find it in the 'libadblockplus-android' directory. |
17 | 17 |
18 ### Building | 18 ### Building |
19 | 19 |
20 #### Requirements | 20 #### Requirements |
21 | 21 |
22 * [The Android SDK](https://developer.android.com/sdk) | 22 * [The Android SDK](https://developer.android.com/sdk) |
23 * Android SDK Build tools 24.0.1 | 23 * Android SDK Build tools 25.0.0 |
24 * [The Android NDK, 12b](https://developer.android.com/ndk) | 24 * [The Android NDK, 16b](https://developer.android.com/ndk) |
25 | 25 |
26 Edit 'buildToolsVersion' in 'build.gradle' files if necessary. | 26 Edit 'buildToolsVersion' in 'build.gradle' files if necessary. |
27 | 27 |
28 #### Building from command-line | 28 #### Building from command-line |
29 | 29 |
30 In the project root directory create the file _local.properties_ and set | 30 In the project root directory create the file _local.properties_ and set |
31 _sdk.dir_ and _ndk.dir_ to where you installed it, e.g.: | 31 _sdk.dir_ and _ndk.dir_ to where you installed it, e.g.: |
32 | 32 |
33 sdk.dir = /some/where/sdk | 33 sdk.dir = /some/where/sdk |
34 ndk.dir = /some/where/ndk | 34 ndk.dir = /some/where/ndk |
(...skipping 227 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
262 | 262 |
263 ### Building | 263 ### Building |
264 | 264 |
265 Make sure _Library_ requirements are present. | 265 Make sure _Library_ requirements are present. |
266 | 266 |
267 In the project root directory run: | 267 In the project root directory run: |
268 | 268 |
269 ./gradlew assemble | 269 ./gradlew assemble |
270 | 270 |
271 This will generate *.apk in the 'libadblockplus-android-webviewapp/build/outputs
/apk/' directory. | 271 This will generate *.apk in the 'libadblockplus-android-webviewapp/build/outputs
/apk/' directory. |
OLD | NEW |