Android/ play key help

Hi everyone!

I’ve searched for how to complete a shipping build for android and can’t figure out how to.
I’ve heard i need to find the signingconfig.xml file on documentation, but i’ve also read that file is no longer needed.

How does one generate a shipping key for play?

do i need to go on the play developers site and click something there to get the key?

then do i need to put that said key in a folder or type in a command in the terminal to get this to work?

our game is tested and works fine on our android device but we’re looking to package. I filled out most of the settings on the website, but i have no idea about private/public keys and it seems like theres way to many options for both of them.

thank you

Hey Dannykana,

We have tons of documentation that you can review. Please follow the first documentation link first, as it’s going to show you how to sign your projects for distribution/release.

  • [Signing Projects for Release][1]
  • [Android Game Development][2]
  • [Setting up Device Profiles][3]
  • [In-Game Ads][4]
  • [In-App Purchases][5]
  • [ Play Achievements][6]

:slight_smile:

Signing Android Projects for Release on the Google Play Store with Unreal Engine | Unreal Engine 5.1 Documentation
[2]: Android Support for Unreal Engine | Unreal Engine 5.1 Documentation
[3]: Setting Up Device Profiles in Unreal Engine | Unreal Engine 5.1 Documentation
[4]: Using In-Game Ads in Unreal Engine Projects on Mobile Platforms | Unreal Engine 5.1 Documentation
[5]: Using In-App Purchases in Unreal Engine Projects for Mobile Devices | Unreal Engine 5.1 Documentation
[6]: Using Google Play Achievements in Unreal Engine Projects | Unreal Engine 5.1 Documentation

Hi !

I did generate a Key, but I was told I had to generate a new key for each project. In which part of the the code i type in the terminal (i’m on a mac) keytool -genkey -v -keystore ExampleKey.keystore -alias MyKey -keyalg RSA -keysize 2048 -validity (do i specify the name of the game?) Do i need to have each key as the name of the apk package file and .keystore. Would the name for the game be under “what is the name of my organization?”

Once I get these keys right i’ll be able to show them on . (the using one key for all four games didn’t work correctly).

Also, we couldn’t get the OBB file to download, but that’s probably because of the key, right?

Thanks,

Hey Dannykana,

Make sure you’re going into the Project Settings and turning on Play Services as well as the APK Packaging for Android. You need to make sure you are using the Play key that you created for that specific application, not one of your other applications you may have already released.

Here are some additional links I thought may be helpful to you:

  • [ APIs for Android][1]
  • [Adding Licensing to your App][2]
  • [ Play Licensing Service][3]
  • [ Play Developer Console][4]

Thanks!

https://developers…com/android/guides/overview
[2]: http://developer.android.com//play/licensing/adding-licensing.html
[3]: https://support…com/googleplay/android-developer/answer/186113?hl=en
[4]: https://play…com/apps/publish/signup/