Ren'Py 7.1.0 Prereleased

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.
Message
Author
User avatar
PyTom
Ren'Py Creator
Posts: 16088
Joined: Mon Feb 02, 2004 10:58 am
Completed: Moonlight Walks
Projects: Ren'Py
IRC Nick: renpytom
Github: renpytom
itch: renpytom
Location: Kings Park, NY
Contact:

Re: Ren'Py 7.1.0 Prereleased

#16 Post by PyTom »

7.1.0.795)

Okay, so I decided to switch my focus to getting out a release that supports Android. Since that was a lot of work, I turned 7.0.1 into 7.1.0. The first 7.1.0 is now out, though there will be at least one more prerelease. That being said, I think that this should be better in every way than 7.0.0 (even if not all bugs have been fixed), and you'll need to use the 7.1.0 prerelease if you need to get your app onto the Google Play store right away.
Supporting creators since 2004
(When was the last time you backed up your game?)
"Do good work." - Virgil Ivan "Gus" Grissom
Software > Drama • https://www.patreon.com/renpytom

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

Re: Ren'Py 7.1.0 Prereleased

#17 Post by Imperf3kt »

Nice job!
Just to be clear; you're saying you consider this prerelease stable enough for rush updates to Google Play?
So people should still wait for the full release if there is no immediate need to update?

Really interested in the new features that allow smaller buiilds! This is great news. Even if its just a few MBs, smaller is better. Can't wait to take a look.


Edit:
So I've tried it out. Installing and setting up everything took a while, but everything seems to work. Using gradle, the build produced two files, one seemingly pointless x86_64 apk, and a slightly smaller armbian apk. Compared to the previous ANT build, gradle managed to make the build 10Mb smaller, which is pretty good considering the whole thing was only 30Mb (now 19)
I did notice one issue though - the App icon doesn't use the icon I supplied, but instead uses the Ren'Py default icon.

Edit 2:
Tried a different game - the chessgame from the cookbook.
The game installs fine and runs fine, until it tries to display an image. I can confirm the image exists and the game works on Windows 7 and 10.

Code: Select all

I'm sorry, but an uncaught exception occurred.

While loading <'Image' u'./images/pieces_image/pawn_black.png'>:
  File "renpy/common/000statements.rpy", line 519, in execute_call_screen
  File "game/chessgui.rpy", line 55, in render
  File "game/chessgui.rpy", line 233, in pieces_render_constructor
IOError: Couldn't find file './images/pieces_image/pawn_black.png'.

-- Full Traceback ------------------------------------------------------------

Full traceback:
  File "script.rpyc", line 37, in script
  File "/data/data/chess.renpy/files/renpy/ast.py", line 1827, in execute
    self.call("execute")
  File "/data/data/chess.renpy/files/renpy/ast.py", line 1815, in call
    return renpy.statements.call(method, parsed, *args, **kwargs)
  File "/data/data/chess.renpy/files/renpy/statements.py", line 179, in call
    return method(parsed, *args, **kwargs)
  File "renpy/common/000statements.rpy", line 519, in execute_call_screen
  File "/data/data/chess.renpy/files/renpy/exports.py", line 2724, in call_screen
    rv = renpy.ui.interact(mouse="screen", type="screen", roll_forward=roll_forward)
  File "/data/data/chess.renpy/files/renpy/ui.py", line 289, in interact
    rv = renpy.game.interface.interact(roll_forward=roll_forward, **kwargs)
  File "/data/data/chess.renpy/files/renpy/display/core.py", line 2662, in interact
    repeat, rv = self.interact_core(preloads=preloads, trans_pause=trans_pause, **kwargs)
  File "/data/data/chess.renpy/files/renpy/display/core.py", line 3148, in interact_core
    self.draw_screen(root_widget, fullscreen_video, (not fullscreen_video) or video_frame_drawn)
  File "/data/data/chess.renpy/files/renpy/display/core.py", line 2065, in draw_screen
    renpy.config.screen_height,
  File "render.pyx", line 487, in renpy.display.render.render_screen
  File "render.pyx", line 235, in renpy.display.render.render
  File "/data/data/chess.renpy/files/renpy/display/layout.py", line 719, in render
    surf = render(child, width, height, cst, cat)
  File "render.pyx", line 147, in renpy.display.render.render
  File "render.pyx", line 235, in renpy.display.render.render
  File "/data/data/chess.renpy/files/renpy/display/layout.py", line 719, in render
    surf = render(child, width, height, cst, cat)
  File "render.pyx", line 147, in renpy.display.render.render
  File "render.pyx", line 235, in renpy.display.render.render
  File "/data/data/chess.renpy/files/renpy/display/layout.py", line 719, in render
    surf = render(child, width, height, cst, cat)
  File "render.pyx", line 147, in renpy.display.render.render
  File "render.pyx", line 235, in renpy.display.render.render
  File "/data/data/chess.renpy/files/renpy/display/screen.py", line 669, in render
    child = renpy.display.render.render(self.child, w, h, st, at)
  File "render.pyx", line 147, in renpy.display.render.render
  File "render.pyx", line 235, in renpy.display.render.render
  File "/data/data/chess.renpy/files/renpy/display/layout.py", line 719, in render
    surf = render(child, width, height, cst, cat)
  File "render.pyx", line 147, in renpy.display.render.render
  File "render.pyx", line 235, in renpy.display.render.render
  File "game/chessgui.rpy", line 55, in render
  File "game/chessgui.rpy", line 233, in pieces_render_constructor
  File "render.pyx", line 147, in renpy.display.render.render
  File "render.pyx", line 235, in renpy.display.render.render
  File "/data/data/chess.renpy/files/renpy/display/im.py", line 580, in render
    return cache.get(self, render=True)
  File "/data/data/chess.renpy/files/renpy/display/im.py", line 266, in get
    surf = image.load()
  File "/data/data/chess.renpy/files/renpy/display/im.py", line 625, in load
    surf = renpy.display.pgrender.load_image(renpy.loader.load(self.filename), self.filename)
  File "/data/data/chess.renpy/files/renpy/loader.py", line 560, in load
    raise IOError("Couldn't find file '%s'." % name)
IOError: Couldn't find file './images/pieces_image/pawn_black.png'.

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

User avatar
PyTom
Ren'Py Creator
Posts: 16088
Joined: Mon Feb 02, 2004 10:58 am
Completed: Moonlight Walks
Projects: Ren'Py
IRC Nick: renpytom
Github: renpytom
itch: renpytom
Location: Kings Park, NY
Contact:

Re: Ren'Py 7.1.0 Prereleased

#18 Post by PyTom »

I'll note that I wouldn't expect that to work, if you actually use ./images l ike that. Use "images/pieces_image/pawn_black.png".

The x86_64 file is of use in the android emulator, and on chromebooks.
Supporting creators since 2004
(When was the last time you backed up your game?)
"Do good work." - Virgil Ivan "Gus" Grissom
Software > Drama • https://www.patreon.com/renpytom

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

Re: Ren'Py 7.1.0 Prereleased

#19 Post by Imperf3kt »

I expected as much regarding the x86 version, thanks for the explanation though.

I will look at the images folder and image definitions later, as far as I am aware, it is not preceded with a period, so may be in the code as supplied.
I know everything works smoothly with my own projects.
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

User avatar
Godline
Veteran
Posts: 499
Joined: Fri Jun 27, 2014 12:26 am
Completed: numerous
Tumblr: godlinegames
Deviantart: godline-games
itch: godline
Contact:

Re: Ren'Py 7.1.0 Prereleased

#20 Post by Godline »

I've been trying to make up an android build after downloading 7.1.0 and deleting the old ren'py and RAPT and starting again.
RAPT downloaded fine and it worked fine.
The emulator for Android works fine.

I just get this error while it's making the build though:
Image

Anything that needs to be changed/fixed from my end? Or do I need to wait for more fixes?

User avatar
PyTom
Ren'Py Creator
Posts: 16088
Joined: Mon Feb 02, 2004 10:58 am
Completed: Moonlight Walks
Projects: Ren'Py
IRC Nick: renpytom
Github: renpytom
itch: renpytom
Location: Kings Park, NY
Contact:

Re: Ren'Py 7.1.0 Prereleased

#21 Post by PyTom »

Can you drop to a command line, and run:

chmod +x /Users/yo/Desktop/renpy-7.1.0-sdk/rapt/project/gradlew

That should fix the problem.
Supporting creators since 2004
(When was the last time you backed up your game?)
"Do good work." - Virgil Ivan "Gus" Grissom
Software > Drama • https://www.patreon.com/renpytom

FroGlenn
Regular
Posts: 53
Joined: Sun Feb 25, 2018 2:07 pm
Contact:

Re: Ren'Py 7.1.0 Prereleased

#22 Post by FroGlenn »

Hi, PyTom. Thx for the update.

How can I open the debug apk as a project in the Android Studio so I can edit the files (grade, activities etc)?

I created a debug apk, but I cant open it as a project. Does this tutorial still work? Or there is a easier and better way to import it?

User avatar
ComputerArt.Club
Veteran
Posts: 427
Joined: Mon May 22, 2017 8:12 am
Completed: Famous Fables, BoPoMoFo: Learn Chinese, Santa's workshop, Cat's Bath, Computer Art Club
Location: Taiwan
Contact:

Re: Ren'Py 7.1.0 Prereleased

#23 Post by ComputerArt.Club »

Thanks PyTom, I will give this a go soon.

User avatar
ComputerArt.Club
Veteran
Posts: 427
Joined: Mon May 22, 2017 8:12 am
Completed: Famous Fables, BoPoMoFo: Learn Chinese, Santa's workshop, Cat's Bath, Computer Art Club
Location: Taiwan
Contact:

Re: Ren'Py 7.1.0 Prereleased

#24 Post by ComputerArt.Club »

Hi all, if anyone knows of a way to get rapt on this prerelease (and the subsequent release) without downloading and installing it again, please let me know. I tried copying the RAPT folder, but renpy still cant find it. Downloadimg it again now, but I'd really like to avoid downloading RAPT for each version if at all possible. Thanks for your time.

cookienomnom
Newbie
Posts: 15
Joined: Thu Jan 11, 2018 10:02 am
Contact:

Re: Ren'Py 7.1.0 Prereleased

#25 Post by cookienomnom »

Hi, PyTom. Thank you so much for the update. This is very exciting!!
I've tried building an Android build and got the error message below.
Would you happen to know how I'd be able to fix this issue? Thanks!!!




Creating assets directory.

Packaging internal data.

I'm using Gradle to build the package.
Starting a Gradle Daemon (subsequent builds will be faster)

FAILURE: Build failed with an exception.

* What went wrong:
Unable to start the daemon process.
This problem might be caused by incorrect configuration of the daemon.
For example, an unrecognized jvm option is used.
Please refer to the user guide chapter on the daemon at https://docs.gradle.org/4.4/userguide/g ... aemon.html
Please read the following process output to find out more:
-----------------------
Error occurred during initialization of VM
Could not reserve enough space for 1572864KB object heap


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

* Get more help at https://help.gradle.org




The build seems to have failed.

FroGlenn
Regular
Posts: 53
Joined: Sun Feb 25, 2018 2:07 pm
Contact:

Re: Ren'Py 7.1.0 Prereleased

#26 Post by FroGlenn »

cookienomnom wrote: Sat Aug 18, 2018 3:14 pm Hi, PyTom. Thank you so much for the update. This is very exciting!!
I've tried building an Android build and got the error message below.
Would you happen to know how I'd be able to fix this issue? Thanks!!!




Creating assets directory.

Packaging internal data.

I'm using Gradle to build the package.
Starting a Gradle Daemon (subsequent builds will be faster)

FAILURE: Build failed with an exception.

* What went wrong:
Unable to start the daemon process.
This problem might be caused by incorrect configuration of the daemon.
For example, an unrecognized jvm option is used.
Please refer to the user guide chapter on the daemon at https://docs.gradle.org/4.4/userguide/g ... aemon.html
Please read the following process output to find out more:
-----------------------
Error occurred during initialization of VM
Could not reserve enough space for 1572864KB object heap


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

* Get more help at https://help.gradle.org




The build seems to have failed.
I got the same error today and in my case was just not enough RAM avaliable.

User avatar
ComputerArt.Club
Veteran
Posts: 427
Joined: Mon May 22, 2017 8:12 am
Completed: Famous Fables, BoPoMoFo: Learn Chinese, Santa's workshop, Cat's Bath, Computer Art Club
Location: Taiwan
Contact:

Re: Ren'Py 7.1.0 Prereleased

#27 Post by ComputerArt.Club »

same error here:

Code: Select all


Creating assets directory.

Packaging internal data.

I'm using Gradle to build the package.
Downloading https://services.gradle.org/distributions/gradle-4.4-all.zip
..............................................................................................
Unzipping C:\Users\name\.gradle\wrapper\dists\gradle-4.4-all\9br9xq1tocpiv8o6njlyu5op1\gradle-4.4-all.zip to C:\Users\name\.gradle\wrapper\dists\gradle-4.4-all\9br9xq1tocpiv8o6njlyu5op1
Starting a Gradle Daemon (subsequent builds will be faster)

FAILURE: Build failed with an exception.

* What went wrong:
Unable to start the daemon process.
This problem might be caused by incorrect configuration of the daemon.
For example, an unrecognized jvm option is used.
Please refer to the user guide chapter on the daemon at https://docs.gradle.org/4.4/userguide/gradle_daemon.html
Please read the following process output to find out more:
-----------------------
Error occurred during initialization of VM
Could not reserve enough space for 1572864KB object heap


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

* Get more help at https://help.gradle.org




The build seems to have failed.
I would find it hard to believe that it is a question of RAM as this computer has 32GB of RAM. In fact, i just tried it again and it created the same error, but my RAM usage was not noticeably affected and still very low. Searching for the error online suggests that it might be due to RAM allocated to JAVA.
Closed some programs ran it again, got a different error:

Code: Select all


Creating assets directory.

Packaging internal data.

I'm using Gradle to build the package.
Starting a Gradle Daemon (subsequent builds will be faster)
Download https://dl.google.com/dl/android/maven2/com/android/tools/build/gradle/3.1.3/gradle-3.1.3.pom
Download https://dl.google.com/dl/android/maven2/com/android/tools/build/bundletool/0.1.0-alpha01/bundletool-0.1.0-alpha01.pom
Download https://dl.google.com/dl/android/maven2/com/android/tools/build/gradle-core/3.1.3/gradle-core-3.1.3.pom
Download https://dl.google.com/dl/android/maven2/com/android/tools/lint/lint-gradle-api/26.1.3/lint-gradle-api-26.1.3.pom
Download https://dl.google.com/dl/android/maven2/com/android/tools/build/gradle-api/3.1.3/gradle-api-3.1.3.pom
Download https://dl.google.com/dl/android/maven2/com/android/databinding/compilerCommon/3.1.3/compilerCommon-3.1.3.pom
Download https://dl.google.com/dl/android/maven2/com/android/tools/build/transform-api/2.0.0-deprecated-use-gradle-api/transform-api-2.0.0-deprecated-use-gradle-api.pom
Download https://dl.google.com/dl/android/maven2/com/android/tools/build/builder/3.1.3/builder-3.1.3.pom
Download https://jcenter.bintray.com/org/ow2/asm/asm/5.1/asm-5.1.pom
Download https://jcenter.bintray.com/net/sf/jopt-simple/jopt-simple/4.9/jopt-simple-4.9.pom
Download https://jcenter.bintray.com/org/ow2/asm/asm-analysis/5.1/asm-analysis-5.1.pom
Download https://jcenter.bintray.com/org/jetbrains/kotlin/kotlin-stdlib-jre8/1.2.0/kotlin-stdlib-jre8-1.2.0.pom
Download https://jcenter.bintray.com/org/ow2/asm/asm-commons/5.1/asm-commons-5.1.pom
Download https://jcenter.bintray.com/org/ow2/asm/asm-util/5.1/asm-util-5.1.pom
Download https://jcenter.bintray.com/net/sf/proguard/proguard-gradle/5.3.3/proguard-gradle-5.3.3.pom
Download https://jcenter.bintray.com/org/ow2/asm/asm-parent/5.1/asm-parent-5.1.pom
Download https://jcenter.bintray.com/net/sf/proguard/proguard-parent/5.3.3/proguard-parent-5.3.3.pom
Download https://jcenter.bintray.com/org/sonatype/oss/oss-parent/7/oss-parent-7.pom
Download https://jcenter.bintray.com/org/ow2/ow2/1.3/ow2-1.3.pom
Download https://dl.google.com/dl/android/maven2/com/android/tools/build/aapt2-proto/0.1.0/aapt2-proto-0.1.0.pom
Download https://jcenter.bintray.com/com/google/protobuf/protobuf-java/3.4.0/protobuf-java-3.4.0.pom
Download https://jcenter.bintray.com/com/google/errorprone/error_prone_annotations/2.1.2/error_prone_annotations-2.1.2.pom
Download https://jcenter.bintray.com/com/google/auto/value/auto-value/1.5.2/auto-value-1.5.2.pom
Download https://jcenter.bintray.com/com/google/protobuf/protobuf-java-util/3.4.0/protobuf-java-util-3.4.0.pom
Download https://jcenter.bintray.com/com/google/guava/guava/22.0/guava-22.0.pom
Download https://jcenter.bintray.com/com/google/protobuf/protobuf-parent/3.4.0/protobuf-parent-3.4.0.pom
Download https://jcenter.bintray.com/com/google/errorprone/error_prone_parent/2.1.2/error_prone_parent-2.1.2.pom
Download https://jcenter.bintray.com/com/google/auto/auto-parent/3/auto-parent-3.pom
Download https://jcenter.bintray.com/com/google/guava/guava-parent/22.0/guava-parent-22.0.pom
Download https://jcenter.bintray.com/com/google/google/1/google-1.pom
Download https://dl.google.com/dl/android/maven2/com/android/tools/ddms/ddmlib/26.1.3/ddmlib-26.1.3.pom
Download https://dl.google.com/dl/android/maven2/com/android/tools/common/26.1.3/common-26.1.3.pom
Download https://dl.google.com/dl/android/maven2/com/android/tools/sdklib/26.1.3/sdklib-26.1.3.pom
Download https://dl.google.com/dl/android/maven2/com/android/tools/build/manifest-merger/26.1.3/manifest-merger-26.1.3.pom
Download https://dl.google.com/dl/android/maven2/com/android/tools/build/builder-model/3.1.3/builder-model-3.1.3.pom
Download https://dl.google.com/dl/android/maven2/com/android/tools/sdk-common/26.1.3/sdk-common-26.1.3.pom
Download https://dl.google.com/dl/android/maven2/com/android/tools/analytics-library/protos/26.1.3/protos-26.1.3.pom
Download https://dl.google.com/dl/android/maven2/com/android/tools/build/apksig/3.1.3/apksig-3.1.3.pom
Download https://dl.google.com/dl/android/maven2/com/android/tools/build/builder-test-api/3.1.3/builder-test-api-3.1.3.pom
Download https://dl.google.com/dl/android/maven2/com/android/tools/analytics-library/tracker/26.1.3/tracker-26.1.3.pom
Download https://dl.google.com/dl/android/maven2/com/android/tools/analytics-library/shared/26.1.3/shared-26.1.3.pom
Download https://jcenter.bintray.com/com/squareup/javawriter/2.5.0/javawriter-2.5.0.pom
Download https://jcenter.bintray.com/org/bouncycastle/bcprov-jdk15on/1.56/bcprov-jdk15on-1.56.pom
Download https://jcenter.bintray.com/com/googlecode/json-simple/json-simple/1.1/json-simple-1.1.pom
Download https://jcenter.bintray.com/org/bouncycastle/bcpkix-jdk15on/1.56/bcpkix-jdk15on-1.56.pom
Download https://jcenter.bintray.com/org/ow2/asm/asm-tree/5.1/asm-tree-5.1.pom
Download https://jcenter.bintray.com/it/unimi/dsi/fastutil/7.2.0/fastutil-7.2.0.pom
Download https://jcenter.bintray.com/org/jetbrains/kotlin/kotlin-reflect/1.2.0/kotlin-reflect-1.2.0.pom
Download https://dl.google.com/dl/android/maven2/com/android/databinding/baseLibrary/3.1.3/baseLibrary-3.1.3.pom
Download https://dl.google.com/dl/android/maven2/com/android/tools/annotations/26.1.3/annotations-26.1.3.pom
Download https://jcenter.bintray.com/commons-io/commons-io/2.4/commons-io-2.4.pom
Download https://jcenter.bintray.com/com/google/code/gson/gson/2.7/gson-2.7.pom
Download https://jcenter.bintray.com/com/googlecode/juniversalchardet/juniversalchardet/1.0.3/juniversalchardet-1.0.3.pom
Download https://jcenter.bintray.com/com/squareup/javapoet/1.8.0/javapoet-1.8.0.pom
Download https://jcenter.bintray.com/org/antlr/antlr4/4.5.3/antlr4-4.5.3.pom
Download https://jcenter.bintray.com/org/apache/commons/commons-parent/25/commons-parent-25.pom
Download https://jcenter.bintray.com/com/google/code/gson/gson-parent/2.7/gson-parent-2.7.pom
Download https://jcenter.bintray.com/org/antlr/antlr4-master/4.5.3/antlr4-master-4.5.3.pom
Download https://jcenter.bintray.com/org/sonatype/oss/oss-parent/9/oss-parent-9.pom
Download https://jcenter.bintray.com/org/apache/apache/9/apache-9.pom
Download https://jcenter.bintray.com/org/jetbrains/kotlin/kotlin-stdlib/1.2.0/kotlin-stdlib-1.2.0.pom
Download https://jcenter.bintray.com/org/jetbrains/kotlin/kotlin-stdlib-jre7/1.2.0/kotlin-stdlib-jre7-1.2.0.pom
Download https://jcenter.bintray.com/net/sf/proguard/proguard-base/5.3.3/proguard-base-5.3.3.pom
Download https://jcenter.bintray.com/org/codehaus/mojo/animal-sniffer-annotations/1.14/animal-sniffer-annotations-1.14.pom
Download https://jcenter.bintray.com/com/google/j2objc/j2objc-annotations/1.1/j2objc-annotations-1.1.pom
Download https://jcenter.bintray.com/com/google/code/findbugs/jsr305/1.3.9/jsr305-1.3.9.pom
Download https://jcenter.bintray.com/org/codehaus/mojo/animal-sniffer-parent/1.14/animal-sniffer-parent-1.14.pom
Download https://jcenter.bintray.com/org/codehaus/mojo/mojo-parent/34/mojo-parent-34.pom
Download https://jcenter.bintray.com/org/codehaus/codehaus-parent/4/codehaus-parent-4.pom
Download https://dl.google.com/dl/android/maven2/com/android/tools/repository/26.1.3/repository-26.1.3.pom
Download https://dl.google.com/dl/android/maven2/com/android/tools/dvlib/26.1.3/dvlib-26.1.3.pom
Download https://dl.google.com/dl/android/maven2/com/android/tools/layoutlib/layoutlib-api/26.1.3/layoutlib-api-26.1.3.pom
Download https://jcenter.bintray.com/org/apache/commons/commons-compress/1.12/commons-compress-1.12.pom
Download https://jcenter.bintray.com/org/apache/httpcomponents/httpclient/4.2.6/httpclient-4.2.6.pom
Download https://jcenter.bintray.com/org/apache/httpcomponents/httpmime/4.1/httpmime-4.1.pom
Download https://jcenter.bintray.com/org/apache/httpcomponents/httpcomponents-client/4.1/httpcomponents-client-4.1.pom
Download https://jcenter.bintray.com/org/apache/commons/commons-parent/39/commons-parent-39.pom
Download https://jcenter.bintray.com/org/apache/httpcomponents/httpcomponents-client/4.2.6/httpcomponents-client-4.2.6.pom
Download https://jcenter.bintray.com/org/apache/httpcomponents/project/4.1.1/project-4.1.1.pom
Download https://jcenter.bintray.com/org/apache/httpcomponents/project/7/project-7.pom
Download https://jcenter.bintray.com/org/apache/apache/16/apache-16.pom

FAILURE: Build failed with an exception.

* What went wrong:
A problem occurred configuring root project 'project'.
> Could not resolve all files for configuration ':classpath'.
   > Could not resolve org.apache.httpcomponents:httpclient:4.2.6.
     Required by:
         project : > com.android.tools.build:gradle:3.1.3 > com.android.tools.build:gradle-core:3.1.3 > com.android.tools.build:builder:3.1.3 > com.android.tools:sdklib:26.1.3
      > Could not resolve org.apache.httpcomponents:httpclient:4.2.6.
         > Could not parse POM https://jcenter.bintray.com/org/apache/httpcomponents/httpclient/4.2.6/httpclient-4.2.6.pom
            > Could not resolve org.apache.httpcomponents:httpcomponents-client:4.2.6.
               > Could not resolve org.apache.httpcomponents:httpcomponents-client:4.2.6.
                  > Could not parse POM https://jcenter.bintray.com/org/apache/httpcomponents/httpcomponents-client/4.2.6/httpcomponents-client-4.2.6.pom
                     > Could not resolve org.apache.httpcomponents:project:7.
                        > Could not resolve org.apache.httpcomponents:project:7.
                           > Could not get resource 'https://jcenter.bintray.com/org/apache/httpcomponents/project/7/project-7.pom'.
                              > Read timed out
   > Could not resolve net.sf.kxml:kxml2:2.3.0.
     Required by:
         project : > com.android.tools.build:gradle:3.1.3 > com.android.tools.build:gradle-core:3.1.3 > com.android.tools.build:builder:3.1.3 > com.android.tools.build:manifest-merger:26.1.3
         project : > com.android.tools.build:gradle:3.1.3 > com.android.tools.build:gradle-core:3.1.3 > com.android.tools.build:builder:3.1.3 > com.android.tools.ddms:ddmlib:26.1.3
         project : > com.android.tools.build:gradle:3.1.3 > com.android.tools.build:gradle-core:3.1.3 > com.android.tools.build:builder:3.1.3 > com.android.tools:sdklib:26.1.3 > com.android.tools.layoutlib:layoutlib-api:26.1.3
      > Skipped due to earlier error
   > Could not resolve org.jetbrains:annotations:13.0.
     Required by:
         project : > com.android.tools.build:gradle:3.1.3 > com.android.tools.build:gradle-core:3.1.3 > org.jetbrains.kotlin:kotlin-stdlib-jre8:1.2.0 > org.jetbrains.kotlin:kotlin-stdlib:1.2.0
         project : > com.android.tools.build:gradle:3.1.3 > com.android.tools.build:gradle-core:3.1.3 > com.android.tools.build:builder:3.1.3 > com.android.tools:sdklib:26.1.3 > com.android.tools.layoutlib:layoutlib-api:26.1.3
      > Skipped due to earlier error
   > Could not resolve com.sun.activation:javax.activation:1.2.0.
     Required by:
         project : > com.android.tools.build:gradle:3.1.3 > com.android.tools.build:gradle-core:3.1.3 > com.android.tools.build:builder:3.1.3 > com.android.tools:sdklib:26.1.3 > com.android.tools:repository:26.1.3
      > Skipped due to earlier error
   > Could not resolve org.glassfish.jaxb:jaxb-runtime:2.2.11.
     Required by:
         project : > com.android.tools.build:gradle:3.1.3 > com.android.tools.build:gradle-core:3.1.3 > com.android.tools.build:builder:3.1.3 > com.android.tools:sdklib:26.1.3 > com.android.tools:repository:26.1.3
      > Skipped due to earlier error
   > Could not resolve com.google.jimfs:jimfs:1.1.
     Required by:
         project : > com.android.tools.build:gradle:3.1.3 > com.android.tools.build:gradle-core:3.1.3 > com.android.tools.build:builder:3.1.3 > com.android.tools:sdklib:26.1.3 > com.android.tools:repository:26.1.3
      > Skipped due to earlier error
   > Could not resolve org.apache.httpcomponents:httpcore:4.1.
     Required by:
         project : > com.android.tools.build:gradle:3.1.3 > com.android.tools.build:gradle-core:3.1.3 > com.android.tools.build:builder:3.1.3 > com.android.tools:sdklib:26.1.3 > org.apache.httpcomponents:httpmime:4.1
      > Skipped due to earlier error
   > Could not resolve commons-logging:commons-logging:1.1.1.
     Required by:
         project : > com.android.tools.build:gradle:3.1.3 > com.android.tools.build:gradle-core:3.1.3 > com.android.tools.build:builder:3.1.3 > com.android.tools:sdklib:26.1.3 > org.apache.httpcomponents:httpmime:4.1
      > Skipped due to earlier error

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

* Get more help at https://help.gradle.org

BUILD FAILED in 41s




The build seems to have failed.

Then finally I got a successful build by changing it from Debug to Release. Two apk files, like Imperfekt mentioned earlier.

User avatar
ComputerArt.Club
Veteran
Posts: 427
Joined: Mon May 22, 2017 8:12 am
Completed: Famous Fables, BoPoMoFo: Learn Chinese, Santa's workshop, Cat's Bath, Computer Art Club
Location: Taiwan
Contact:

Re: Ren'Py 7.1.0 Prereleased

#28 Post by ComputerArt.Club »

Also experiencing the same problem as Imperf3kt. Icons are not displaying on Android phones.

FroGlenn
Regular
Posts: 53
Joined: Sun Feb 25, 2018 2:07 pm
Contact:

Re: Ren'Py 7.1.0 Prereleased

#29 Post by FroGlenn »

You need to change your icons. I'm using Android Studio, so I dont know exactly how it works when you publish direct from renpy, but I changed all of them. There are online android icon generation tools that will create all icons you need, so you just change it in the "res" folder of your app (if you are using Android Studio).

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

Re: Ren'Py 7.1.0 Prereleased

#30 Post by Imperf3kt »

Haven't got Android studio, but I guess I need it with the latest updates.
Time to go find it.

Thanks for the help.
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: Majestic-12 [Bot]