简体   繁体   中英

Cannot import from 'com.google'

I'm struggling for hours and hours to get Google Analytics working on my Android app with libgdx. I have tried many things.

When I run the samples are finding com.google , but I can't seem to get it working for my libgdx project.

I linked the dependencies, installed them in the SDK, and graddle builds successfully. Yet, not finding the classes.

Finally found the problem!

I needed to do a Clean build and Rebuild. That was all!

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM