An error occurs when exporting to Android

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
ChS
Newbie
Posts: 1
Joined: Mon Oct 05, 2020 6:40 am
Contact:

An error occurs when exporting to Android

#1 Post by ChS »

Code: Select all

> 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.
REASON: Called from: D:\renpy-sdk\rapt\project\app\build.gradle:68
WARNING: Debugging obsolete API calls can take time during configuration. It's recommended to not keep it on at all times.

User avatar
qirien
Miko-Class Veteran
Posts: 541
Joined: Thu Jul 31, 2003 10:06 pm
Organization: Metasepia Games
Deviantart: qirien
Github: qirien
itch: qirien
Location: New Mexico, USA
Discord: qirien
Contact:

Re: An error occurs when exporting to Android

#2 Post by qirien »

These are just warnings, so if the build failed, it's probably not from this but from a different error.

In programming a "WARNING" is usually something you shouldn't use but it should still work. This is different from an "ERROR" which means something definitely will not work.
Finished games:
Image
Image
Image

Post Reply

Who is online

Users browsing this forum: Bing [Bot]