Follow Cloning a repository - GitHub Docs to clone OLE's myPlanet repository onto your local machine.
- If you already have Android Studio installed, ensure it's up-to-date.
- If not, visit Install Android Studio | Android Developers and follow the provided steps to install Android Studio.
- Launch Android Studio on your computer. If this is your first time using Android Studio, it may take a moment to set up the initial configuration.
- On the welcome screen, click the "Open" button. Alternatively, if you have a project already open, you can navigate to "File" > "Open..." from the top menu bar.
- A file dialog box will appear. Navigate to the location where your project's repository folder is located.
After importing the project, Android Studio will perform a Gradle build, which may take a few moments. Gradle is the build system for Android projects, and it will download any necessary dependencies for the project.
To avoid overriding the app on your physical device and to ensure crash reports are sent, we need to set up an Android emulator for this step. Open 'Tools' > 'Device Manager.'
Click the + icon to create a new virtual device. You should see this pop up:
Follow the prompts to select a hardware, click next and choose a system image. Continue and finish configurations. You may change the device name if you'd like.
In Android Studio's toolbar, select the desired run configuration from the drop-down menu. It would be app
in our case.
Click the green "Run" button to install and launch the app on the emulator.
After installing the app on your emulator, it will launch automatically. Approve any permission requests to continue. Once the app is running, take a screenshot from your emulator and share it in the Discord channel to let us know you completed step 3.