article

Sanyu avatar image
Sanyu posted

Tech Note: GameCircle and Android Studio

Here are steps for getting GameCircle working in Android Studio:

  1. Download and unzip the Amazon Mobile App SDK: https://developer.amazon.com/public/resources/development-tools/sdk
  2. Either create a new project or open an existing android project in Android Studio
  3. Import the GameCircleSDK folder from the Mobile App SDK via File>”Import Module”
  4. Under File>”Project Structure”, navigate to your main application, then the dependencies tab.
  5. Under the dependencies tab, click the green plus sign on the right, then click “module dependency” and select the GameCircleSDK module that was imported earlier.
  6. In the AndroidManifest.xml for the GameCircleSDK module, change the package name under “package=”. The exact name does not matter, as long as it is not “com.amazon.ags”.
  7. In the AndroidManifest.xml for the main application, add the following:
    1. In the <manifest> entry, add “xmlns:tools=http://schemas.android.com/tools
    2. In the <application> entry, add “tools:replace=”android:label””
  8. At this point, doing a normal build should work.
gamecircle
10 |5000 characters needed characters left characters exceeded

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

Article

Contributors

kiruluta contributed to this article

Related Articles