You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi guys, I'm trying to build the test flask app and I'm having some trouble.
Here is the command I'm running: p4a apk --requirements=kivy --private ../python-for-android/testapps/testapp_flask --package=com.eastridge.tablet --name="tablet" --version=0.5 --bootstrap=webview --arch=armeabi-v7a --requirements=flask
And this is the error I'm getting:
[INFO]: Dist can be found at (for now) /Users/dpatz/.python-for-android/dists/unnamed_dist_1
[INFO]: Of the existing distributions, the following meet the given requirements:
[INFO]: unnamed_dist_1: includes recipes (hostpython2, python2, genericndkbuild, setuptools, flask, jinja2, werkzeug, markupsafe, itsdangerous, click), built for archs (armeabi-v7a)
[INFO]: unnamed_dist_1 has compatible recipes, using this one
[INFO]: -> directory context /Users/dpatz/.python-for-android/dists/unnamed_dist_1
[INFO]: -> running ant debug
[INFO]: STDOUT (last 20 lines of 82):
-compile:
[javac] Compiling 22 source files to /Users/dpatz/.python-for-android/dists/unnamed_dist_1/bin/classes
[javac] warning: [options] source value 1.5 is obsolete and will be removed in a future release
[javac] warning: [options] target value 1.5 is obsolete and will be removed in a future release
[javac] warning: [options] To suppress warnings about obsolete options, use -Xlint:-options.
[javac] /Users/dpatz/.python-for-android/dists/unnamed_dist_1/tmp-src/org/kivy/android/PythonService.java:96: error: cannot find symbol
[javac] notification.setLatestEventInfo(context, serviceTitle, serviceDescription, pIntent);
[javac] ^
[javac] symbol: method setLatestEventInfo(Context,String,String,PendingIntent)
[javac] location: variable notification of type Notification
[javac] Note: Some input files use or override a deprecated API.
[javac] Note: Recompile with -Xlint:deprecation for details.
[javac] 1 error
[javac] 3 warnings
BUILD FAILED
/Users/dpatz/Library/Android/sdk/tools/ant/build.xml:716: The following error occurred while executing this line:
/Users/dpatz/Library/Android/sdk/tools/ant/build.xml:730: Compile failed; see the compiler error output for details.
Total time: 2 seconds
[INFO]: STDERR:
[INFO]: COMMAND:
cd /Users/dpatz/.python-for-android/dists/unnamed_dist_1 && /usr/local/bin/ant debug
[WARNING]: ERROR: /usr/local/bin/ant failed!
Any ideas?
Thanks!
The text was updated successfully, but these errors were encountered:
This is a known problem, but I haven't had time to check through the possible solutions yet. You can try the PR at #873, or possibly just target an older api.
Hi guys, I'm trying to build the test flask app and I'm having some trouble.
Here is the command I'm running:
p4a apk --requirements=kivy --private ../python-for-android/testapps/testapp_flask --package=com.eastridge.tablet --name="tablet" --version=0.5 --bootstrap=webview --arch=armeabi-v7a --requirements=flask
And this is the error I'm getting:
Any ideas?
Thanks!
The text was updated successfully, but these errors were encountered: