Building from source code
Last updated
Last updated
To ensure a smooth development experience, follow the steps below to set up your development environment:
Operating System: This project is compatible with Windows, macOS, and Linux.
IDE (Integrated Development Environment): We recommend using or as your IDE for C# development. Make sure to install the necessary extensions and plugins for a better development experience.
If you are using you should install plugin to be able working with axaml files using a preview.
If you are using you should install plugin to be able working with axaml files using a preview.
This project is built using , the latests version of the .NET platform. We recommend installing .NET 8.0 by following the instructions provided on the official .
If you haven't already, install a version control system such as to track changes and collaborate with other developers.
Clone the project repository to your local machine using the following command:
Navigate to the platform project directory and restore the required dependencies. There is 3 possible platform directories to build and debug our app: Asv.Drones.Gui.Desktop, Asv.Drones.Gui.Android, Asv.Drones.Gui.iOS. For example we will use Asv.Drones.Gui.Desktop platform, so you have to execute the following command:
After restore you have to build the project to ensure that everything is set up correctly, and if it's not - try to restore workloads again:
Run the project:
Congratulations! Your development environment is now set up, and you are ready to start contributing to the project. If you encounter any issues during the setup process, refer to the project's documentation or reach out to the development team for assistance.
To build applications for Android, additional setup is required for JDK and Android SDK installation. Follow the instructions below based on your operating system.
Navigate to the platform project directory and restore the required dependencies:
Install the .NET MAUI Check tool to verify your environment is ready for .NET MAUI development:
For Android SDK managing we recommend to install Android Studio.
Using Android Studio's SDK Manager, download Android 13.0 (Tiramisu) and API level 33. It's highly recommended to create an Android Virtual Device (AVD) with these settings, preferably with tablet configurations for better testing experience.
Build the project for Android:
The ${AndroidSdkPath}
should be replaced with the actual path to your Android SDK installation.
Install Android Studio to manage Android SDKs:
Install OpenJDK 11:
Using Android Studio's SDK Manager, download Android 13.0 (Tiramisu) and API level 33. It's highly recommended to create an Android Virtual Device (AVD) with these settings, preferably with tablet configurations for better testing experience.
Build the project for Android:
The ${AndroidSdkPath}
should be replaced with the actual path to your Android SDK installation.
Install Android Studio:
Install JDK through Homebrew or any preferred method:
Using Android Studio's SDK Manager, download Android 13.0 (Tiramisu) and API level 33. It's highly recommended to create an Android Virtual Device (AVD) with these settings, preferably with tablet configurations for better testing experience.
Build the project for Android, specifying the Android SDK directory:
The ${AndroidSdkPath}
should be replaced with the actual path to your Android SDK installation.
If you want to run application after build you should start your previously created AVD and wait until it's startup processes are complete. Then you have to execute following command:
The ${AndroidSdkPath}
should be replaced with the actual path to your Android SDK installation.