renpy to android [SOLVED]

Discuss how to use the Ren'Py engine to create visual novels and story-based games. New releases are announced in this section.
Forum rules
This is the right place for Ren'Py help. Please ask one question per thread, use a descriptive subject like 'NotFound error in option.rpy' , and include all the relevant information - especially any relevant code and traceback messages. Use the code tag to format scripts.
Post Reply
Message
Author
Newprogrammer
Newbie
Posts: 17
Joined: Sat Oct 20, 2018 10:28 am
Contact:

renpy to android [SOLVED]

#1 Post by Newprogrammer »

Hi everyone, i tried to port my game on android so i downlaod rapt and SDK and configured the package, after this i hit the build package button but after a while the building process stops...

Code: Select all

 
Ren'Py 7.1.1.929

Updating project.

Creating assets directory.

Packaging internal data.

I'm using Gradle to build the package.
Checking the license for package Android SDK Build-Tools 27.0.3 in C:\Users\XXX\Desk\Renpy\renpy-7.0.0-sdk\rapt\Sdk\licenses
License for package Android SDK Build-Tools 27.0.3 accepted.
Preparing "Install Android SDK Build-Tools 27.0.3 (revision: 27.0.3)".
"Install Android SDK Build-Tools 27.0.3 (revision: 27.0.3)" ready.
Installing Android SDK Build-Tools 27.0.3 in C:\Users\XXX\Desk\Renpy\renpy-7.0.0-sdk\rapt\Sdk\build-tools\27.0.3
"Install Android SDK Build-Tools 27.0.3 (revision: 27.0.3)" complete.
"Install Android SDK Build-Tools 27.0.3 (revision: 27.0.3)" finished.
:app:preBuild UP-TO-DATE
:renpyandroid:preBuild UP-TO-DATE
:renpyandroid:preReleaseBuild UP-TO-DATE
:renpyandroid:checkReleaseManifest
:renpyandroid:processReleaseManifest
:app:preReleaseBuild
Download https://dl.bintray.com/alexeydanilov/apk-expansion/com/danikula/expansion/expansion/1.3.4/expansion-1.3.4.pom
Download https://dl.bintray.com/alexeydanilov/apk-expansion/com/danikula/expansion/license/1.7.0/license-1.7.0.pom
Download https://dl.bintray.com/alexeydanilov/apk-expansion/com/danikula/expansion/expansion/1.3.4/expansion-1.3.4.aar
Download https://dl.bintray.com/alexeydanilov/apk-expansion/com/danikula/expansion/license/1.7.0/license-1.7.0.aar
Download https://dl.google.com/dl/android/maven2/com/android/support/appcompat-v7/27.1.1/appcompat-v7-27.1.1.pom
Download https://jcenter.bintray.com/org/slf4j/slf4j-api/1.7.25/slf4j-api-1.7.25.pom
Download https://jcenter.bintray.com/org/slf4j/slf4j-parent/1.7.25/slf4j-parent-1.7.25.pom
Download https://jcenter.bintray.com/uk/uuid/slf4j/slf4j-android/1.7.25-1/slf4j-android-1.7.25-1.pom
Download https://dl.bintray.com/alexeydanilov/apk-expansion/com/danikula/expansion/zip/1.2.1/zip-1.2.1.pom
Download https://dl.google.com/dl/android/maven2/com/android/support/support-annotations/27.1.1/support-annotations-27.1.1.pom
Download https://dl.google.com/dl/android/maven2/com/android/support/support-core-utils/27.1.1/support-core-utils-27.1.1.pom
Download https://dl.google.com/dl/android/maven2/com/android/support/support-vector-drawable/27.1.1/support-vector-drawable-27.1.1.pom
Download https://dl.google.com/dl/android/maven2/com/android/support/animated-vector-drawable/27.1.1/animated-vector-drawable-27.1.1.pom
Download https://dl.google.com/dl/android/maven2/com/android/support/support-fragment/27.1.1/support-fragment-27.1.1.pom
Download https://dl.google.com/dl/android/maven2/com/android/support/support-compat/27.1.1/support-compat-27.1.1.pom
Download https://dl.google.com/dl/android/maven2/com/android/support/support-core-ui/27.1.1/support-core-ui-27.1.1.pom
Download https://dl.google.com/dl/android/maven2/android/arch/lifecycle/livedata-core/1.1.0/livedata-core-1.1.0.pom
Download https://dl.google.com/dl/android/maven2/android/arch/lifecycle/viewmodel/1.1.0/viewmodel-1.1.0.pom
Download https://dl.google.com/dl/android/maven2/android/arch/lifecycle/runtime/1.1.0/runtime-1.1.0.pom
Download https://dl.google.com/dl/android/maven2/android/arch/lifecycle/common/1.1.0/common-1.1.0.pom
Download https://dl.google.com/dl/android/maven2/android/arch/core/common/1.1.0/common-1.1.0.pom
Download https://dl.google.com/dl/android/maven2/android/arch/core/runtime/1.1.0/runtime-1.1.0.pom
Download https://dl.bintray.com/alexeydanilov/apk-expansion/com/danikula/expansion/zip/1.2.1/zip-1.2.1.aar
Download https://dl.google.com/dl/android/maven2/com/android/support/appcompat-v7/27.1.1/appcompat-v7-27.1.1.aar
Download https://dl.google.com/dl/android/maven2/com/android/support/animated-vector-drawable/27.1.1/animated-vector-drawable-27.1.1.aar
Download https://dl.google.com/dl/android/maven2/com/android/support/support-core-ui/27.1.1/support-core-ui-27.1.1.aar
Download https://dl.google.com/dl/android/maven2/com/android/support/support-core-utils/27.1.1/support-core-utils-27.1.1.aar
Download https://dl.google.com/dl/android/maven2/com/android/support/support-vector-drawable/27.1.1/support-vector-drawable-27.1.1.aar
Download https://dl.google.com/dl/android/maven2/com/android/support/support-compat/27.1.1/support-compat-27.1.1.aar
Download https://dl.google.com/dl/android/maven2/android/arch/lifecycle/viewmodel/1.1.0/viewmodel-1.1.0.aar
Download https://dl.google.com/dl/android/maven2/android/arch/lifecycle/livedata-core/1.1.0/livedata-core-1.1.0.aar
Download https://dl.google.com/dl/android/maven2/android/arch/core/runtime/1.1.0/runtime-1.1.0.aar
Download https://dl.google.com/dl/android/maven2/android/arch/lifecycle/runtime/1.1.0/runtime-1.1.0.aar
Download https://dl.google.com/dl/android/maven2/com/android/support/support-fragment/27.1.1/support-fragment-27.1.1.aar
:renpyandroid:compileReleaseAidl
:app:compileReleaseAidl
:renpyandroid:packageReleaseRenderscript NO-SOURCE
:app:compileReleaseRenderscript
:app:checkReleaseManifest
:app:generateReleaseBuildConfig
:app:prepareLintJar
:app:mainApkListPersistenceRelease
:app:generateReleaseResValues
:app:generateReleaseResources
:renpyandroid:compileReleaseRenderscript
:renpyandroid:generateReleaseResValues
:renpyandroid:generateReleaseResources
:renpyandroid:packageReleaseResources
:app:mergeReleaseResources
:app:createReleaseCompatibleScreenManifests
:app:processReleaseManifest
:app:splitsDiscoveryTaskRelease
:renpyandroid:platformAttrExtractor
:renpyandroid:generateReleaseBuildConfig
:renpyandroid:prepareLintJar
:renpyandroid:javaPreCompileRelease
Download https://jcenter.bintray.com/org/slf4j/slf4j-api/1.7.25/slf4j-api-1.7.25.jar
Download https://dl.google.com/dl/android/maven2/com/android/support/support-annotations/27.1.1/support-annotations-27.1.1.jar
Download https://dl.google.com/dl/android/maven2/android/arch/lifecycle/common/1.1.0/common-1.1.0.jar
Download https://dl.google.com/dl/android/maven2/android/arch/core/common/1.1.0/common-1.1.0.jar
Download https://jcenter.bintray.com/uk/uuid/slf4j/slf4j-android/1.7.25-1/slf4j-android-1.7.25-1.jar
:renpyandroid:processReleaseJavaRes NO-SOURCE
:app:compileReleaseNdk NO-SOURCE
:app:mergeReleaseShaders
:app:compileReleaseShaders
:app:generateReleaseAssets
:renpyandroid:mergeReleaseShaders
:renpyandroid:compileReleaseShaders
:renpyandroid:generateReleaseAssets
:renpyandroid:packageReleaseAssets
:app:mergeReleaseAssets
:app:mergeReleaseJniLibFolders
:renpyandroid:compileReleaseNdk NO-SOURCE
:renpyandroid:mergeReleaseJniLibFolders
:renpyandroid:transformNativeLibsWithMergeJniLibsForRelease
:renpyandroid:transformNativeLibsWithIntermediateJniLibsForRelease
:app:processReleaseJavaRes NO-SOURCE
:app:validateSigningRelease FAILED

