Skip to content
gravgun edited this page Mar 5, 2014 · 1 revision

Prerequisites

  • Android 4.0+ SDK (API 14 or more)
  • Eclipse with Android Development Tools
  • git
  • Optional git GUI

Step 1: fetching the project

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.

Step 2: importing the project

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].

Step 3: build!

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!