error google Play Service when i import the cloudonce package
Assets\Extensions\CloudOnce\Internal\Editor\Utils\GooglePlayGamesSetup\GPGAndroidSetup.cs(25,11): error CS0246: The type or namespace name 'GooglePlayServices' could not be found (are you missing a using directive or an assembly reference?)
thats the error i get when i import the cloudonce package
Answer by KubaPryszczewski · Jan 07, 2021 at 07:55 PM
Hi @rayan_farsat, I had the exact same problem as you and I changed the platform from Android to PC, Mac & Linux Standalone. Then I imported the CloudOnce package and changed the platform back to Android. Now everything seems to be working fine.
Just wanted to share, this solution worked for me too! I didn't uninstall the package as it didn't show up in package manager. I just switched to PC, Mac & Linux Standalone Platform in the Build Settings, went to reimport the package, and it gave me a few files that were not included originally. Then, when I switched back to Android platform in Build Settings, it fixed all Android missing files. Thank you!
Your answer
Follow this Question
Related Questions
Google Play Games Services - Wrong scores, Traffic mostly Redirection (3xx) 2 Answers
Project GPM data does not exist. Creating new object. 2 Answers
leader board could not working and its can'tpost the score ? 1 Answer
Google Play Services Daily Gold Leaderboard 0 Answers
google play get score from leaderboard 3 Answers