Ren'Py Error while trying to build Android package

RichyCapy

Active Member
Game Developer
Jul 26, 2017
808
909
Hello, a few mouths ago we were able to build our game into Android with no problem

Right now, we are trying with no success, this is the error that gives us, we already changes computers, internet conections, no proxis... and still no success :(

Can someone help?

Thanks!


Ren'Py 7.4.4.1439

Updating project.

Creating assets directory.

Packaging internal data.

I'm using Gradle to build the package.
To honour the JVM settings for this build a new JVM will be forked. Please consider using the daemon: .
Daemon will be stopped at the end of the build stopping after processing

> Configure project :app
WARNING: API 'ApkVariantOutput.getVersionCodeOverride()' is obsolete and has been replaced with 'VariantOutput.versionCode()'.
It will be removed in version 5.0 of the Android Gradle plugin.
Gradle Properties must be used to change Variant information.
For more information, see .
To determine what is calling ApkVariantOutput.getVersionCodeOverride(), use -Pandroid.debug.obsoleteApi=true on the command line to display more information.

FAILURE: Build failed with an exception.

* What went wrong:
Could not determine the dependencies of task ':app:lintVitalRelease'.
> Could not resolve all artifacts for configuration ':app:debugRuntimeClasspath'.
> 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 ' '.
> Could not HEAD ' '. 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 ' '.
> Could not HEAD ' '. 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 ' '.
> Could not HEAD ' '. Received status code 403 from server: Forbidden

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

Deleted member 1952336

Ortus
Game Developer
Jan 18, 2020
667
1,360
I'm getting the same error.

Since the last android build I did (which worked perfectly), I updated renpy.

I think it may be a bug in Renpy, which is beyond my coding abilities to fix.
 

Rich

Old Fart
Modder
Donor
Respected User
Game Developer
Jun 25, 2017
2,566
7,382
So, what's happening is that the Ren'py Android build is trying to pull in third-party code from dl.bintray.com, and the server from which it's trying to get the package is returning a "403 Forbidden" error.

If you Google "dl.bintray.com 403", you'll see LOTS of people having this problem with lots of different packages, apparently because bintray has closed down.

This was submitted as a bug to Ren'py within just the last few days, and PyTom fixed it almost immediately. That fix hasn't been formally released yet, however. So, the solution (unfortunately) is going to be "wait for the next release of Ren'py" and then upgrade.

But this isn't anything you're doing wrong - the entire Ren'py-Android world got bitten by the fact that PyTom was using someone else's code, and the place it was being hosted has gone away.