-
Notifications
You must be signed in to change notification settings - Fork 1
BuildInstructions
Things needed:
- JDK (tested with openjdk)
- Eclipse (tested with Luna) OR Android Studio
- Android SDK
- Eclipse Android Plugin
- Android SDK Packages for the target Android SDK Version.
Open the Android SDK Manager:
Install the Android API, at the time of writing: Android 5.0(API 21).
Check Android API Level in
AndroidManifest.xml,
loook for:
<uses-sdk android:minSdkVersion="X" />
You need to have X API level or above
Make sure to select the whole folder of the API Level Required.
Project->Clean...->Clean All Projects->OK
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.
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
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
Check the Settings Example.