Ren'Py Renpy 7.3.5 offline apk-extensions

badsantagirl

Member
Apr 22, 2018
107
139
The Renpy 7.3.5 cannot build an Android port now that the Bintray platform shutted down.

A solution was provided in the newer Renpy versions, but this was not backported to Renpy 7.3.5. I did this, so now porting in this Renpy version works as well.

How to use it:
You need a clean state. So download and install again the Renpy 7.3.5 SDK, and get the rapt module. Don't get the Android SDK right now, just copy the files to the created directory. Now you can get the Android SDK, and everything will work.
 
Last edited:

yesyeahvh

New Member
Jan 11, 2021
14
17
hello sir i get this problem when build app can you help me thanks
Code:
* What went wrong:
Could not resolve all files for configuration ':app:releaseRuntimeClasspath'.
> Could not resolve com.danikula.expansion:expansion:1.3.4.
  Required by:
      project :app > project :renpyandroid
   > Could not resolve com.danikula.expansion:expansion:1.3.4.
      > Could not get resource 'https://dl.bintray.com/alexeydanilov/apk-expansion/com/danikula/expansion/expansion/1.3.4/expansion-1.3.4.pom'.
         > Could not GET 'https://dl.bintray.com/alexeydanilov/apk-expansion/com/danikula/expansion/expansion/1.3.4/expansion-1.3.4.pom'. Received status code 403 from server: Forbidden
> Could not resolve com.danikula.expansion:license:1.7.0.
  Required by:
      project :app > project :renpyandroid
   > Could not resolve com.danikula.expansion:license:1.7.0.
      > Could not get resource 'https://dl.bintray.com/alexeydanilov/apk-expansion/com/danikula/expansion/license/1.7.0/license-1.7.0.pom'.
         > Could not GET 'https://dl.bintray.com/alexeydanilov/apk-expansion/com/danikula/expansion/license/1.7.0/license-1.7.0.pom'. Received status code 403 from server: Forbidden
> Could not resolve com.danikula.expansion:zip:1.2.1.
  Required by:
      project :app > project :renpyandroid
   > Could not resolve com.danikula.expansion:zip:1.2.1.
      > Could not get resource 'https://dl.bintray.com/alexeydanilov/apk-expansion/com/danikula/expansion/zip/1.2.1/zip-1.2.1.pom'.
         > Could not GET 'https://dl.bintray.com/alexeydanilov/apk-expansion/com/danikula/expansion/zip/1.2.1/zip-1.2.1.pom'. Received status code 403 from server: Forbidden
 

badsantagirl

Member
Apr 22, 2018
107
139
This is the problem what the offline extensions will solve. But you need a clean state. Follow what I wrote in the "how to use it" section. Try to reinstall it on a fully new folder.
 
  • Like
Reactions: yesyeahvh

yesyeahvh

New Member
Jan 11, 2021
14
17
This is the problem what the offline extensions will solve. But you need a clean state. Follow what I wrote in the "how to use it" section. Try to reinstall it on a fully new folder.
hello sir I have carefully read and followed every step but still error when build apk, can you share me rapt folder already downloaded Bintray platform thank you
 

badsantagirl

Member
Apr 22, 2018
107
139
The reason why I provide just these files, because these are the extensions and the configuration files to tell Renpy not to access bintray.

You get these errors, because your configuration files still want to download the extensions from bintray. This is why the clean state is so important, because what you want to do is to create the configuration for the offline extensions. So download and extract Renpy 7.3.5 to a fully new, never touched folder, get the rapt module, and before you get Android SDK, copy the files in the rapt folder. After that, you can get Android SDK, and it will generate an offline based configuration for the extensions from the prototype folder, so you will never access bintray.
 
  • Like
Reactions: yesyeahvh

yesyeahvh

New Member
Jan 11, 2021
14
17
badsantagirl I tried the game renpy demo and it worked, but with the normal game, an error occurs
Code:
:app:packageRelease FAILED

FAILURE: Build failed with an exception.

* What went wrong:
Execution failed for task ':app:packageRelease'.
> org.gradle.tooling.BuildException (no error message)
 

69alexa

New Member
Feb 28, 2023
2
1
No function---------

Ren'Py 7.3.5.606

Actualizando proyecto

Creando directorio de recursos.

Empaquetando datos internos.

Estoy usando Gradle para construir el paquete.
File C:\Users\ck\.android\repositories.cfg could not be loaded.
Checking the license for package Android SDK Build-Tools 27.0.3 in C:\Users\ck\Downloads\comprimidos\renpy-7.3.5-sdk-prueba\renpy-7.3.5-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\ck\Downloads\comprimidos\renpy-7.3.5-sdk-prueba\renpy-7.3.5-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.
WARNING: Configuration 'compile' is obsolete and has been replaced with 'implementation' and 'api'.
It will be removed at the end of 2018. For more information see:
WARNING: Configuration 'compile' is obsolete and has been replaced with 'implementation' and 'api'.
It will be removed at the end of 2018. For more information see:
WARNING: Configuration 'compile' is obsolete and has been replaced with 'implementation' and 'api'.
It will be removed at the end of 2018. For more information see:
:app:preBuild UP-TO-DATE
:expansion:preBuild UP-TO-DATE
:expansion:preReleaseBuild UP-TO-DATE
:expansion:checkReleaseManifest
:expansion:processReleaseManifest
:license:preBuild UP-TO-DATE
:license:preReleaseBuild UP-TO-DATE
:license:checkReleaseManifest
:license:processReleaseManifest
:renpyandroid:preBuild UP-TO-DATE
:renpyandroid:preReleaseBuild UP-TO-DATE
:renpyandroid:checkReleaseManifest
:renpyandroid:processReleaseManifest
:zip:preBuild UP-TO-DATE
:zip:preReleaseBuild UP-TO-DATE
:zip:checkReleaseManifest
:zip:processReleaseManifest
:app:preReleaseBuild
Download
Download
Download
Download
Download
Download
Download
Download
Download
Download
Download
Download
Download
:license:compileReleaseAidl
:zip:compileReleaseAidl
:expansion:compileReleaseAidl
:renpyandroid:compileReleaseAidl
:app:compileReleaseAidl
:expansion:packageReleaseRenderscript NO-SOURCE
:license:packageReleaseRenderscript NO-SOURCE
:renpyandroid:packageReleaseRenderscript NO-SOURCE
:zip:packageReleaseRenderscript NO-SOURCE
:app:compileReleaseRenderscript
:app:checkReleaseManifest
:app:generateReleaseBuildConfig
:app:prepareLintJar
:app:mainApkListPersistenceRelease
:app:generateReleaseResValues
:app:generateReleaseResources
:expansion:compileReleaseRenderscript
:expansion:generateReleaseResValues
:expansion:generateReleaseResources
:expansion:packageReleaseResources
:license:compileReleaseRenderscript
:license:generateReleaseResValues
:license:generateReleaseResources
:license:packageReleaseResources
:renpyandroid:compileReleaseRenderscript
:renpyandroid:generateReleaseResValues
:renpyandroid:generateReleaseResources
:renpyandroid:packageReleaseResources
:zip:compileReleaseRenderscript
:zip:generateReleaseResValues
:zip:generateReleaseResources
:zip:packageReleaseResources
:app:mergeReleaseResources
:app:createReleaseCompatibleScreenManifests
:app:processReleaseManifest
:app:splitsDiscoveryTaskRelease
:expansion:platformAttrExtractor
:license:platformAttrExtractor
:zip:platformAttrExtractor
:renpyandroid:platformAttrExtractor
:expansion:generateReleaseBuildConfig
:expansion:prepareLintJar
:license:generateReleaseBuildConfig
:license:prepareLintJar
:license:javaPreCompileRelease
Download
:license:processReleaseJavaRes NO-SOURCE
:zip:generateReleaseBuildConfig
:zip:prepareLintJar
:zip:javaPreCompileRelease
:zip:processReleaseJavaRes NO-SOURCE
:expansion:processReleaseJavaRes NO-SOURCE
:renpyandroid:generateReleaseBuildConfig
:renpyandroid:prepareLintJar
:renpyandroid:processReleaseJavaRes NO-SOURCE
:app:compileReleaseNdk NO-SOURCE
:app:mergeReleaseShaders
:app:compileReleaseShaders
:app:generateReleaseAssets
:expansion:mergeReleaseShaders
:expansion:compileReleaseShaders
:expansion:generateReleaseAssets
:expansion:packageReleaseAssets
:license:mergeReleaseShaders
:license:compileReleaseShaders
:license:generateReleaseAssets
:license:packageReleaseAssets
:renpyandroid:mergeReleaseShaders
:renpyandroid:compileReleaseShaders
:renpyandroid:generateReleaseAssets
:renpyandroid:packageReleaseAssets
:zip:mergeReleaseShaders
:zip:compileReleaseShaders
:zip:generateReleaseAssets
:zip:packageReleaseAssets
:app:mergeReleaseAssets
:app:mergeReleaseJniLibFolders
:expansion:compileReleaseNdk NO-SOURCE
:expansion:mergeReleaseJniLibFolders
:expansion:transformNativeLibsWithMergeJniLibsForRelease
:expansion:transformNativeLibsWithIntermediateJniLibsForRelease
:license:compileReleaseNdk NO-SOURCE
:license:mergeReleaseJniLibFolders
:license:transformNativeLibsWithMergeJniLibsForRelease
:license:transformNativeLibsWithIntermediateJniLibsForRelease
:renpyandroid:compileReleaseNdk NO-SOURCE
:renpyandroid:mergeReleaseJniLibFolders
:renpyandroid:transformNativeLibsWithMergeJniLibsForRelease
:renpyandroid:transformNativeLibsWithIntermediateJniLibsForRelease
:zip:compileReleaseNdk NO-SOURCE
:zip:mergeReleaseJniLibFolders
:zip:transformNativeLibsWithMergeJniLibsForRelease
:zip:transformNativeLibsWithIntermediateJniLibsForRelease
:app:processReleaseJavaRes NO-SOURCE
:app:validateSigningRelease
:expansion:mergeReleaseConsumerProguardFiles
:expansion:transformNativeLibsWithSyncJniLibsForRelease
:expansion:mergeReleaseResources
:expansion:verifyReleaseResources
:license:mergeReleaseConsumerProguardFiles
:license:transformNativeLibsWithSyncJniLibsForRelease
:license:mergeReleaseResources
:license:verifyReleaseResources
:renpyandroid:mergeReleaseConsumerProguardFiles
:renpyandroid:transformNativeLibsWithSyncJniLibsForRelease
:renpyandroid:mergeReleaseResources
:zip:generateReleaseRFile
:zip:generateReleaseSources
:zip:compileReleaseJavaWithJavacNote: C:\Users\ck\Downloads\comprimidos\renpy-7.3.5-sdk-prueba\renpy-7.3.5-sdk\rapt\project\zip\src\main\java\com\android\vending\expansion\zipfile\APEZProvider.java uses or overrides a deprecated API.
Note: Recompile with -Xlint:deprecation for details.

:zip:transformClassesAndResourcesWithPrepareIntermediateJarsForRelease
:renpyandroid:verifyReleaseResources
:zip:extractReleaseAnnotations
Download
Download
Download
Download
Download
Download
Download
Download
Download
Download
Download
Download
Download
Download
Download
Download
Download
Download
Download
Download
Download
Download
Download
:zip:mergeReleaseConsumerProguardFiles
:zip:transformResourcesWithMergeJavaResForRelease
:zip:transformClassesAndResourcesWithSyncLibJarsForRelease
:zip:transformNativeLibsWithSyncJniLibsForRelease
:zip:bundleRelease
:zip:compileReleaseSources
:zip:mergeReleaseResources
:zip:verifyReleaseResources
:zip:assembleRelease
:license:generateReleaseRF
 
Last edited: