Android Build - Proving Package Name Ownership

Hi all,

I am having trouble proving my package name ownership to google console. Some background: I’ve created APK files via gdevelop so I think that is why google says my package name is owned already.

  1. When I create an app with my package name, I get this message:

“To finish registering this package name, prove that you own it by completing the following tasks.”

  1. When I try to upload an APK file, I see this instruction:

“To finish proving ownership of com.xxx.yyy, sign an APK with the private key that corresponds to the public key you provided, and upload the APK”

  1. When I upload my APK file that I created directly from gdevelop, I get this error:

“The uploaded APK does not have the required token file.”

I don’t know if my only solution is to just change my package name and create the app on the google console first before creating anything in gdevelop. Is there any other solution for me that doesn’t require me changing my package name? Is anyone else having a similar issue or had a similar issue in the past?

Thanks in advance for any advice or suggestions!

Hi there,

I am encountering the exact same issue with my latest project. No matter how I try to bundle the app, I keep getting the error: “The uploaded APK does not have the required token file.”

The root of the problem is that Google’s new verification policy requires the adi-registration.properties file to be placed specifically in the native root assets/ directory of the signed APK. Currently, the GDevelop cloud build system “wraps” resources in a way that makes this token invisible to Google’s automated verification tool.

I believe it is time for GDevelop to update its build engine to support these new Google Play Console requirements. We need a native way to include these verification tokens or a specific “Ownership Verification Build” mode that allows us to comply with Google’s latest security and ownership policies without having to resort to complex manual build workarounds (like Docker or manual APK signing).

This is becoming a major roadblock for developers trying to launch new apps under their own package names. Hopefully, the GDevelop team can look into this and provide an official update to streamline this process.

Has anyone else found a workaround that doesn’t involve a complete manual Android Studio build?

I have been working on a simple, everything included manual output, to whatever you desire. AAB, APK and APK debug. Take a look. It will change from HTML 5 to Android manual export later but what you think? And the environment stuff i will include some files that help people instant set-up and make their games. So no fiddling with Android studio and so on.
NOTE: It's not finshed and some features are missing



This sounds amazing and exactly what the community needs right now! I am personally struggling with Google Play’s new ownership verification because the current GDevelop cloud build doesn’t include the required token file (adi-registration.properties) in the root assets.

Your tool would be a lifesaver for developers like me who don’t have enough storage for Android Studio or find Docker too complex. Can’t wait to test it! Please let us know once a beta version or a simple guide is available.

Hello,

Just to reassure you that we’re aware of this new requirements and the limitation it creates. We are working on it, but this may take a bit of time to have a clean solution in the engine.
We’ll keep you posted.

I solved it with a trick, and it seems to work:

  • I create my “adi-registration.properties” file with dev code inside

  • I put the file “adi-registration.properties” in project “assets” folder

  • I edit “game.json” file, its a text file so in the section with resources i added manually this:

    {
    “file”: “assets/adi-registration.properties”,
    “kind”: “font”,
    “metadata”: “”,
    “name”: “..\\adi-registration.properties”,
    “userAdded”: true
    },
    {
    “file”: “assets/adi-registration.properties”,
    “kind”: “font”,
    “metadata”: “”,
    “name”: “assets\\adi-registration.properties”,
    “userAdded”: true
    },

  • I build .apk from cloud service

  • I upload the .apk in google console and google accept it :slight_smile: