RAPT - Ren'Py Android Packaging Tool
- PyTom
- Ren'Py Creator
- Posts: 16093
- Joined: Mon Feb 02, 2004 10:58 am
- Completed: Moonlight Walks
- Projects: Ren'Py
- IRC Nick: renpytom
- Github: renpytom
- itch: renpytom
- Location: Kings Park, NY
- Contact:
Re: RAPT - Ren'Py Android Packaging Tool
You need to make sure the font you're using is included with your game and in the apk. Assuming the file exists in the game directory, try renaming the .apk to .zip and looking inside the assets/ directory to make sure the font is there.
Supporting creators since 2004
(When was the last time you backed up your game?)
"Do good work." - Virgil Ivan "Gus" Grissom(When was the last time you backed up your game?)
Software > Drama • https://www.patreon.com/renpytom
-
- Regular
- Posts: 38
- Joined: Thu Sep 24, 2009 10:42 am
- Completed: High School Life:HSL
- Deviantart: greeeed
- Contact:
Re: RAPT - Ren'Py Android Packaging Tool
never mind,
fix it by deleting google play licensing library and google play APK expansion library
and re-download them from Android SDK Manager
fix it by deleting google play licensing library and google play APK expansion library
and re-download them from Android SDK Manager
Code: Select all
Updating build files.
Resolved location of library project to: D:\renpy_sdk\rapt\android-sdk-r22.6.2\extras\google\play_apk_expansion\downloader_library
Updated project.properties
Updated local.properties
Added file D:\renpy_sdk\rapt\build.xml
Updated file D:\renpy_sdk\rapt\proguard-project.txt
Creating assets directory.
Packaging internal data.
I'm using Ant to build the package.
Buildfile: D:\renpy_sdk\rapt\build.xml
-check-env:
[checkenv] Android SDK Tools Revision 22.6.2
[checkenv] Installed at D:\renpy_sdk\rapt\android-sdk-r22.6.2
-setup:
[echo] Project Name: Test_01-alpha
[gettype] Project Type: Application
-pre-clean:
clean:
BUILD FAILED
D:\renpy_sdk\rapt\android-sdk-r22.6.2\tools\ant\build.xml:460: ../market_licensing resolve to a path with no project.properties file for project D:\renpy_sdk\rapt\android-sdk-r22.6.2\extras\google\play_apk_expansion\downloader_library
Total time: 0 seconds
The build seems to have failed.
- tiya_nofurita
- Miko-Class Veteran
- Posts: 669
- Joined: Fri Jun 22, 2012 7:23 pm
- Completed: ALLBLACK Phase 1, Heart's Blight, Last Rx., EDDA Cafe, Kohana, Half Moon
- Projects: ALLBLACK Phase 2
- Organization: VN Project Indonesia
- Deviantart: SECONDARY-TARGET
- itch: NSAID
- Location: I can be everywhere
- Discord: 3,4-Methylendioxymethamphetamine#4886
- Contact:
Re: RAPT - Ren'Py Android Packaging Tool
Hseo : Same problem with you and I deleted google play licensing library and google play APK expansion library, then re-downloaded them again. Successfully build but haven't tried it on my device. I wonder if my Android can recognize .obb file? (totally noob, I use file expansion by the way). Where should I put .apk file and .obb file on my device? Do I have to rename .obb file into the same as .apk file?
-
- Regular
- Posts: 38
- Joined: Thu Sep 24, 2009 10:42 am
- Completed: High School Life:HSL
- Deviantart: greeeed
- Contact:
Re: RAPT - Ren'Py Android Packaging Tool
for this you can watch this video for full explaining how to play games with apk and obb filestiya_nofurita wrote:Hseo : Same problem with you and I deleted google play licensing library and google play APK expansion library, then re-downloaded them again. Successfully build but haven't tried it on my device. I wonder if my Android can recognize .obb file? (totally noob, I use file expansion by the way). Where should I put .apk file and .obb file on my device? Do I have to rename .obb file into the same as .apk file?
[youtube]http://www.youtube.com/watch?v=cPaBxSViTYY[/youtube]
+
you can put *.apk and *.obb files anywhere you want
-> for me I just put them in "root -> download"
(I:\download or I:\device_name\download )
also, it look like the game will crush in android if we used
Code: Select all
init python:
config.rtl = True
->>>>>>>downloading API 19 right now
- tiya_nofurita
- Miko-Class Veteran
- Posts: 669
- Joined: Fri Jun 22, 2012 7:23 pm
- Completed: ALLBLACK Phase 1, Heart's Blight, Last Rx., EDDA Cafe, Kohana, Half Moon
- Projects: ALLBLACK Phase 2
- Organization: VN Project Indonesia
- Deviantart: SECONDARY-TARGET
- itch: NSAID
- Location: I can be everywhere
- Discord: 3,4-Methylendioxymethamphetamine#4886
- Contact:
Re: RAPT - Ren'Py Android Packaging Tool
Hseo : Thanks for your tips and explanation, but nope, after I followed all the instructions on that video, it's still not functioning. I successfully installed my .apk files but when I run it, it always said "Looking for some resources to download" and then "Download failed because you may not have purchased this app."
Edited : But after I upload my .apk and .obb expansion file to Google Play, then download it directly into my Android device, it works just fine. Weird Probably still contains some issues though, but I hope not.
Anyone interested to become a beta-tester, maybe?
Edited : But after I upload my .apk and .obb expansion file to Google Play, then download it directly into my Android device, it works just fine. Weird Probably still contains some issues though, but I hope not.
Anyone interested to become a beta-tester, maybe?
-
- Newbie
- Posts: 2
- Joined: Sat Apr 26, 2014 9:14 pm
- Contact:
Re: RAPT - Ren'Py Android Packaging Tool
hello, I listed these errors :
that I can do?
[dx] ...while parsing Com/android/vending/expansion/downloader/R.class
[dx]
[dx] 6 errors; aborting
BUILD FAILED
C:\Users\Diego\Downloads\Nueva carpeta\Nueva carpeta (2)\renpy-6.17.4-sdk\rapt\android-sdk-r22.6.2\tools\ant\build.xml:892: The following error occurred while executing this line:
C:\Users\Diego\Downloads\Nueva carpeta\Nueva carpeta (2)\renpy-6.17.4-sdk\rapt\android-sdk-r22.6.2\tools\ant\build.xml:894: The following error occurred while executing this line:
C:\Users\Diego\Downloads\Nueva carpeta\Nueva carpeta (2)\renpy-6.17.4-sdk\rapt\android-sdk-r22.6.2\tools\ant\build.xml:906: The following error occurred while executing this line:
C:\Users\Diego\Downloads\Nueva carpeta\Nueva carpeta (2)\renpy-6.17.4-sdk\rapt\android-sdk-r22.6.2\tools\ant\build.xml:284: null returned: 1
Total time: 40 seconds
The build seems to have failed.
that I can do?
[dx] ...while parsing Com/android/vending/expansion/downloader/R.class
[dx]
[dx] 6 errors; aborting
BUILD FAILED
C:\Users\Diego\Downloads\Nueva carpeta\Nueva carpeta (2)\renpy-6.17.4-sdk\rapt\android-sdk-r22.6.2\tools\ant\build.xml:892: The following error occurred while executing this line:
C:\Users\Diego\Downloads\Nueva carpeta\Nueva carpeta (2)\renpy-6.17.4-sdk\rapt\android-sdk-r22.6.2\tools\ant\build.xml:894: The following error occurred while executing this line:
C:\Users\Diego\Downloads\Nueva carpeta\Nueva carpeta (2)\renpy-6.17.4-sdk\rapt\android-sdk-r22.6.2\tools\ant\build.xml:906: The following error occurred while executing this line:
C:\Users\Diego\Downloads\Nueva carpeta\Nueva carpeta (2)\renpy-6.17.4-sdk\rapt\android-sdk-r22.6.2\tools\ant\build.xml:284: null returned: 1
Total time: 40 seconds
The build seems to have failed.
- PyTom
- Ren'Py Creator
- Posts: 16093
- Joined: Mon Feb 02, 2004 10:58 am
- Completed: Moonlight Walks
- Projects: Ren'Py
- IRC Nick: renpytom
- Github: renpytom
- itch: renpytom
- Location: Kings Park, NY
- Contact:
Re: RAPT - Ren'Py Android Packaging Tool
I'd try deleting and reinstalling android-sdk - your install seems corrupted.
Supporting creators since 2004
(When was the last time you backed up your game?)
"Do good work." - Virgil Ivan "Gus" Grissom(When was the last time you backed up your game?)
Software > Drama • https://www.patreon.com/renpytom
Re: RAPT - Ren'Py Android Packaging Tool
I have the same problem as you, ".../market_licensing resolve to a path with no project.properties file for project..." and already tried deleting and re-downloading the google play licensing library and google play APK expansion library, but the problem persists. Did you try anything else other than that? (I also had tried deleting rapt folder and installing the Android SDK all over again to no avail)Hseo wrote:never mind,
fix it by deleting google play licensing library and google play APK expansion library
and re-download them from Android SDK Manager
EDIT: I'm using 6.17.6
EDIT2: IT'S SOLVED.
It took me hours to realize: whenever I run "Install SDK & Create Keys" step, Ren'Py launcher ALWAYS ends up not responding after the long and tiring download of Android SDK. Which (I think) leads to incomplete download of play_licensing and play_apk_expansion folders. Unfortunately, deleting the folders and re-downloading them through the Android SDK Manager didn't work for me.
What works: delete the google folder and re-download them through the LAUNCHER (redo the step "Install SDK & Create Keys").
I'm sorry if I'm too stupid, but I can't learn to walk on my own
Re: RAPT - Ren'Py Android Packaging Tool
Why RAPT still has ARMv5TE libs only? Now >90% devices has an ARMv7 cores, but engine doesn't use the all power of them now, because it has no optimised libs for it. May be it's time to add it? Or may be RAPT source are available somewhere, and we can try to build it to other platforms ourselves?
Thanks!
Thanks!
- PyTom
- Ren'Py Creator
- Posts: 16093
- Joined: Mon Feb 02, 2004 10:58 am
- Completed: Moonlight Walks
- Projects: Ren'Py
- IRC Nick: renpytom
- Github: renpytom
- itch: renpytom
- Location: Kings Park, NY
- Contact:
Re: RAPT - Ren'Py Android Packaging Tool
It isn't clear to me that the additional performance would be worth the larger package sizes or the complexity of having to upload multiple apk variants.
Do you have any data on the percentage of android devices with arm7 cores?
Do you have any data on the percentage of android devices with arm7 cores?
Supporting creators since 2004
(When was the last time you backed up your game?)
"Do good work." - Virgil Ivan "Gus" Grissom(When was the last time you backed up your game?)
Software > Drama • https://www.patreon.com/renpytom
Re: RAPT - Ren'Py Android Packaging Tool
No, I have no CPU-specific statistics instruments. I can look at my app users devices top list in Google Play developer console. And I have no devices with CPUs older than ARMv7 there.
Last ARMv6-based smartphones, which I found, are produced in 2010-2011. You can look how many devices are produced in last 3 years, and before in any catalog, like gsmarena. Anyway, they are to old.
May be optional possibility to make package with pre-ARMv7 CPU support will be better? Unity 3D was doing same, before dropped old cores completely. I think, additional 3 megabytes of libs (which will be compressed in APK) is not a big problem, don't you?
PS: Sorry for my English. I don't know it very well.
Last ARMv6-based smartphones, which I found, are produced in 2010-2011. You can look how many devices are produced in last 3 years, and before in any catalog, like gsmarena. Anyway, they are to old.
May be optional possibility to make package with pre-ARMv7 CPU support will be better? Unity 3D was doing same, before dropped old cores completely. I think, additional 3 megabytes of libs (which will be compressed in APK) is not a big problem, don't you?
PS: Sorry for my English. I don't know it very well.
- PyTom
- Ren'Py Creator
- Posts: 16093
- Joined: Mon Feb 02, 2004 10:58 am
- Completed: Moonlight Walks
- Projects: Ren'Py
- IRC Nick: renpytom
- Github: renpytom
- itch: renpytom
- Location: Kings Park, NY
- Contact:
Re: RAPT - Ren'Py Android Packaging Tool
Knowing that unity dropped support is a good data point. I'll think about it.
Supporting creators since 2004
(When was the last time you backed up your game?)
"Do good work." - Virgil Ivan "Gus" Grissom(When was the last time you backed up your game?)
Software > Drama • https://www.patreon.com/renpytom
-
- Newbie
- Posts: 4
- Joined: Tue Jun 10, 2014 7:43 pm
- Contact:
Re: RAPT - Ren'Py Android Packaging Tool
Hi there. I tried to built an Android version of my VN, and while I'm doing so, I encountered these while building the package. Do you know what seems to be the problem??? Thank you.
Re: RAPT - Ren'Py Android Packaging Tool
Hi.
I was unable to install the SDK:
I was unable to install the SDK:
Code: Select all
I'm sorry, but an uncaught exception occurred.
While running game code:
File "launcher/game/android.rpy", line 569, in script
python:
File "launcher/game/android.rpy", line 571, in <module>
rapt.install_sdk.install_sdk(AndroidInterface())
IOError: [Errno 2] No such file or directory: 'C:\\renpy-last-sdk\\rapt\\android-sdk-r22.6.2/extras/google/play_apk_expansion/downloader_library/project.properties'
-- Full Traceback ------------------------------------------------------------
Full traceback:
File "launcher/game/android.rpy", line 569, in script
python:
File "C:\renpy-last-sdk\renpy\ast.py", line 756, in execute
renpy.python.py_exec_bytecode(self.code.bytecode, self.hide, store=self.store)
File "C:\renpy-last-sdk\renpy\python.py", line 1382, in py_exec_bytecode
exec bytecode in globals, locals
File "launcher/game/android.rpy", line 571, in <module>
rapt.install_sdk.install_sdk(AndroidInterface())
File "C:\renpy-last-sdk\rapt\buildlib\rapt\install_sdk.py", line 257, in install_sdk
get_packages(interface)
File "C:\renpy-last-sdk\rapt\buildlib\rapt\install_sdk.py", line 180, in get_packages
with open(plat.path("android-sdk/extras/google/play_apk_expansion/downloader_library/project.properties"), "r") as f:
IOError: [Errno 2] No such file or directory: 'C:\\renpy-last-sdk\\rapt\\android-sdk-r22.6.2/extras/google/play_apk_expansion/downloader_library/project.properties'
Windows-7-6.1.7601-SP1
Ren'Py 6.17.6.512
Ren'Py Launcher 6.17.6.512
- PyTom
- Ren'Py Creator
- Posts: 16093
- Joined: Mon Feb 02, 2004 10:58 am
- Completed: Moonlight Walks
- Projects: Ren'Py
- IRC Nick: renpytom
- Github: renpytom
- itch: renpytom
- Location: Kings Park, NY
- Contact:
Re: RAPT - Ren'Py Android Packaging Tool
Google upgraded their build tools, which broke Ren'Py. I'm going to try to get a 6.18 prerelease out over the long weekend.
Supporting creators since 2004
(When was the last time you backed up your game?)
"Do good work." - Virgil Ivan "Gus" Grissom(When was the last time you backed up your game?)
Software > Drama • https://www.patreon.com/renpytom
Who is online
Users browsing this forum: No registered users