Android Build Error when gradle is building the package

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
BBN_VN
Newbie
Posts: 9
Joined: Sat Feb 20, 2021 1:33 pm
Contact:

Android Build Error when gradle is building the package

#1 Post by BBN_VN » Sat May 22, 2021 11:32 am

After installing the various components for an android build, getting Renpy to recognize java in my registry, and all the other fun stuff that goes into trying to set this up, I appeared to finally get everything configured and the build was compiling until I encountered an error. On the plus side, I seem to be making progress. On the downside, this error has me completely flummoxed. Any tips on how to resolve this? (I'm beyond frustrated with trying to get an android build at this point. It's been hours of work for something I'll never use.)

Code: Select all

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: https://docs.gradle.org/6.1.1/userguide/gradle_daemon.html.
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 https://d.android.com/r/tools/use-properties.
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 '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

* Try:
Run with --info or --debug option to get more log output. Run with --scan to get full insights.
It goes on and on but I don't want an obscene wall of text unless it's necessary. Any help or assistance would be hugely appreciated! I'd like to do this for fans but at this point I'm ready to throw in the towel for android builds.

Edit/Random Observation: Who is alexeydanilov and why is he part of the url? For background, I downloaded the open source Java packages recommended in the link in Renpy.

User avatar
mavyxdawn
Regular
Posts: 69
Joined: Sun Dec 20, 2015 6:18 pm
Github: mavyxdawn
itch: zeillearnings
Discord: Zeil#4950
Contact:

Re: Android Build Error when gradle is building the package

#2 Post by mavyxdawn » Sat May 22, 2021 11:38 am

Quoting Imperf3kt:
A fix has already been issued, it will be in the next renpy stable release.
See this thread (and it's links) for a more detailed explanation.
viewtopic.php?f=8&t=62070#p542392
YouTube: Zeil Learnings
itch.io: Zeil Learnings

Image

BBN_VN
Newbie
Posts: 9
Joined: Sat Feb 20, 2021 1:33 pm
Contact:

Re: Android Build Error when gradle is building the package

#3 Post by BBN_VN » Sat May 22, 2021 11:40 am

LOL. Alright, thanks! I guess I'm relieved it's not yet another error on my own part but good grief... for someone who is trying to do this for the very first time, it's frustrating as heck.

Post Reply

Who is online

Users browsing this forum: Google [Bot]