renpytom / rapt-pygame-example

Example of using RAPT to package Pygame(_sdl2) games.
231 stars 39 forks source link

I get some error #1

Closed ghost closed 9 years ago

ghost commented 9 years ago

I did exactly what stands in the readme, but when I try it I get this error:

Traceback (most recent call last):
  File "android.py", line 69, in <module>
    main()
  File "android.py", line 54, in main
    build.build(iface, args.argument[0], args.argument[1:], launch=args.launch)
  File "buildlib/rapt/build.py", line 474, in build
    config = config)
  File "buildlib/rapt/build.py", line 116, in render
    f = file(dest, "wb")
IOError: [Errno 2] No such file or directory: '/media/wb9688/sdcard/rapt/res/values/strings.xml'
ghost commented 9 years ago

I found the problem.

renpytom commented 9 years ago

What was the problem?

ghost commented 9 years ago

I cloned the repo, but I had to download it from that nightly site, because some files aren't included. Why can't I just clone the repo from https://github.com/renpy/rapt.git?

renpytom commented 9 years ago

It's because rapt.git (and my fork of python-for-android, which it uses) require the NDK, and quite a bit of work to build. The binary distro already has done that for you.

ghost commented 9 years ago

Are there instructions for manually building RAPT?

renpytom commented 9 years ago

Not yet. It's kind of a pain in the ass to document, since you need pygame_sdl2 and Ren'Py to do the build, as well as a number of android tools.

ghost commented 9 years ago

Can't you make a bash or python script to set up the Android tools, pygame_sdl2, Ren'Py and the other stuff? Are you using a buildbot for building the nightlies?