Skip to content

Commit

Permalink
Move Android backend to use Gradle-based template.
Browse files Browse the repository at this point in the history
  • Loading branch information
freakboy3742 committed Mar 20, 2017
1 parent 5c19fcf commit e84e1d8
Showing 1 changed file with 5 additions and 12 deletions.
17 changes: 5 additions & 12 deletions briefcase/android.py
Original file line number Diff line number Diff line change
Expand Up @@ -54,23 +54,16 @@ def post_run(self):
print("Before you compile this Android project, you need to do the following:")
print()
print(" * Download the Android SDK Tools")
print(" * Ensure you have Android API Level 11 downloaded")
print(" * Configure your device for debugging")
print(" * Ensure you have Android API Level 15 downloaded")
print(" * Ensure the ANDROID_HOME environment variable points at your Android SDK.")
print(" * Configure your device for debugging")
print()
print("To compile the project:")
print("To compile, install and run the project on your phone:")
print()
print(" $ cd android")
print(" $ ant debug")
print()
print("To install the project on a device:")
print()
print(" $ adb install -r bin/%s-debug.apk" % self.distribution.get_name())
print(" $ ./gradlew run")
print()
print("To run the project on a device:")
print("To view logs while the project runs:")
print()
print(" $ adb shell am start -n %s.%s/android.PythonActivity" % (
self.bundle, self.distribution.get_name())
)
print(" $ adb logcat Python:* *:E")
print()

0 comments on commit e84e1d8

Please sign in to comment.