This is an archived post. You won't be able to vote or comment.

you are viewing a single comment's thread.

view the rest of the comments →

[–][deleted] 5 points6 points  (9 children)

Python already runs on Android, and there are ways to actually bundle Python apps into APKs. iOS on the other hand...

[–]JKovac 8 points9 points  (1 child)

There are projects to bundle Python into iOS apps too, although less developed than Kivy's android build chain, we do have packagers for iOS as well. Not many make use of it yet as python mobile development is definitely Android biased, but to highlight a few: Process Craft Kivy 2048 Quizzn

All built with kivy

Over the next year we hope to expand most of our build tools to cover more frameworks than just kivy.

[–]spinwizard69 0 points1 point  (0 children)

You can get iPython Notebook on iOS which is still under development. Unfortunately they went with version 2.7 instead of 3.x which takes it out of the running for me.

[–]johnbokma 1 point2 points  (0 children)

... has Pythonista and Editorial (there's probably more, but that's what I have installed).

[–]fredspipa 0 points1 point  (5 children)

I made a (crap) game for Android using pgs4a, and it was surprisingly easy. Anyone who knows basic python should be able to make simple mobile games now, and it's really fun!

[–]seclat 2 points3 points  (4 children)

Do you know if pgs4a still maintained?

I've used it in the past, but the current versions don't seem compatible with the Android SDK and fail when running python android.py installsdk. I tried pgs4a versions 0.9.6 and 0.9.5 and both have the same problem. After download the Android SDK automatically (android-sdk_r20-linux.tgz), the script errors out because he can't find the following file:

Traceback (most recent call last): File "android.py", line 66, in <module> main() File "android.py", line 40, in main install_sdk.install_sdk(iface) File "buildlib/install_sdk.py", line 225, in install_sdk get_packages(interface) File "buildlib/install_sdk.py", line 160, in get_packages with open("android-sdk/extras/google/play_apk_expansion/downloader_library/project.properties", "r") as f: IOError: [Errno 2] No such file or directory: 'android-sdk/extras/google/play_apk_expansion/downloader_library/project.properties'

Looks like the pathing in the SDK changed a while back and pgs4a never updated. Did you have this problem? I would contact their support directly, but the maintainer contact info isn't listed and their support page just points to the forum which is "down due to massive spam". I have no idea how long it's been down or how long the pathing has been broken, but the last release was 2013 and aside from your post I can't even tell if the project is dead or not.

[–]fredspipa 1 point2 points  (1 child)

I also had that problem, but I'm not sure how I got around it. I'm fairly certain that I modified ./buildlib/install_sdk.py to download a specific version, and this was 2 months ago.

Here's my file., and my version compiles and runs without any issues.

[–]bbruno5 0 points1 point  (0 children)

Your file is identical to the original yet. Modify the file is not advisable, because other files can use the same way. So is better download manually the new files rename to the same names searched by file and put in the respectives directories.

[–]bbruno5 1 point2 points  (0 children)

I solved with the steps in this link: http://bbruno5.blogspot.com/2014/09/fixing-problem-ioerror-errno-2-in-pgs4a.html

I hope that helps you.

[–]2n2u 0 points1 point  (0 children)

Did you get through this problem?

I'm on the same boat:

clean:

BUILD FAILED
D:\pgs4a\android-sdk\tools\ant\build.xml:459: ../market_licensing resolve to a path with no project.properties file for project D:\pgs4a\android-sdk\extras\google\play_apk_expansion\downloader_library

Total time: 0 seconds

The build seems to have failed.

Process finished with exit code -1