-
Notifications
You must be signed in to change notification settings - Fork 4
Developer Setup
Donald Oakes edited this page Sep 9, 2014
·
31 revisions
Build Mythling from GitHub-hosted source, and run this local build on your device.
####Contents
IDE Setup
Build and Run
- Get the source code.
- Copy the Git repository URL for the Mythling master branch into the clipboard:
https://github.com/oakesville/mythling.git
- Open the Git Repositories view in Eclipse (Window > Show View > Other > Git > Git Repositories).
- Right-click in Git Repositories view and select "Paste Repository Path or URI".
- Click through the Git Clone wizard, accepting the defaults unless you're a contributor and you want non-anonymous access, or the local repository path is not correct.
- Copy the Git repository URL for the Mythling master branch into the clipboard:
- Run in debug mode on your device.
- Uninstall Mythling if you've installed it through the Play Store. Note: you'll lose your preference settings and they'll need to be re-entered.
- Enable USB Debugging through the Android Settings app. This option is located under Developer Options.
- Connect your device to a USB port on the PC where you're running Eclipse. (Some Samsung devices require their Kies PC software for USB connectivity. Other manufacturers may require their own specialized installations.)
- In Eclipse, right click on the mythling project in Package Explorer view and select Debug As > Android Application. Find and select your device under "Choose a running device". (If you don't have a device or want to test a different profile you can create an Android Virtual Device to run through the emulator). Click OK.
- ADT will install the Mythling APK on your device and you'll be able to step through the code and evaluate variables. A good place to start with a breakpoint is in MainActivity.refresh().
Mythling Wiki How-To Guide