Android Game crashes on launching (Android 8)

Discussion in 'Legacy GameMaker Community Tech Support' started by Gabriel, Jun 11, 2018.

  1. Gabriel

    Gabriel Member

    Joined:
    Jun 20, 2016
    Posts:
    141
    It's been two months since I released a very important update to my game, the exact time I bought a new smartphone which came with Android 7. My game was released two years ago, and since then me and other ones have been playing it with no trouble at all.

    But suddenly, my smartphone updated from Android 7 to 8 (Oreo) and once it did so, my game does not open anymore on that device! Actually, as far as I've checked with other players, they experience the same if their system is Android 8.

    Here's what happens: I open the game on my smartphone and, without even displaying the splash screen, I instantly get a message (which also instantly goes away) saying "Ghost Hitch suffered a crash" or "Ghost Hitch keeps failing". This happens to everyone who tries to play it on Android 8.

    What I did: Fortunately, I keep an archive of APKs for every version of the game I released and thought about testing with the very first build. I installed it on my smartphone and for my surprise the game runs normally! No crashing or error messages at all!
    What happens is that that version does not have IAPs or any of the Google Play Services included, so I assumed that's what's actually causing the latest version to crash on Android 8. But at the same time, how can it crash if those services always worked perfectly up until Android 7??

    So I checked my SDKs and all that stuff and everything seems to be up to date (as it always was). Then, I reported the issue here, but no solution was found. I updated the extension for Google Play Services by YoYo Games to the recently released update and still the game keeps crashing... I sent a bug report to YoYo Games, but it's been two months and no answer at all.

    Now I'm starting to lose my mind (and players... lots of them!) because I can't find any solution or anyone who has the same issue that I'm experiencing. It's very frustrating to work for two years straight on a game that ends up with a stupid issue like this one - in my belief, due to Android increasing security with apps and YoYo Games not being able to stay aware of the new requirements.

    These are the services my game uses:
    • Google Play Services
    • Google Drive Cloud Storage (for saved data)
    • In-App Purchases
    I have no other extensions than the necessary ones for those services to run.

    What to do?: Well, here's where I really need help. I think I provided as much information about the issue as I'm aware of, but if by any chance it helps, here's what the command line gives me when I launch the game with my smartphone connected to the PC (notice there are a lot of issues reported there):

    Code:
    --------- beginning of system
    --------- beginning of crash
    05-20 14:31:25.688 10459 10475 E AndroidRuntime: FATAL EXCEPTION: GLThread 415
    05-20 14:31:25.688 10459 10475 E AndroidRuntime: Process: com.playhouse.ghosthitch, PID: 10459
    05-20 14:31:25.688 10459 10475 E AndroidRuntime: java.lang.IllegalArgumentException: Unknown type
    05-20 14:31:25.688 10459 10475 E AndroidRuntime:        at android.opengl.GLUtils.getType(GLUtils.java:71)
    05-20 14:31:25.688 10459 10475 E AndroidRuntime:        at android.opengl.GLUtils.texSubImage2D(GLUtils.java:189)
    05-20 14:31:25.688 10459 10475 E AndroidRuntime:        at com.playhouse.ghosthitch.DemoRenderer.onSurfaceCreated(DemoRenderer.java:326)
    05-20 14:31:25.688 10459 10475 E AndroidRuntime:        at android.opengl.GLSurfaceView$GLThread.guardedRun(GLSurfaceView.java:1539)
    05-20 14:31:25.688 10459 10475 E AndroidRuntime:        at android.opengl.GLSurfaceView$GLThread.run(GLSurfaceView.java:1270)
    05-20 14:31:30.897 10512 10528 E AndroidRuntime: FATAL EXCEPTION: GLThread 419
    05-20 14:31:30.897 10512 10528 E AndroidRuntime: Process: com.playhouse.ghosthitch, PID: 10512
    05-20 14:31:30.897 10512 10528 E AndroidRuntime: java.lang.IllegalArgumentException: Unknown type
    05-20 14:31:30.897 10512 10528 E AndroidRuntime:        at android.opengl.GLUtils.getType(GLUtils.java:71)
    05-20 14:31:30.897 10512 10528 E AndroidRuntime:        at android.opengl.GLUtils.texSubImage2D(GLUtils.java:189)
    05-20 14:31:30.897 10512 10528 E AndroidRuntime:        at com.playhouse.ghosthitch.DemoRenderer.onSurfaceCreated(DemoRenderer.java:326)
    05-20 14:31:30.897 10512 10528 E AndroidRuntime:        at android.opengl.GLSurfaceView$GLThread.guardedRun(GLSurfaceView.java:1539)
    05-20 14:31:30.897 10512 10528 E AndroidRuntime:        at android.opengl.GLSurfaceView$GLThread.run(GLSurfaceView.java:1270)
    05-20 14:31:34.807 10576 10595 E AndroidRuntime: FATAL EXCEPTION: GLThread 427
    05-20 14:31:34.807 10576 10595 E AndroidRuntime: Process: com.playhouse.ghosthitch, PID: 10576
    05-20 14:31:34.807 10576 10595 E AndroidRuntime: java.lang.IllegalArgumentException: Unknown type
    05-20 14:31:34.807 10576 10595 E AndroidRuntime:        at android.opengl.GLUtils.getType(GLUtils.java:71)
    05-20 14:31:34.807 10576 10595 E AndroidRuntime:        at android.opengl.GLUtils.texSubImage2D(GLUtils.java:189)
    05-20 14:31:34.807 10576 10595 E AndroidRuntime:        at com.playhouse.ghosthitch.DemoRenderer.onSurfaceCreated(DemoRenderer.java:326)
    05-20 14:31:34.807 10576 10595 E AndroidRuntime:        at android.opengl.GLSurfaceView$GLThread.guardedRun(GLSurfaceView.java:1539)
    05-20 14:31:34.807 10576 10595 E AndroidRuntime:        at android.opengl.GLSurfaceView$GLThread.run(GLSurfaceView.java:1270)
    05-20 14:31:47.489 10871 10887 E AndroidRuntime: FATAL EXCEPTION: GLThread 443
    05-20 14:31:47.489 10871 10887 E AndroidRuntime: Process: com.playhouse.ghosthitch, PID: 10871
    05-20 14:31:47.489 10871 10887 E AndroidRuntime: java.lang.IllegalArgumentException: Unknown type
    05-20 14:31:47.489 10871 10887 E AndroidRuntime:        at android.opengl.GLUtils.getType(GLUtils.java:71)
    05-20 14:31:47.489 10871 10887 E AndroidRuntime:        at android.opengl.GLUtils.texSubImage2D(GLUtils.java:189)
    05-20 14:31:47.489 10871 10887 E AndroidRuntime:        at com.playhouse.ghosthitch.DemoRenderer.onSurfaceCreated(DemoRenderer.java:326)
    05-20 14:31:47.489 10871 10887 E AndroidRuntime:        at android.opengl.GLSurfaceView$GLThread.guardedRun(GLSurfaceView.java:1539)
    05-20 14:31:47.489 10871 10887 E AndroidRuntime:        at android.opengl.GLSurfaceView$GLThread.run(GLSurfaceView.java:1270)
    05-20 14:32:43.478 11105 11121 E AndroidRuntime: FATAL EXCEPTION: GLThread 451
    05-20 14:32:43.478 11105 11121 E AndroidRuntime: Process: com.playhouse.ghosthitch, PID: 11105
    05-20 14:32:43.478 11105 11121 E AndroidRuntime: java.lang.IllegalArgumentException: Unknown type
    05-20 14:32:43.478 11105 11121 E AndroidRuntime:        at android.opengl.GLUtils.getType(GLUtils.java:71)
    05-20 14:32:43.478 11105 11121 E AndroidRuntime:        at android.opengl.GLUtils.texSubImage2D(GLUtils.java:189)
    05-20 14:32:43.478 11105 11121 E AndroidRuntime:        at com.playhouse.ghosthitch.DemoRenderer.onSurfaceCreated(DemoRenderer.java:326)
    05-20 14:32:43.478 11105 11121 E AndroidRuntime:        at android.opengl.GLSurfaceView$GLThread.guardedRun(GLSurfaceView.java:1539)
    05-20 14:32:43.478 11105 11121 E AndroidRuntime:        at android.opengl.GLSurfaceView$GLThread.run(GLSurfaceView.java:1270)
    05-20 14:56:04.477 14393 14446 E AndroidRuntime: FATAL EXCEPTION: GLThread 507
    05-20 14:56:04.477 14393 14446 E AndroidRuntime: Process: com.playhouse.ghosthitch, PID: 14393
    05-20 14:56:04.477 14393 14446 E AndroidRuntime: java.lang.IllegalArgumentException: Unknown type
    05-20 14:56:04.477 14393 14446 E AndroidRuntime:        at android.opengl.GLUtils.getType(GLUtils.java:71)
    05-20 14:56:04.477 14393 14446 E AndroidRuntime:        at android.opengl.GLUtils.texSubImage2D(GLUtils.java:189)
    05-20 14:56:04.477 14393 14446 E AndroidRuntime:        at com.playhouse.ghosthitch.DemoRenderer.onSurfaceCreated(DemoRenderer.java:326)
    05-20 14:56:04.477 14393 14446 E AndroidRuntime:        at android.opengl.GLSurfaceView$GLThread.guardedRun(GLSurfaceView.java:1539)
    05-20 14:56:04.477 14393 14446 E AndroidRuntime:        at android.opengl.GLSurfaceView$GLThread.run(GLSurfaceView.java:1270)
    05-20 14:56:21.796 14811 14827 E AndroidRuntime: FATAL EXCEPTION: GLThread 527
    05-20 14:56:21.796 14811 14827 E AndroidRuntime: Process: com.playhouse.ghosthitch, PID: 14811
    05-20 14:56:21.796 14811 14827 E AndroidRuntime: java.lang.IllegalArgumentException: Unknown type
    05-20 14:56:21.796 14811 14827 E AndroidRuntime:        at android.opengl.GLUtils.getType(GLUtils.java:71)
    05-20 14:56:21.796 14811 14827 E AndroidRuntime:        at android.opengl.GLUtils.texSubImage2D(GLUtils.java:189)
    05-20 14:56:21.796 14811 14827 E AndroidRuntime:        at com.playhouse.ghosthitch.DemoRenderer.onSurfaceCreated(DemoRenderer.java:326)
    05-20 14:56:21.796 14811 14827 E AndroidRuntime:        at android.opengl.GLSurfaceView$GLThread.guardedRun(GLSurfaceView.java:1539)
    05-20 14:56:21.796 14811 14827 E AndroidRuntime:        at android.opengl.GLSurfaceView$GLThread.run(GLSurfaceView.java:1270)
    05-20 15:46:14.076 19144 19160 E AndroidRuntime: FATAL EXCEPTION: GLThread 579
    05-20 15:46:14.076 19144 19160 E AndroidRuntime: Process: com.playhouse.ghosthitch, PID: 19144
    05-20 15:46:14.076 19144 19160 E AndroidRuntime: java.lang.IllegalArgumentException: Unknown type
    05-20 15:46:14.076 19144 19160 E AndroidRuntime:        at android.opengl.GLUtils.getType(GLUtils.java:71)
    05-20 15:46:14.076 19144 19160 E AndroidRuntime:        at android.opengl.GLUtils.texSubImage2D(GLUtils.java:189)
    05-20 15:46:14.076 19144 19160 E AndroidRuntime:        at com.playhouse.ghosthitch.DemoRenderer.onSurfaceCreated(DemoRenderer.java:326)
    05-20 15:46:14.076 19144 19160 E AndroidRuntime:        at android.opengl.GLSurfaceView$GLThread.guardedRun(GLSurfaceView.java:1539)
    05-20 15:46:14.076 19144 19160 E AndroidRuntime:        at android.opengl.GLSurfaceView$GLThread.run(GLSurfaceView.java:1270)
    05-20 18:18:16.691 27528 27544 E AndroidRuntime: FATAL EXCEPTION: GLThread 655
    05-20 18:18:16.691 27528 27544 E AndroidRuntime: Process: com.playhouse.ghosthitch, PID: 27528
    05-20 18:18:16.691 27528 27544 E AndroidRuntime: java.lang.IllegalArgumentException: Unknown type
    05-20 18:18:16.691 27528 27544 E AndroidRuntime:        at android.opengl.GLUtils.getType(GLUtils.java:71)
    05-20 18:18:16.691 27528 27544 E AndroidRuntime:        at android.opengl.GLUtils.texSubImage2D(GLUtils.java:189)
    05-20 18:18:16.691 27528 27544 E AndroidRuntime:        at com.playhouse.ghosthitch.DemoRenderer.onSurfaceCreated(DemoRenderer.java:326)
    05-20 18:18:16.691 27528 27544 E AndroidRuntime:        at android.opengl.GLSurfaceView$GLThread.guardedRun(GLSurfaceView.java:1539)
    05-20 18:18:16.691 27528 27544 E AndroidRuntime:        at android.opengl.GLSurfaceView$GLThread.run(GLSurfaceView.java:1270)
    05-20 18:41:15.845 31898 31965 E AndroidRuntime: FATAL EXCEPTION: 1
    05-20 18:41:15.845 31898 31965 E AndroidRuntime: Process: com.google.android.gm, PID: 31898
    05-20 18:41:15.845 31898 31965 E AndroidRuntime: android.database.sqlite.SQLiteException: no such table: attachments (code 1): , while compiling: SELECT attachments._id, messages_conversation, messages_messageId, messages_partId, desiredRendition, originExtras, downloadedRendition, downloadId, status, filename, saveToSd, mimeType, automatic, size FROM attachments WHERE status NOT IN (?, ?, ?, ?)
    05-20 18:41:15.845 31898 31965 E AndroidRuntime:        at android.database.sqlite.SQLiteConnection.nativePrepareStatement(Native Method)
    05-20 18:41:15.845 31898 31965 E AndroidRuntime:        at android.database.sqlite.SQLiteConnection.acquirePreparedStatement(SQLiteConnection.java:889)
    05-20 18:41:15.845 31898 31965 E AndroidRuntime:        at android.database.sqlite.SQLiteConnection.prepare(SQLiteConnection.java:500)
    05-20 18:41:15.845 31898 31965 E AndroidRuntime:        at android.database.sqlite.SQLiteSession.prepare(SQLiteSession.java:588)
    05-20 18:41:15.845 31898 31965 E AndroidRuntime:        at android.database.sqlite.SQLiteProgram.<init>(SQLiteProgram.java:58)
    05-20 18:41:15.845 31898 31965 E AndroidRuntime:        at android.database.sqlite.SQLiteQuery.<init>(SQLiteQuery.java:37)
    05-20 18:41:15.845 31898 31965 E AndroidRuntime:        at android.database.sqlite.SQLiteDirectCursorDriver.query(SQLiteDirectCursorDriver.java:44)
    05-20 18:41:15.845 31898 31965 E AndroidRuntime:        at android.database.sqlite.SQLiteDatabase.rawQueryWithFactory(SQLiteDatabase.java:1318)
    05-20 18:41:15.845 31898 31965 E AndroidRuntime:        at android.database.sqlite.SQLiteDatabase.queryWithFactory(SQLiteDatabase.java:1165)
    05-20 18:41:15.845 31898 31965 E AndroidRuntime:        at android.database.sqlite.SQLiteDatabase.query(SQLiteDatabase.java:1036)
    05-20 18:41:15.845 31898 31965 E AndroidRuntime:        at android.database.sqlite.SQLiteDatabase.query(SQLiteDatabase.java:1204)
    05-20 18:41:15.845 31898 31965 E AndroidRuntime:        at gbb.run(SourceFile:9)
    05-20 18:41:15.845 31898 31965 E AndroidRuntime:        at android.os.Handler.handleCallback(Handler.java:789)
    05-20 18:41:15.845 31898 31965 E AndroidRuntime:        at android.os.Handler.dispatchMessage(Handler.java:98)
    05-20 18:41:15.845 31898 31965 E AndroidRuntime:        at eob.dispatchMessage(SourceFile:1)
    05-20 18:41:15.845 31898 31965 E AndroidRuntime:        at android.os.Looper.loop(Looper.java:172)
    05-20 18:41:15.845 31898 31965 E AndroidRuntime:        at android.os.HandlerThread.run(HandlerThread.java:65)
    --------- beginning of main
    05-20 18:42:34.120 23393 23393 D MoPub   : Loading custom event adapter.
    05-20 18:42:34.120 23393 23393 D MoPub   : Attempting to invoke custom event: com.smaato.soma.mopubcustomevent.SomaMopubAdapter
    05-20 18:42:34.214 23393 23393 D MoPub   : Loading failover url: https://ads.mopub.com/m/ad?android_perms_ext_storage=0&av=3.26.1&bundle=com.grindrapp.android&cn=MOCHE&cppck=8D3E6&ct=2&dn=Xiaomi%2CMi%20A1%2Ctissot&dnt=0&exclude=269219ba10f24386a2a140918d758a06%2C42491e8e074049f19e51cb15a9c85abe%2C474af14652154fde8f9e876fd9b84637%2C90b1f34c0bd14f4da2de96fee368c56a&gdpr_applies=0&h=1920&id=agltb3B1Yi1pbmNyDQsSBFNpdGUYtebmEgw&iso=pt&ll=38.69782105553895%2C-9.35425934381783&lla=10013&llf=27899&llsdk=1&mcc=268&mnc=06&mr=1&nv=4.20.0&o=p&q=m_max%3Afalse&request_id=2374efc2b4f841e291b8d5853687695b&rtc=4&sc_a=3.0&udid=ifa%3A1180eb66-41fc-4fe6-9df4-362fedbef4f8&v=6&vv=3&w=1080&z=%2B0100
    05-20 18:42:34.214 23393 23393 D MoPub   : Loading url: https://ads.mopub.com/m/ad?android_perms_ext_storage=0&av=3.26.1&bundle=com.grindrapp.android&cn=MOCHE&cppck=8D3E6&ct=2&dn=Xiaomi%2CMi%20A1%2Ctissot&dnt=0&exclude=269219ba10f24386a2a140918d758a06%2C42491e8e074049f19e51cb15a9c85abe%2C474af14652154fde8f9e876fd9b84637%2C90b1f34c0bd14f4da2de96fee368c56a&gdpr_applies=0&h=1920&id=agltb3B1Yi1pbmNyDQsSBFNpdGUYtebmEgw&iso=pt&ll=38.69782105553895%2C-9.35425934381783&lla=10013&llf=27899&llsdk=1&mcc=268&mnc=06&mr=1&nv=4.20.0&o=p&q=m_max%3Afalse&request_id=2374efc2b4f841e291b8d5853687695b&rtc=4&sc_a=3.0&udid=ifa%3A1180eb66-41fc-4fe6-9df4-362fedbef4f8&v=6&vv=3&w=1080&z=%2B0100
    05-20 18:42:34.582 23393 23393 D MoPub   : Loading custom event adapter.
    05-20 18:42:34.582 23393 23393 D MoPub   : Attempting to invoke custom event: com.smaato.soma.mopubcustomevent.SomaMopubAdapter
    05-20 18:42:34.774 23393 23393 D MoPub   : Loading failover url: https://ads.mopub.com/m/ad?android_perms_ext_storage=0&av=3.26.1&bundle=com.grindrapp.android&cn=MOCHE&cppck=8D3E6&ct=2&dn=Xiaomi%2CMi%20A1%2Ctissot&dnt=0&exclude=269219ba10f24386a2a140918d758a06%2C2c34febe5d93417aa6aa0ced86a7a6f6%2C42491e8e074049f19e51cb15a9c85abe%2C474af14652154fde8f9e876fd9b84637%2C90b1f34c0bd14f4da2de96fee368c56a&gdpr_applies=0&h=1920&id=agltb3B1Yi1pbmNyDQsSBFNpdGUYtebmEgw&iso=pt&ll=38.69782105553895%2C-9.35425934381783&lla=10013&llf=27899&llsdk=1&mcc=268&mnc=06&mr=1&nv=4.20.0&o=p&q=m_max%3Afalse&request_id=2374efc2b4f841e291b8d5853687695b&rtc=5&sc_a=3.0&udid=ifa%3A1180eb66-41fc-4fe6-9df4-362fedbef4f8&v=6&vv=3&w=1080&z=%2B0100
    05-20 18:42:34.774 23393 23393 D MoPub   : Loading url: https://ads.mopub.com/m/ad?android_perms_ext_storage=0&av=3.26.1&bundle=com.grindrapp.android&cn=MOCHE&cppck=8D3E6&ct=2&dn=Xiaomi%2CMi%20A1%2Ctissot&dnt=0&exclude=269219ba10f24386a2a140918d758a06%2C2c34febe5d93417aa6aa0ced86a7a6f6%2C42491e8e074049f19e51cb15a9c85abe%2C474af14652154fde8f9e876fd9b84637%2C90b1f34c0bd14f4da2de96fee368c56a&gdpr_applies=0&h=1920&id=agltb3B1Yi1pbmNyDQsSBFNpdGUYtebmEgw&iso=pt&ll=38.69782105553895%2C-9.35425934381783&lla=10013&llf=27899&llsdk=1&mcc=268&mnc=06&mr=1&nv=4.20.0&o=p&q=m_max%3Afalse&request_id=2374efc2b4f841e291b8d5853687695b&rtc=5&sc_a=3.0&udid=ifa%3A1180eb66-41fc-4fe6-9df4-362fedbef4f8&v=6&vv=3&w=1080&z=%2B0100
    05-20 18:42:35.197 23393 23393 D MoPub   : Loading custom event adapter.
    05-20 18:42:35.197 23393 23393 D MoPub   : Attempting to invoke custom event: com.mopub.mobileads.HtmlBanner
    05-20 18:42:35.209 23393 23393 D MoPub   : AVID viewability event: initialize.
    05-20 18:42:35.209 23393 23393 D MoPub   : Moat viewability event: initialize.
    05-20 18:42:35.210 23393 23393 V MoPub   : AVID viewability event: start display session.
    05-20 18:42:35.210 23393 23393 V MoPub   : Moat viewability event: start display session.
    05-20 18:42:35.287 23393 23393 D MoPub   : Ad event URL: mopub://finishLoad
    05-20 18:42:35.287 23393 23393 D MoPub   : adLoaded
    05-20 18:42:35.287 23393 23393 D MoPub   : Attempting to call View#getRootView() on an unattached View.
    05-20 18:47:26.621  1545  1545 I yoyo    : onCreate
    05-20 18:47:26.622  1545  1545 I yoyo    : #######!!!!!!! Checking for runner - found assets
    05-20 18:47:26.628  1545  1545 I yoyo    : ###@@@@!!!~~~~###### default orientation - 1
    05-20 18:47:26.628  1545  1545 I yoyo    : #####!!!! package name is com.playhouse.ghosthitch
    05-20 18:47:26.628  1545  1545 I yoyo    : Loading INI from manifest file
    05-20 18:47:26.629  1545  1545 I yoyo    : INI loaded from AndroidManifest.xml
    05-20 18:47:26.629  1545  1545 I yoyo    : Attempting to initialise extension class com.playhouse.ghosthitch.GooglePlayServicesExtension
    05-20 18:47:26.631  1545  1545 I yoyo    : Method found, attempting to invoke Init
    05-20 18:47:26.635  1545  1545 I yoyo    : Google Play Services extension initialising
    05-20 18:47:26.636  1545  1545 I yoyo    : Initialising Google Play Services. App id: 976738358350
    05-20 18:47:26.640  1545  1545 I yoyo    : Signing into google game services. Cloud enabled: true. Options builder: com.google.android.gms.auth.api.signin.GoogleSignInOptions$Builder@b402677
    05-20 18:47:26.650  1545  1545 I yoyo    : Attempting to initialise extension class com.playhouse.ghosthitch.GooglePlayServicesIAPExtension
    05-20 18:47:26.650  1545  1545 I yoyo    : Exception thrown attempting to create extension class com.playhouse.ghosthitch.GooglePlayServicesIAPExtension
    05-20 18:47:26.651  1545  1545 I yoyo    : @@@@@@@ Build.Display = OPR1.170623.026.V.9.5.10.0.ODHMIFA BRAND=xiaomi DEVICE=tissot_sprout MANUFACTURER=Xiaomi MODEL=Mi A1 PRODUCT=tissot
    05-20 18:47:26.651  1545  1545 I yoyo    : @@@@@@@ XPeriaPlay=false manufacturer=false model=false
    05-20 18:47:26.652  1545  1545 I yoyo    : Exception thrown trying to call method checkLicensing on GooglePlayLicensingAsExt
    05-20 18:47:26.653  1545  1545 I yoyo    : !!!!!!! Checking if APK Expansion file required...
    05-20 18:47:26.653  1545  1545 I yoyo    :  + + + + setupView + + + +
    05-20 18:47:26.674  1545  1545 I yoyo    : #####!!!! package name is com.playhouse.ghosthitch
    05-20 18:47:26.674  1545  1545 I yoyo    : Loading INI from manifest file
    05-20 18:47:26.674  1545  1545 I yoyo    : INI loaded from AndroidManifest.xml
    05-20 18:47:26.674  1545  1545 I yoyo    : RestrictOrientation setting from YYPrefs
    05-20 18:47:26.675  1545  1545 I yoyo    : RestrictOrientation("false", "true"false"false")
    05-20 18:47:26.675  1545  1545 I yoyo    : Reading GL config option...
    05-20 18:47:26.676  1545  1545 I yoyo    : Using OpenGL ES 1 renderer
    05-20 18:47:26.676  1545  1545 I yoyo    : DemoGLSurfaceView: CREATED
    05-20 18:47:26.685  1545  1545 I yoyo    : Setting vis flags to 5894
    05-20 18:47:26.687  1545  1545 I yoyo    : onStart
    05-20 18:47:26.687  1545  1545 I yoyo    : googleplayservices extension onStart called
    05-20 18:47:26.688  1545  1545 I yoyo    : onResume
    05-20 18:47:26.690  1545  1545 I yoyo    : Setting vis flags to 5894
    05-20 18:47:26.695  1545  1545 I yoyo    : googleplayservices extension onResume called. Signed in on pause: false. Signed in now: false
    05-20 18:47:26.745  1545  1562 I yoyo    : chooseConfig
    05-20 18:47:26.768  1545  1562 I yoyo    : OpenGL ES Extensions : GL_EXT_debug_marker GL_AMD_compressed_ATC_texture GL_AMD_performance_monitor GL_APPLE_texture_2D_limited_npot GL_ARB_vertex_buffer_object GL_EXT_texture_filter_anisotropic GL_EXT_texture_format_BGRA8888 GL_EXT_texture_type_2_10_10_10_REV GL_OES_blend_equation_separate GL_OES_blend_func_separate GL_OES_blend_subtract GL_OES_compressed_ETC1_RGB8_texture GL_OES_compressed_paletted_texture GL_OES_depth_texture GL_OES_depth24 GL_OES_draw_texture GL_OES_EGL_image GL_OES_EGL_image_external GL_OES_framebuffer_object GL_OES_matrix_palette GL_OES_packed_depth_stencil GL_OES_point_size_array GL_OES_point_sprite GL_OES_read_format GL_OES_rgb8_rgba8 GL_OES_stencil_wrap GL_OES_texture_cube_map GL_OES_texture_env_crossbar GL_OES_texture_float GL_OES_texture_half_float GL_OES_texture_half_float_linear GL_OES_texture_npot GL_OES_texture_mirrored_repeat GL_QCOM_extended_get GL_QCOM_tiled_rendering
    05-20 18:47:26.768  1545  1562 I yoyo    : Device supports 32bit display formats
    05-20 18:47:26.769  1545  1562 I yoyo    : 24 bit colour depth allowed
    05-20 18:47:26.771  1545  1562 I yoyo    : Trying EGL config : EGLConfig 11: rgba=8888 depth=24 stencil=8 EGL_ALPHA_MASK_SIZE=0 EGL_BUFFER_SIZE=32 EGL_COLOR_BUFFER_TYPE=12430 EGL_CONFIG_CAVEAT=0x3038 EGL_LEVEL=0 EGL_LUMINANCE_SIZE=0 EGL_MAX_PBUFFER_WIDTH=16384 EGL_MAX_PBUFFER_HEIGHT=16384 EGL_MAX_PBUFFER_PIXELS=268435456 EGL_MAX_PBUFFER_HEIGHT=16384 EGL_MAX_PBUFFER_HEIGHT=16384 EGL_NATIVE_RENDERABLE=1 EGL_NATIVE_VISUAL_TYPE=-1 EGL_RENDERABLE_TYPE=69 EGL_SAMPLE_BUFFERS=0 EGL_SAMPLES=0 EGL_SURFACE_TYPE=5541 EGL_TRANSPARENT_TYPE=12344 EGL_TRANSPARENT_RED_VALUE=-1 EGL_TRANSPARENT_GREEN_VALUE=-1 EGL_TRANSPARENT_BLUE_VALUE=-1
    05-20 18:47:26.774  1545  1562 I yoyo    : Selected EGL config working
    05-20 18:47:26.780  1545  1562 I yoyo    : Renderer instance is gl1.1, framebuffer object is: 0
    05-20 18:47:26.780  1545  1545 I yoyo    : Setting vis flags to 5894
    05-20 18:47:26.780  1545  1545 I yoyo    : onWindowFocusChanged(true|false)
    05-20 18:47:26.780  1545  1562 I yoyo    : APK File Path :: /data/app/com.playhouse.ghosthitch-W4WnOZc7toUZkYKyxxmMyg==/base.apk
    05-20 18:47:26.781  1545  1562 I yoyo    : OpenGL ES-2.0 is supported: 196610
    05-20 18:47:26.783  1545  1545 I yoyo    : Setting vis flags to 5894
    05-20 18:47:26.875  1545  1562 E AndroidRuntime: FATAL EXCEPTION: GLThread 755
    05-20 18:47:26.875  1545  1562 E AndroidRuntime: Process: com.playhouse.ghosthitch, PID: 1545
    05-20 18:47:26.875  1545  1562 E AndroidRuntime: java.lang.IllegalArgumentException: Unknown type
    05-20 18:47:26.875  1545  1562 E AndroidRuntime:        at android.opengl.GLUtils.getType(GLUtils.java:71)
    05-20 18:47:26.875  1545  1562 E AndroidRuntime:        at android.opengl.GLUtils.texSubImage2D(GLUtils.java:189)
    05-20 18:47:26.875  1545  1562 E AndroidRuntime:        at com.playhouse.ghosthitch.DemoRenderer.onSurfaceCreated(DemoRenderer.java:326)
    05-20 18:47:26.875  1545  1562 E AndroidRuntime:        at android.opengl.GLSurfaceView$GLThread.guardedRun(GLSurfaceView.java:1539)
    05-20 18:47:26.875  1545  1562 E AndroidRuntime:        at android.opengl.GLSurfaceView$GLThread.run(GLSurfaceView.java:1270)
    05-20 18:47:26.879  1545  1545 I yoyo    : onPause
    05-20 18:47:26.881  1545  1545 I yoyo    : Pausing the Runner
    05-20 18:47:26.896  1545  1545 I yoyo    : Setting vis flags to 5894
    05-20 18:47:26.896  1545  1545 I yoyo    : onWindowFocusChanged(false|false)
    05-20 18:47:26.898  1545  1545 I yoyo    : Setting vis flags to 5894
    05-20 18:47:27.188  1545  1545 I yoyo    : Setting vis flags to 5894
    05-20 18:47:27.199  1545  1545 I yoyo    : Setting vis flags to 5894
    05-20 18:47:27.283  1545  1545 I yoyo    : Setting vis flags to 5894
    05-20 18:47:27.286  1545  1545 I yoyo    : Setting vis flags to 5894
    05-20 18:47:27.295  1545  1545 I yoyo    : onStop
    05-20 18:47:27.295  1545  1545 I yoyo    : googleplayservices extension onStop called
    05-20 18:47:27.295  1545  1545 I yoyo    : onDestroy
    05-20 18:47:27.302  1545  1545 I AndroidRuntime: VM exiting with result code 0, cleanup skipped.
    I would really appreciate some useful help on this matter, because I've never experienced such an issue, and I'm not that much of a pro with compiling language and all sort of things related. I just let GameMaker Studio do its job.
     
    Last edited: Jun 11, 2018
  2. Gabriel

    Gabriel Member

    Joined:
    Jun 20, 2016
    Posts:
    141
    No one? :(
     
  3. FrostyCat

    FrostyCat Member

    Joined:
    Jun 26, 2016
    Posts:
    4,461
    Since the fatal error is on OpenGL, have you tried running a blank-room project on it? Does it also crash? There's no point trying to address it at the extension level if the problem lies with the runner or the operating system update (e.g. drivers incompatible with Android 8).
     
  4. Gabriel

    Gabriel Member

    Joined:
    Jun 20, 2016
    Posts:
    141
    I tried to run an old beta version of the game and it doesn't crash. I also tried to compile to the same API level as that one (from 2016) but this latest version still crashes. It's like, up until version 0.9 (beta) the game runs normally on Android 8, but from version 1.0 on it crashes - that's when Google Services came in.
     
  5. Wraithious

    Wraithious Member

    Joined:
    Jun 24, 2016
    Posts:
    1,166
    You could try compiling with min sdk settings at 14 or even 16, and target sdk 26 or higher, and use build toos 26.0.0
    (Targeting 26 or later is now a mandatory rule of google play)
     
  6. Gabriel

    Gabriel Member

    Joined:
    Jun 20, 2016
    Posts:
    141
    I was doing that. And I'm even using build tools 28.0.0 now (before I was using 26.0.0).

    The game still crashes...

    [​IMG]
     
  7. Wraithious

    Wraithious Member

    Joined:
    Jun 24, 2016
    Posts:
    1,166
    Hmmm, you have the latest google play servises installed? I believe you can get it from android studios sdk manager, you may have to update the gradle injection for it also in the extensions android tab, if theres anything else in the gradle box make sure it's versions are current
     
  8. JapaneseMeow

    JapaneseMeow Member

    Joined:
    Jun 16, 2017
    Posts:
    26
    I'm having the exact same problem as you with my "Hiragana Game":

    https://forum.yoyogames.com/index.php?threads/java-lang-illegalargumentexception.45338/#post-282126

    I even went as far as to strip ALL the code from my game. I compiled it and still got the error message! As more people switch to Android 8, my game will eventually die away with a growing crash rate and 1 star reviews.

    I don't think it has anything to do with version numbers, because I have a similar game ("The Katakana Game") that is compiled the same way and doesn't have the same problems with Android 8.
     
  9. Gabriel

    Gabriel Member

    Joined:
    Jun 20, 2016
    Posts:
    141
    Well, there is a big problem with that too...

    I've installed Google Play Services through the SDK Manager and the most recent version I get is 11.0.4, when the latest version is actually 15.0.1.

    The maven-metadata.xml file says it was last updated on July 27, 2017 and SDK Manager says there is no newer version available.
     
    Wraithious likes this.
  10. Gabriel

    Gabriel Member

    Joined:
    Jun 20, 2016
    Posts:
    141
    Finally someone who shares my frustration!

    Looks like no one can really understand what is happening. That's why I'm moving to Unity, since YoYo Games never cares about any issues.

    [EDIT] I've tested your game and can confirm the issue. It doesn't even open at all!
     
    Last edited: Jun 21, 2018
    Wraithious likes this.
  11. Wraithious

    Wraithious Member

    Joined:
    Jun 24, 2016
    Posts:
    1,166
    There have been alot of major changes in gradle lately, in android studio ive had to update my non gamemaker games build.gradle files in android to accomodate these changes, such as
    compile (........)
    Is now depreciated and replaced with
    implementation (........)
    I tried doing this in gamemaker but the gradle version embedded in gamemaker will not allow this at all, if you search for gradle online you will quickly see the problem :(

    @Gabriel I just read another post with seemingly similar problem, maybe it would help you (last post)
     
    Last edited: Jun 22, 2018
  12. Gabriel

    Gabriel Member

    Joined:
    Jun 20, 2016
    Posts:
    141
    That's too bad! I am too green at programming to even know what gradle is meant for.

    Thanks for the help, but I don't have Google Analytics extension, so unfortunately the post you suggested won't change anything for me :(
     
  13. Wraithious

    Wraithious Member

    Joined:
    Jun 24, 2016
    Posts:
    1,166
    Sorry that didn't help,
    But a very basic explanation of what gradle does is it handles library imports and their versions and also other things that android apps and games need to tie your java code together to libraries.
     
  14. Gabriel

    Gabriel Member

    Joined:
    Jun 20, 2016
    Posts:
    141
    It's ok. I just lost hope and trust in GMS :(.

    Thanks for the explanation, though!

    I don't know who's going to save this...
     
    Wraithious likes this.
  15. Gabriel

    Gabriel Member

    Joined:
    Jun 20, 2016
    Posts:
    141
    No solution yet?? This is ridiculous... It's been months and I literally have only 5 players with the game installed!
    Great job YoYo Games!
    Why does YoYo Games always turn their back on us when it comes to problem solving?
     
  16. Gabriel

    Gabriel Member

    Joined:
    Jun 20, 2016
    Posts:
    141
    Still happening when I migrate the GameMaker Studio 2... why even bother.

    Almost three years of work to end up in an eternal app crash due to a stupid, poorly supported engine like GMS is. That's why I'm moving to Unity...
     
  17. booksmaster

    booksmaster Member

    Joined:
    Aug 24, 2016
    Posts:
    30
    Have anyone found a solution?
     
  18. booksmaster

    booksmaster Member

    Joined:
    Aug 24, 2016
    Posts:
    30
    I fixed it. Turns out the problem was with the splash screen image. All I had to do is open it in mspaint and save. It fixed all. The possible problem was with its size. But not sure.
     
  19. Gabriel

    Gabriel Member

    Joined:
    Jun 20, 2016
    Posts:
    141
    Really? Was it that simple??
    Anyway... shouldn't GameMaker itself do the resizing by default to avoid these kind of errors?

    I cannot test it anymore because my device updated to Android 9.0 and has been able to run the game normally since. No splash image is displayed, though....
     

Share This Page

  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice