-
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
P4A builds stable instead of master #300
Comments
Are you able to use Buildozer instead? Then using the buildozer.spec file you can set android.p4a_dir to equal a directory into which you have cloned the master. Plus Buildozer gives you a lot more flexibility for other projects. |
If I remember correctly, buildozer worked good for apps with master. Couldn't change kivy master dir directly in p4a, though. Packaging the launcher alone didn't work, because there is no option in buildozer for that. Would be nice to have one. |
Why do you need just the launcher, what are you trying to achieve? |
To edit and run scripts on android device "on the go", which it was probably created for. You know, there is launcher in google play, but the launcher is version 1.8.0, which is not really useful if you want to use new features from master. And as I see the store right now, the last update was last year, so.. yeah. |
KeyWeeUsr: I think this project, the kivy-remote-shell will better fit your needs then. No you can't run scripts, but you could put them on the device and then import them. Then you can test code snippets or import modules all from a python shell that is on your android device. Also you can build the remote shell with Buildozer which as I stated earlier then you can clone any version of P4A that you wish. You can also clone Kivy on your system or install a dev branch and you can run Buildozer using that version of Kivy. I currently have a modified version of Kivy 1.8.0 on my system that Buildozer uses when it compiles my Apps. |
Actually, it doesn't. I need scripts to run, but thanks for the tip, I'll try it. But. How would you trigger some action that is based on touch? I don't need I/O console. And imagine printing non-english characters such as katakana in console. Not very useful this way, it's like using a wheelbarrow without wheel - you can, but... |
OK the remote shell is not perfect, but I did wind up modifying it to have a button for some testing it; but still you are right it is only useful to a certain extent. |
Maybe I didn't understand you well. Are you saying I don't use master of P4A? Because I use it. O_o Also P4A_kivy_dir should point to directory with kivy-master, which I've cloned/downloaded that time. So yeah, both were master and still ended up with 1.8.0 |
Where do you get this "P4A_kivy_dir" from. I see the distribute command that you ran above and I see that you set kivy=master... but that did not work. So what I am saying is just install kivy-daily on your Ubuntu system.
Then if you use Buildozer it will use your local installed copy of kivy which if you ran the commands above will be kivy-daily aka 1.9.0. Since you say you cloned kivy master, what was the command you executed? And what is the current command you are running for distribute? |
In the links above, Ctrl+F "export P4A_kivy_DIR=/path/to/cloned/kivy/", used it, but don't know if the log didn't catch the command or I'd used it before the log began. It's in "Packaging with python-for-android" so it's not for buildozer, isn't it? Buildozer is just a tool to use P4A correctly. And as there is no option for creating Launcher with buildozer, I don't want to, or better said, I'm not able to use buildozer for this! Have you read the whole post before my previous one? |
I don't mean to offend or upset you. But did you Ctrl+F "export" the first link, only lines 11 & 13 contain that keyword "export" and both are setting ANDROIDNDK. On your second link the keyword "export" is not found. |
Ubuntu 14.04 LTS, 64bit @ Win 8.1
Cython v0.21
according to https://code.google.com/p/kivy/downloads/detail?name=KivyLauncher-1.7.1.0.apk
distribute(without twisted):
https://gist.github.com/KeyWeeUsr/bb4ea4512f83f6612ab2
build:
https://gist.github.com/KeyWeeUsr/3c32d5cae2f72728b06e
Launcher works, but still v1.8.0, not master. Any ideas why/solutions?
The text was updated successfully, but these errors were encountered: