-
Notifications
You must be signed in to change notification settings - Fork 1.9k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
failed to setup p4a on ubuntu (multiple issues) #1191
Comments
my last issue is not related with p4a. I was to able to fix it by using appropriate android api version. |
@inclement why do you think that you should ignore this? |
@QuadTriangle Sorry, I thought your post meant you had resolved the issue. If the remaining issue was about the setLatestEventInfo problem, tito fixed that earlier today. |
@inclement oh, thanks. I have found a bug in setup.py Lines 46 to 49 in 2b3d52b
that's why, installed version doesn't include assets and drawable folder, gladlew and gladlew.bat file. I was able to fix the installation by adding '.gitkeep', 'gradlew*', here.
edit: I have opened PR #1204 and #1205 to fix all my remaining issues. |
When using pygame or sdl2 as bootstrap (but not when using webview), I get the same error:
And I guess if I do the same workaround (creating a dummy file), I will get the same subsequent errors. This is all done on Kivy virtual machine. Is it possible to make P4A automatically create dummy files (private.mp3 and icon.png) if they are not supplied? |
kivy: 1.10.0
cython: 0.26.1
p4a: 0.6.0
java: 1.8.0_144 (oracle)
android ndk: r15c
android sdk: 25.2.3
ubuntu: 16.04
cmd:
output:
$HOME/code/android/myapp/main.py:
I have no experience working with kivy. just trying to setup kivy on ubuntu 16.04 (kde neon ) for android. so, there might be something that I am missing. the
myapp
folder containsmain.py
only.if I use
I get a different error
after adding a icon
I didn't install ant using apt, so, I add ant in
PATH
, and use ant instead of gradle. and get this errorI was able to fix this problem using android api version 22 (setLatestEventInfo was removed in api 23). now, I can build, both launcher and app. launcher open, but app crash on opening. I will post logcat later.
The text was updated successfully, but these errors were encountered: