Android build failed with an exception

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
User avatar
Wiceramond
Regular
Posts: 25
Joined: Mon Dec 07, 2020 8:40 am
Contact:

Android build failed with an exception

#1 Post 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

User avatar
mavyxdawn
Regular
Posts: 72
Joined: Sun Dec 20, 2015 6:18 pm
Github: mavyxdawn
itch: zeillearnings
Discord: _zeil
Contact:

Re: Android build failed with an exception

#2 Post 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
YouTube: Zeil Learnings
itch.io: Zeil Learnings

Image

User avatar
Wiceramond
Regular
Posts: 25
Joined: Mon Dec 07, 2020 8:40 am
Contact:

Re: Android build failed with an exception

#3 Post 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.

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

Re: Android build failed with an exception

#4 Post 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?
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

Post Reply

Who is online

Users browsing this forum: Ocelot