Page 1 of 1

Android build failed with an exception

Posted: Sun Jun 06, 2021 5:20 am
by Wiceramond
Hi, I'm using RenPy 7.3.5 and I don't want to update the version. How do I fix this issue?

Code: Select all

* 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

Re: Android build failed with an exception

Posted: Sun Jun 06, 2021 5:25 am
by mavyxdawn
Hi! Please update to Ren'Py 7.4.5. It is fixed in the said version, more info here:
https://www.renpy.org/doc/html/changelog.html#android

Re: Android build failed with an exception

Posted: Sun Jun 06, 2021 5:27 am
by Wiceramond
mavyxdawn wrote:
Sun Jun 06, 2021 5:25 am
Hi! Please update to Ren'Py 7.4.5. It is fixed in the said version, more info here:
https://www.renpy.org/doc/html/changelog.html#android
I can't risk updating it to 7.4.5 at the moment for android build.

Re: Android build failed with an exception

Posted: Sun Jun 06, 2021 5:38 pm
by Imperf3kt
You can install a second copy of ren'py on the same pc as long as you install it to a different folder.

Copy over your android.keystore file and you're good to go, there is, unfortunately no alternative as the required (online) files are inaccessible and only 7.4.5 stable and above (or a few of the prior nightly versions) have the required updates to fix the issue.


That said, renpy 7.4.5 is not that different from 7.4.4 regarding incompatibilities, are you running an older version?