Google Play Game Services + BaseGameUtils added to a Gradle project = package does not exist

后端 未结 2 650
一整个雨季
一整个雨季 2021-01-20 18:18

I already read many answers on this subject but can\'t fix my problem, and here it is :

I have a gradle project that is a game, in that game I want to add google gam

2条回答
  •  离开以前
    2021-01-20 18:30

    When I was following the step-by-step here: https://developers.google.com/games/services/android/init

    I was hung up on:

    dependencies {
        compile project(':BaseGameUtils')
        // ...
    }
    

    and I just needed to change it to:

    dependencies {
        compile project(':libraries:BaseGameUtils')
        // ...
    }
    

    hope that helps someone :)

提交回复
热议问题