This repository has been archived by the owner on Nov 25, 2021. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 33
Developer's guide
suomiy edited this page Feb 1, 2017
·
1 revision
To start contributing to moVirt, you will need to install the following things:
- oVirt
- Android Studio, Git
- Android 4.1+ or emulator
For Windows users:
- Download and install Android Studio Bundle.
- Add packages in Android SDK Manager (guide), you need:
- Android SDK Platform-tools
- Android SDK Build-tools; see version in moVirt/build.gradle
- Android Support Library and Repository
- Android API SDK (you can install additional SDK as per your needs).
For Linux/MacOS users:
- Download Android SDK
- Download and install Android Studio or any other IDE for Java development.
- Install Android SDK (guide)
- Add packages in Android SDK Manager (guide), you need:
- Android SDK Platform-tools
- Android SDK Build-tools; see version in moVirt/build.gradle
- Android Support Library and Repository
- Android API SDK (you can install additional SDK as per your needs).
- This step only for Windows users.
- Before importing you need to change symlink. To do this run CMD with admin rights, change directory with
cd [/d] path\to\movirt\root
, and runsymlink.bat
. Repeat every time after updating repo. - Also you might want to exclude symlink from your local repo. To do this add
AndroidManifest.xml
to the end of.git\info\exclude
file.
- File -> Open -> ~/" path to moVirt project "/build.gradle. Or select "Import project" from Welcome page.
- On the import dialog : Select local gradle distribution. Give the path to gradle; see version in gradle/gradle-wrapper.properties
After this, the prompt asks you to enter the path to the android sdk.
You can refer the following image for the complete SDK path.
- Press OK. The build takes a while to complete. After it is done, the project is reloaded.
- Run the android application on an emulator or a developer's device.
Run -> Run -> Select moVirt-moVirt
For the first time Run -> Edit Configurations
Click on the + icon -> Android application -> in right panel General tab select the moVirt-moVirt module.
Click Apply. Click OK.
See http://www.ovirt.org/documentation/quickstart/quickstart-guide/