Quick Links: Download Gideros Studio | Gideros Documentation | Gideros Development Center | Gideros community chat
Updating four games to 64 bit on Android - Gideros Forum

Updating four games to 64 bit on Android

totebototebo Member
edited July 2019 in General questions
Hello people! I've been a bit quiet recently, but I'm back to update my game before the August deadline. The first issue I bumped into is this:



Maybe I need to awaken the slumbering beast that is Android Studio to fix it?
My Gideros games: www.totebo.com

Comments

  • SinisterSoftSinisterSoft Maintainer
    I haven't seen that, I target version 29 - just made a player 10 seconds ago.
  • totebototebo Member
    I think it's to do with the Crashlytics/Firebase plugin. I also target version 29. :/
    My Gideros games: www.totebo.com
  • @totebo you've got some pretty nice games! 5 stared!
  • totebototebo Member
    Thanks @MoKaLux! With luck I'll be able to update them too, so the Google Play Police doesn't remove them.
    My Gideros games: www.totebo.com
  • totebototebo Member
    edited July 2019
    An update of Firebase plugin seems to have fixed the problem above. New problem:
    FAILURE: Build failed with an exception.
    * Where:
    Build file '/Users/niclasaberg/Desktop/No Brakes/tmp/app/build.gradle' line: 80
    * What went wrong:
    A problem occurred evaluating project ':app'.
    > Failed to apply plugin [id 'com.google.gms.google-services']
    > Cannot invoke method split() on null object
    * 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 <a href="https://help.gradle.org" target="_blank" rel="nofollow">https://help.gradle.org</a>
    BUILD FAILED in 14s
    Exec returned: 1
    Export failed! See details above.

    These are the plugins I'm using:


    Android studio SDK components:




    Screenshot 2019-07-24 at 11.27.27.png
    185 x 190 - 13K
    Screenshot 2019-07-24 at 11.30.07.png
    1138 x 1089 - 300K
    Screenshot 2019-07-24 at 11.30.03.png
    1138 x 1089 - 296K
    My Gideros games: www.totebo.com
  • @totebo what does it say when you run your app with android studio, in the logs? You should see exactly where the bug is.
  • totebototebo Member


    Not sure if it helps?
    Screenshot 2019-07-24 at 13.42.31.png
    1419 x 1191 - 296K
    My Gideros games: www.totebo.com
  • totebototebo Member
    Update: Changing the Google Play Services from 12.0.1 to 16.0.0 seems to have worked. To be continued!

    Likes: MoKaLux

    My Gideros games: www.totebo.com
    +1 -1 (+1 / -0 ) Share on Facebook
  • cool!

    btw: in android studio:
    1 - connect your phone using a usb cable or connect it via wifi
    2 - open the log debugger (a tab somewhere at the bottom)
    3 - you should see everything that happens on your phone logged
    4 - run your app
    5 - when it crashes you will have some red lines telling you what went wrong
    6 - from there you can start debugging!

    Likes: oleg, totebo

    +1 -1 (+2 / -0 ) Share on Facebook
  • antixantix Member
    Urrr, it's a long and winding road ;)
  • olegoleg Member
    edited July 2019
    MoKaLux said:

    cool!

    btw: in android studio:
    1 - connect your phone using a usb cable or connect it via wifi
    2 - open the log debugger (a tab somewhere at the bottom)
    3 - you should see everything that happens on your phone logged
    4 - run your app
    5 - when it crashes you will have some red lines telling you what went wrong
    6 - from there you can start debugging!

    I use google's 'pre-launch reports' feature


    https://support.google.com/googleplay/android-developer/answer/7002270
    ---------------------------
    Another way to test(without android studio):
    - download ADB (Android Debug Bridge)

    and run it through the command line:

    C:/adb/adb logcat -> logcat.txt



    https://developer.android.com/studio/command-line/adb

    Likes: MoKaLux

    image.png
    1233 x 501 - 80K
    my games:
    https://play.google.com/store/apps/developer?id=razorback456
    мій блог по гідерос https://simartinfo.blogspot.com
    Слава Україні!
    +1 -1 (+1 / -0 ) Share on Facebook
  • totebototebo Member
    @MoKaLux and @oleg, good advice. I used both those methods for debugging. All games are now live in the store and players have started to update to the latest versions.

    Thanks @hgy29 for the help, I hope this blitz will help make Gideros even more rock solid for other people!
    My Gideros games: www.totebo.com
  • totebototebo Member
    And @antix, the road is getting straighter and shorter. :)

    Likes: antix

    My Gideros games: www.totebo.com
    +1 -1 (+1 / -0 ) Share on Facebook
  • The four updated games seem stable-ish, with this crash happening on three of the games (posting here for reference):
    Fatal Exception: java.lang.IllegalArgumentException: No config chosen
           at com.giderosmobile.android.player.GiderosConfigChooser.chooseConfig + 75(GiderosConfigChooser.java:75)
           at android.opengl.GLSurfaceView$EglHelper.start + 1024(GLSurfaceView.java:1024)
           at android.opengl.GLSurfaceView$GLThread.guardedRun + 1401(GLSurfaceView.java:1401)
           at android.opengl.GLSurfaceView$GLThread.run + 1240(GLSurfaceView.java:1240)
    My Gideros games: www.totebo.com
Sign In or Register to comment.