-
Notifications
You must be signed in to change notification settings - Fork 102
How to build
- Android 4.0+ SDK (API 14 or more)
- Eclipse with Android Development Tools
- git
- Optional git GUI
Fire up your git GUI or command line and clone https://github.com/Anasthase/TintBrowser.git
and https://github.com/Anasthase/TintBrowserAddonFrameworkLibrary.git
.
To ease the build process, the two clones repositories folders should be in the same directory. Also make sure this directory is not your current Eclipse workspace, or else importing the projects will only result in an "Invalid project description" error.
Open Eclipse, click on "File" > "Import...", then select "Existing Android Code Into Workspace" under the "Android" category. Type in the path, or browse and select, of the directory containing the cloned projects. Make sure both TintBrowser and TintBrowserAddonFrameworkLibrary items are checked for import, optionally check "Copy projects into workspace", then click "Finish".
If your default Android SDK is not targeting API 14, Eclispe will probably show the warning Unable to resolve target 'android-14'
. As of ADT 22.3, this should be automatically fixed after importing; else edit both project's project.properties
and change target=android-14
to target=android-[your API version]
.
No errors should show up, you are now ready to build. Just press the "Run" button and try Tint in the emulator or on your device!