When you are setting up the Google Play Android SDK you have to specify Resources Definition and from the Google guide, you are forced to first set up Achievements / Leaderboards in your Google Play Console, in order to get your Android resources:
This data is found in the Google Play
Developer Console by clicking “Get
resources” on any of the resource
pages (e.g. Achievements or
Leaderboards), then clicking
Android.
However, there are a lot of people who don’t want to set this up and still have their Google Play SDK in Unity working. This you can achieve by posting the following in the Resource Definition, without having Leaderboards or Achievements created:
<?xml version="1.0" encoding="utf-8"?>
<resources>
<string name="app_id">[your app_id]</string>
<string name="package_name">[package name]</string>
</resources>
When you are setting up the Google Play Android SDK you have to specify Resources Definition and from the Google guide, you are forced to first set up Achievements / Leaderboards in your Google Play Console, in order to get your Android resources:
This data is found in the Google Play > Developer Console by clicking “Get > resources” on any of the resource > pages (e.g. Achievements or > Leaderboards), then clicking > Android.
However, there are a lot of people who don’t want to set this up and still have their Google Play SDK in Unity working. This you can achieve by posting the following in the Resource Definition, without having Leaderboards or Achievements created:
<?xml version="1.0" encoding="utf-8"?>
<resources>
<string name="app_id">[your app_id]</string>
<string name="package_name">[package name]</string>
</resources>