-
Notifications
You must be signed in to change notification settings - Fork 80
Compile Android Remote
- Java JDK 1.7
- git
- IntelliJ
- Android SDK
You must have the latest Android SDK installed. After the installation, run tools/android and download the following items:
- build-tools 19.0.2
- latest platform-tools
- the latest Android SDK Platform (Android 4.4.2 API 19 at this moment)
- Android Support Repository
- Android Support Library
- Google Play services
- Google Play Billing Library
Now set the ANDROID_HOME enviroment variable to the path where you extracted the Android SDK.
Get the latest source code with git clone https://github.com/clementine-player/Android-Remote.git
If you just want an apk, run the following command inside the Android-Remote directory to compile a debug apk:
./gradlew assembleDebug
It should generate an apk file inside the build/apk directory.
To compile a signed apk, remove the comments inside signingConfigs the build.gradle file. Run the following command:
./gradlew assembleRelease
Enter the keystore credentials when prompted.
Download the latest IntelliJ version and install/extract it.
Start IntelliJ and select Import Project from the menu. Select the build.gradle file, after a short while the project should be loaded and you can start coding!