FAILURE: Build failed with an exception.

* What went wrong:
Execution failed for task ':app:validateSigningRelease'.
> Keystore file 'C:\Users\XXX\Desk\Renpy\renpy-7.0.0-sdk\rapt\android.keystore' not found for signing config 'release'.

* Try:
Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output. Run with --scan to get full insights.

* Get more help at https://help.gradle.org

BUILD FAILED in 1m 50s
33 actionable tasks: 33 executed
Picked up _JAVA_OPTIONS: -Xmx512M

The build seems to have failed.
This is the error message that i received, anyone can help me?
Last edited by Newprogrammer on Mon Mar 18, 2019 8:46 am, edited 1 time in total.

User avatar
Imperf3kt
Lemma-Class Veteran
Posts: 3792
Joined: Mon Dec 14, 2015 5:05 am
itch: Imperf3kt
Location: Your monitor
Contact:

Re: renpy to android

#2 Post by Imperf3kt »

When you installed SDK and created keys, did you allow RAPT to generate a key? If you selected no, you'll get this error.
In my opinion, generating a key should not be optional as the build always fails without one.
Warning: May contain trace amounts of gratuitous plot.
pro·gram·mer (noun) An organism capable of converting caffeine into code.

Current project: GGD Mentor

Twitter

Newprogrammer
Newbie
Posts: 17
Joined: Sat Oct 20, 2018 10:28 am
Contact:

Re: renpy to android

#3 Post by Newprogrammer »

Thanks imperf3kt, after creating the key the apk was generated. I'll mark this post as solved

Post Reply

Who is online

Users browsing this forum: Google [Bot]