Skip to content
migueLoureiro edited this page Jul 2, 2015 · 15 revisions

Pre-requirements

Import Github Project manually

Before open in an IDE like android studio or eclipse you can import manually the accl git repository by running in your terminal this command:

git clone --recursive [email protected]:LSTS/accl.git

Then you should import the folder to your workspace.

Import Github Project to Android Studio

In the Welcome screen choose: Check out project from version control and choose Github
When asked: Would you like to create an Android Studio project for the sources... say yes and keep pressing next/ok/overwrite/finish make sure the paths are all correct

To run:
Press the green play button Shift+F10

If you cannot choose your device, please restart adb server with root permissions, in a terminal your Androidsdk/platform-tools folder:
./adb kill-server
sudo ./adb start-server

Import Github Project to Eclipse

In your workspace, choose:
File->Import...->Git/Projects From Git and hit next
Clone uri
In Location/URI, put github clone URL
Choose branches
Place the project folder in your workspace to avoid references problems.
Import existing projects
Select accu folder and finish

To Run:
Right Click accu project and choose: Run As->Android Application

If you cannot choose your device, please restart adb server with root permissions, in a terminal on your Androidsdk/platform-tools folder:
./adb kill-server
sudo ./adb start-server

Clone this wiki locally