GithubHelp home page GithubHelp logo

Comments (11)

nonelse avatar nonelse commented on June 15, 2024

The setup seems ok.
Somehow, maybe with hidden configurations, proguard might be running?
You could comment out the minifyEnabled setting and try again. The default is false anyway.
Also, try with the proguard exceptions anyway to see if it works that way.

from android_sdk.

fabiocarballo avatar fabiocarballo commented on June 15, 2024

Done what you said. Same results :/

from android_sdk.

samdozor avatar samdozor commented on June 15, 2024

Does adjust require google ad id, or is android id sufficient (to avoid this error)? If google ad id is required, perhaps google play services isn't set up correctly in @fabiocarballo 's project?

from android_sdk.

nonelse avatar nonelse commented on June 15, 2024

Our SDK uses google ad id if it's available, or a combination of mac address hash and android id if not. Obtaining either way relies on reflection technique. Using proguard without exceptions prevents the use of reflection because of the mangling of the class names.
In theory, if proguard would not interfere, it would get one or the others device ids.
We can help you to debug the project to see what is happening. Send an email to [email protected] with a small description or this issue

from android_sdk.

fabiocarballo avatar fabiocarballo commented on June 15, 2024

Okay. I think I got what happened. We were using the version 7.0.0 of google play services. We reverted it to the version of 6.5.87 and the messages disappeared.

Thanks for the help ;) Your hints led me to guess on what was wrong!

Btw, are you guys thinking on making it compatible with the 7.0.0 in a near future?

from android_sdk.

wellle avatar wellle commented on June 15, 2024

That's interesting, we will check what's going on with GPS v7. Thanks for letting us know 👍

from android_sdk.

nonelse avatar nonelse commented on June 15, 2024

I've just tested our example app with the new google play services v7 and it seems to work ok.
@fabiocarballo, did you changed anything else?

from android_sdk.

fabiocarballo avatar fabiocarballo commented on June 15, 2024

I've just noticed that I was missing that we were missing 'google-play-services-adds'. I think that was the thing that was really wrong. Didn't know how we ever had this working some time ago at the first place.

Sorry for all the trouble guys :/ You were really cool!

from android_sdk.

wellle avatar wellle commented on June 15, 2024

That's good news after all 😉

Glad it's working now 👍

from android_sdk.

kaeawc avatar kaeawc commented on June 15, 2024

I'm seeing this issue with Google Play Services 7.3.0 on our release builds. Debug builds seem to work fine.

We have the google play services ads dependency in our build.gradle:

compile 'com.google.android.gms:play-services-ads:7.3.0'

And proguard exceptions:

-keep class com.adjust.sdk.** { *; }
-keep class com.google.android.gms.** { *; }
-keep class com.google.android.gms.common.** { *; }
-keep class com.google.android.gms.ads.identifier.** { *; }

-dontwarn com.google.android.gms.**

from android_sdk.

nonelse avatar nonelse commented on June 15, 2024

@kaeawc, the proguard exceptions looks ok. And you are seeing Missing device identifiers in the log, correct?
Can you double check if the proguard file that you configured is being correctly used by the .gradle file?
Can you test with and without proguard activated, to check if that is the culprit?
If these are not enough, we can try more ideas over email. You can send one over to [email protected] to speedy up things.

from android_sdk.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.