This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import kivy | |
from kivy.app import App | |
from kivy.lang import Builder | |
from kivy.logger import Logger | |
from kivy.properties import ObjectProperty | |
from kivy.uix.anchorlayout import AnchorLayout | |
from kivy.core.window import Window | |
if kivy.platform == 'android': | |
from jnius import autoclass, PythonJavaClass, java_method |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[DEBUG]: -compile: | |
[DEBUG]: [javac] Compiling 23 source files to /home/amy/.local/share/python-for-android/dists/unnamed_dist_1/bin/classes | |
[DEBUG]: [javac] Note: Some input files use or override a deprecated API. | |
[DEBUG]: [javac] Note: Recompile with -Xlint:deprecation for details. | |
[DEBUG]: | |
[DEBUG]: -post-compile: | |
[DEBUG]: | |
[DEBUG]: -obfuscate: | |
[DEBUG]: | |
[DEBUG]: -dex: |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
amy@amy-nix14:~/kivy/drawing_app$ p4a apk --android-api=19 --private $HOME/kivy/drawing_app --package=org.learnleapfly.drawing_app --name "Drawing" --version 0.1 --bootstrap=sdl2 --requirements=python2,kivy | |
[INFO]: This python-for-android revamp is an experimental alpha release! | |
[INFO]: It should work (mostly), but you may experience missing features or bugs. | |
[INFO]: Will compile for the following archs: armeabi | |
[INFO]: Getting Android API version from user argument | |
[INFO]: Available Android APIs are (19, 23, 24) | |
[INFO]: Requested API target 19 is available, continuing. | |
[INFO]: Found NDK dir in $ANDROIDNDK | |
[INFO]: Got NDK version from $ANDROIDNDKVER | |
[INFO]: Using Google NDK r12b |