1. Hey! Guest! The 34th GMC Jam will take place between August 22nd, 12:00 UTC (Thursday noon) and August 26th, 12:00 UTC (Monday noon). Why not join in! Click here to find out more!
    Dismiss Notice

google play services extension, android 9, play crash errors

Discussion in 'Game Design, Development And Publishing' started by RizbIT, Jul 21, 2019.

Tags:
  1. RizbIT

    RizbIT Member

    Joined:
    Jun 24, 2016
    Posts:
    437
    Updated an app and then changed the target sdk version from 26 to 28 as that will soon be a requirement on Play (min target version).

    Uploaded then from Android 9 user devices gets loads of crashes.

    The crash info is as:
    Now doing a bit of research found someone else who used Android Studio had the same issue and found it was something to do with this:
    See here for the thread:
    https://stackoverflow.com/questions/53513210/java-lang-noclassdeffounderror-in-android-9-pie

    Im using trhe most upto date v20.xx.xx build tools and i do use google play services extension, and in the 'inject to gradle dependencies' box we have:
    so is this the issue and if so what is the solution? Is there a newer version (>16.0.0) of the Play Services extension we can use? At some point this wil have to be fixed if we want to upload a build that targets SDK 28
     
  2. Guest

    Guest Guest

    The thread you link, and the Android guidance document linked therein, concern the Google map SDK. It looks like your error is being caused by Unity Ads extension. Are you using a Unity Ads extension?
     
  3. pipebkOT

    pipebkOT Member

    Joined:
    Dec 13, 2018
    Posts:
    208
    @RizbIT
    that's a really old google play services extension, of course it will not work in android 28, google plus doesn't even exist anymore.

    this is the actual gradle dependencies:

    but as justice says, the main problem may be in the unity ads extension that you may be using, but you still really need to update that old google play services extension if you plan to use it:)
     
    Last edited: Jul 21, 2019
    RizbIT likes this.
  4. RizbIT

    RizbIT Member

    Joined:
    Jun 24, 2016
    Posts:
    437
    do you mean i jus update the content in inject to gradle box, or i have to download new gps extension?
     
  5. pipebkOT

    pipebkOT Member

    Joined:
    Dec 13, 2018
    Posts:
    208
    @RizbIT downloading the new extension of course, changing the inyections will do nothing, since they work with the java files inside the extension
     

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