This repository has been archived by the owner on May 5, 2020. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 430
Getting Started
erikaaatan edited this page Dec 16, 2017
·
1 revision
- Download Android Studio here. If you are using Android Studio 3.0 use these resources (https://developer.android.com/studio/build/gradle-plugin-3-0-0-migration.html / https://developer.android.com/studio/releases/gradle-plugin.html).
- Click on “Fork” in the top right corner of the PowerUp repository so that you have your own copy.
- Remember to use the code from the GSoC17 branch when you are running the app on an emulator or trying to contribute. Now, clone the repo to your desktop by typing
git clone https://github.com/YOUR_USERNAME/powerup-android.git
in your command line. - Initialize git.
git init
- In Android Studio, press “open an existing Android Studio project” and migrate to where you downloaded PowerUp. Open the “PowerUp” folder. You may now start contributing to the project!
For more instructions, see the README.
- Click the “Run” button near the top left of Android Studio.
- The “Select Deployment Target” Dialog appears.
- If you receive an error or warning message at the top of the dialog, click the link to correct the problem or get more information.
- The “No USB devices or running emulators detected” warning means that you don’t currently have any emulators running, or any detected hardware devices connected to your computer. If you don’t have hardware devices connected to your computer, or any emulators running, you can ignore the message.
- Some errors you must fix before you can continue, such as certain Hardware Accelerated Execution Manager (Intel® HAXM) errors.
- For Mac, if you see a “Warning: No DNS servers found” error when starting the emulator, check to see whether you have an /etc/resolv.conf file. If not, enter the following command in a terminal window:
ln -s /private/var/run/resolv.conf /etc/resolv.conf
- In the “Select Deployment Target” dialog, select an existing emulator definition, and then click OK.
- If you don’t see a definition you want to use, click “Create New Virtual Device” to launch the AVD Manager. After you define a new AVD, in the “Select Deployment Target dialog”, click OK.
- If you want to use this emulator definition as the default for your project, select “Use same selection for future launches”.
Documentation
Outreachy Interns
GSoC Students