| Left: | ||
| Right: |
| 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 |
| (...skipping 45 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 56 mvn clean install [-Dandroid.sdk.path=/some/where/sdk] | 56 mvn clean install [-Dandroid.sdk.path=/some/where/sdk] |
| 57 | 57 |
| 58 This will generate *.aar library artifacts in the 'libadblockplus-android/target ', | 58 This will generate *.aar library artifacts in the 'libadblockplus-android/target ', |
| 59 'libadblockplus-android-settings/target', 'libadblockplus-android-webview/target ' directories | 59 'libadblockplus-android-settings/target', 'libadblockplus-android-webview/target ' directories |
| 60 and *.apk in the 'libadblockplus-android-webviewapp/target' directory. | 60 and *.apk in the 'libadblockplus-android-webviewapp/target' directory. |
| 61 | 61 |
| 62 ### Building with Gradle/Android Studio | 62 ### Building with Gradle/Android Studio |
| 63 | 63 |
| 64 #### Requirements | 64 #### Requirements |
| 65 | 65 |
| 66 * [The Android SDK](http://developer.android.com/sdk) | 66 * [The Android SDK](https://developer.android.com/sdk) |
|
anton
2017/10/25 08:33:04
not related but i'd prefer to make it consistent w
jens
2017/10/25 08:36:11
Acknowledged.
| |
| 67 * Android SDK Build tools 24.0.1 | 67 * Android SDK Build tools 24.0.1 |
| 68 * [The Android NDK, 12b](https://developer.android.com/tools/sdk/ndk) | 68 * [The Android NDK, 12b](https://developer.android.com/ndk) |
|
anton
2017/10/25 08:33:04
forwarded to ../ndk/index.html but looks consisten
jens
2017/10/25 08:36:11
Acknowledged.
| |
| 69 | 69 |
| 70 Edit 'buildToolsVersion' in 'build.gradle' files if necessary. | 70 Edit 'buildToolsVersion' in 'build.gradle' files if necessary. |
| 71 | 71 |
| 72 #### Building from command-line | 72 #### Building from command-line |
| 73 | 73 |
| 74 In the project root directory create the file _local.properties_ and set | 74 In the project root directory create the file _local.properties_ and set |
| 75 _sdk.dir_ and _ndk.dir_ to where you installed it, e.g.: | 75 _sdk.dir_ and _ndk.dir_ to where you installed it, e.g.: |
| 76 | 76 |
| 77 sdk.dir = /some/where/sdk | 77 sdk.dir = /some/where/sdk |
| 78 ndk.dir = /some/where/ndk | 78 ndk.dir = /some/where/ndk |
| (...skipping 219 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 298 | 298 |
| 299 This will generate *.apk in the 'libadblockplus-android-webviewapp/bin/' directo ry. | 299 This will generate *.apk in the 'libadblockplus-android-webviewapp/bin/' directo ry. |
| 300 | 300 |
| 301 #### Building with Gradle | 301 #### Building with Gradle |
| 302 | 302 |
| 303 In the project root directory run: | 303 In the project root directory run: |
| 304 | 304 |
| 305 ./gradlew assemble | 305 ./gradlew assemble |
| 306 | 306 |
| 307 This will generate *.apk in the 'libadblockplus-android-webviewapp/build/outputs /apk/' directory. | 307 This will generate *.apk in the 'libadblockplus-android-webviewapp/build/outputs /apk/' directory. |
| OLD | NEW |