/adblockplusandroid

Adblock Plus app for Android

Primary LanguageJava

Adblock Plus for Android

An Android app that runs a proxy to block ads.

Buildling with Ant

Requirements

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 debug

Running

Connect an Android device or start the Android Emulator, then run:

ant debug install

Finally, you can run Adblock Plus from the launcher.

Building with Eclipse

Requirements

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.

Running

  1. Connect an Android device or start the Android Emulator.
  2. In Eclipse, select the Adblock Plus project, then run it as an Android Application.