-
Notifications
You must be signed in to change notification settings - Fork 10
Developer guide
Arnaud Vassellier edited this page Aug 10, 2017
·
22 revisions
AC2RD can be built from source either using Eclipse (with ADT Plugin), or Android Studio.
Prerequisites: Oracle Java JDK and Android SDK are required.
- Oracle Java JDK can be downloaded here: http://www.oracle.com/technetwork/java/javase/downloads/index.html
- Retrieve the JDK version for your operating system, and install it (for the AC2RD project, i used java version 1.7)
- Android SDK can be downloaded here: http://developer.android.com/sdk/index.html
- Retrieve the Android SDK version for your operating system, and install it
- Launch Android SDK Manager
- If you are behind a proxy, then you need to configure it by selecting Tools > Options in the menu
- Select which package you want to download by selecting the checkbox and then click Install (for the AC2RD project, i select Android SDK Tools, Android SDK Platform-tools, and the SDK Platform of the latest API which is version 25, but also Android Support Repository/Library in Extras category)
- Eclipse can be downloaded here: http://www.eclipse.org/downloads/ (for the AC2RD project, i used the following version: eclipse-SDK-4.4.2-linux-gtk downloadable here: http://archive.eclipse.org/eclipse/downloads/drops4/R-4.4.2-201502041700/)
- ADT Plugin can be downloaded here: https://developer.android.com/studio/tools/sdk/eclipse-adt.html (for the AC2RD project, i used the following version: ADT-23.0.7 downloadable here: https://dl.google.com/android/ADT-23.0.7.zip)
- Start Eclipse, then select Help > Install New Software
- Click Add, in the top-right corner
- In the Add Repository dialog that appears, enter "ADT Plugin" for the Name and the following URL for the Location: https://dl-ssl.google.com/android/eclipse/ (or click Archive, and select the offline ADT Plugin archive), then click OK
- In the Available Software dialog, select the checkbox next to Developer Tools and click Next
- In the next window, you'll see a list of the tools to be downloaded, then click Next
- Read and accept the license agreements, then click Finish
- When the installation completes, restart Eclipse
- In the "Welcome to Android Development" window that appears, select Use existing SDKs (if window that not appears, select Window > Preferences, and click Android)
- Browse and select the location of the Android SDK directory you recently downloaded and unpacked, then click Next
- Select File > New > Project
- Select Android Project from Existing Code, then click Next
- Browse and select the location of the Android Support V7 AppCompat directory (in the Extras directory of the Android SDK.), then click OK and Finish
- Extract the AC2RD source code in your eclipse workspace
- Select File > New > Project
- Select Android Project from Existing Code, then click Next
- Browse and select the location of the AC2RD source code directory, then click OK and Finish
- Select Project > Properties
- Select Android, and add the android-support-v7-appcompat library, then click Apply
- Always in properties, select Java Build Path > Libraries, and uncheck Android Private Libraries, then add android-support-v4.jar and android-support-v7.jar (these files are located in the Extras directory of the Android SDK)
- Now you can build the AC2RD software by selecting the AC2RD project in eclipse, and selecting Run > Run As > Android Application
Coming soon
TODO
TODO
TODO
TODO
TODO
TODO
TODO
TODO
TODO
TODO
TODO
TODO
TODO