Rietveld Code Review Tool
Help | Bug tracker | Discussion group | Source code

Side by Side Diff: README.md

Issue 5133042217648128: Add a README with build instructions (Closed)
Patch Set: Fixed Ant build instructions, added instructions for running Created March 5, 2014, 2:45 p.m.
Left:
Right:
Use n/p to move between diff chunks; N/P to move between comments.
Jump to:
View unified diff | Download patch
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
(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)
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 debug
26
27 ### Running
28
29 Connect an Android device or start the Android Emulator, then run:
30
31 ant debug install
32
33 Finally, you can run _Adblock Plus_ from the launcher.
34
35 Building with Eclipse
36 ---------------------
37
38 ### Requirements
39
40 - [The Android SDK](http://developer.android.com/sdk)
41 - [The Android NDK](https://developer.android.com/tools/sdk/ndk)
42 - [Eclipse](https://www.eclipse.org)
43 - [Android Developer Tools for Eclipse](http://developer.android.com/tools/sdk/e clipse-adt.html)
44 (both _Developer Tools_ and _NDK Plugins_)
45 - [C++ Developer Tools for Eclipse](http://projects.eclipse.org/projects/tools.c dt)
46
47 ### Building
48
49 1. Select _Import_ in the _File_ menu, then _Existing Android Projects Into Work space_.
50 2. Select the project directory (_adblockplusandroid_) as _Root Directory_.
51 3. Select the projects _Adblock Plus_, _library_ and _android-switch-backport_.
52 4. Revert any local changes to _.classpath_ in _adblockplusandroid_
53 and _adblockplusandroid/submodules/android-switch-backport_.
54
55 ### Running
56
57 1. Connect an Android device or start the Android Emulator.
58 2. In Eclipse, select the _Adblock Plus_ project, then run it as an
59 _Android Application_.
OLDNEW
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld