Ren'Py 7.1.0 Released

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
FroGlenn
Regular
Posts: 53
Joined: Sun Feb 25, 2018 2:07 pm
Contact:

Re: Ren'Py 7.1.0 Released

#16 Post by FroGlenn »

Updating my previous post about the SDL Error. I think I posted in the wrong topic.

I found that the error comes from this code in the SDLActivity.java file. Looks like my game is having some trouble loading the libraries.

I didnt touch any code from the last renpy release. Eveything was fine, but some devices are getting the errors I mentioned in the previous post.

Code: Select all

// Load shared libraries
        String errorMsgBrokenLib = "";
        try {
            loadLibraries();
        } catch(UnsatisfiedLinkError e) {
            System.err.println(e.getMessage());
            mBrokenLibraries = true;
            errorMsgBrokenLib = e.getMessage();
        } catch(Exception e) {
            System.err.println(e.getMessage());
            mBrokenLibraries = true;
            errorMsgBrokenLib = e.getMessage();
        }

        if (mBrokenLibraries)
        {
            AlertDialog.Builder dlgAlert  = new AlertDialog.Builder(this);
            dlgAlert.setMessage("An error occurred while trying to start the application. Please try again and/or reinstall."
                  + System.getProperty("line.separator")
                  + System.getProperty("line.separator")
                  + "Error: " + errorMsgBrokenLib);
            dlgAlert.setTitle("SDL Error");
            dlgAlert.setPositiveButton("Exit",
                new DialogInterface.OnClickListener() {
                    @Override
                    public void onClick(DialogInterface dialog,int id) {
                        // if this button is clicked, close current activity
                        SDLActivity.mSingleton.finish();
                    }
                });
           dlgAlert.setCancelable(false);
           dlgAlert.create().show();

           return;
        }

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

Re: Ren'Py 7.1.0 Released

#17 Post by FroGlenn »

Forget it. Sorry. I did a mistake with the splitting apks. Solved it.

If someone gets the same error I can help, but the error was my fault from the start, so I think no one will get it.

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

Re: Ren'Py 7.1.0 Released

#18 Post by cookienomnom »

Thanks PyTom for the awesome new version!!!
I was able to update to 7.1.0 and build an apk file to release on Android successfully =)

One big issue I still have is... on Android OS 8.0.0 Galaxy devices, enter key still doesn't work.
(I was hoping it to be resolved with the latest Android update)

I'm using renpy.input() to get players' name, and players are able to type their names but can't hit enter.
There is no other way to get around this, so the players are stuck at this screen and can't proceed any further.
If it happened on a random Android device, it would've been ok but Samsung Galaxy devices are over 30-40% of Android devices I believe..
It's also OS specific - it didn't happen for me on OS 7.X, but happened as soon as I updated to 8.0.0. And I believe Oreo is getting pushed out to a lot of people starting this year.

@Pytom: Could you please address this issue in the next release? Is there anything I can do in this release to make the 'enter' button work?

User avatar
apexchimps
Regular
Posts: 29
Joined: Mon Jan 25, 2016 6:12 pm
Completed: Detective Max, Nick's Night Out!, Arthur & Susan: Almost Detectives
Projects: Arthur & Susan: Almost Detectives
Contact:

Re: Ren'Py 7.1.0 Released

#19 Post by apexchimps »

Hi,

I am having the same problem as KeyboardSan reported. I have followed his indications (java, gradle, sdk...) but I always get the same error.

Any other idea?

Thanks in advance!

Code: Select all

Ren'Py 7.1.0.882

Updating project.

Creating assets directory.

Packaging internal data.

I'm using Gradle to build the package.

FAILURE: Build failed with an exception.

* What went wrong:
A problem occurred configuring project ':app'.
> Could not generate a proxy class for class com.android.build.gradle.tasks.BuildArtifactReportTask.

* 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 1s

Post Reply

Who is online

Users browsing this forum: Bing [Bot], simple_human