Can't build for Android on Stencyl 4.0.2 - Build 10558

Guzzz

  • Posts: 556
What's going on here (see the log attached)? Gradle again?
I'm building for minimum API 17 and target API 28
Watch my new game http://www.hitandcrash.com based on my comic strip https://www.instagram.com/hitandcrash

HeadlessD is my dungeon-crawling game on iOs and Android. Made in Stencyl. https://www.headlessd.com/

Justin

  • *
  • Posts: 4716
Is this the same problem we solved on your other computer by making the aidl file executable?

Could you delete the /Users/guzboroda/stencylworks/android-sdk/android-sdk-macosx/build-tools/28.0.3 folder and try redownloading the android build tools using the build of Stencyl you have now?
For Live Support: Join our discord server and ping me @justin.
I'm most often available between 10am and 10pm Japan time. (GMT+9)

Guzzz

  • Posts: 556
Here is what it gave me (in the attachment)
Watch my new game http://www.hitandcrash.com based on my comic strip https://www.instagram.com/hitandcrash

HeadlessD is my dungeon-crawling game on iOs and Android. Made in Stencyl. https://www.headlessd.com/

Justin

  • *
  • Posts: 4716
It looks like you got past the initial error. The new one looks very similar to #1720: Android Keystore Generator not making usable keystores. If this was a new game, I would recommend regenerating the keystore file (in Stencyl, Settings > Mobile > Android Certificates > Generate Certificate).

However, if you're updating an older game and want the update to be seamless for users, instead of having to download the update as a new app, then I'm not sure. Perhaps using the same JDK that you were using when you first generated the keystore would allow it to pass.
For Live Support: Join our discord server and ping me @justin.
I'm most often available between 10am and 10pm Japan time. (GMT+9)

Guzzz

  • Posts: 556
What do you mean by "using the same JDK"? I am using all the same... except Stencyl itself.
Watch my new game http://www.hitandcrash.com based on my comic strip https://www.instagram.com/hitandcrash

HeadlessD is my dungeon-crawling game on iOs and Android. Made in Stencyl. https://www.headlessd.com/

Justin

  • *
  • Posts: 4716
Upon further investigation, it doesn't seem like it's possible to continue on with older keystores at all anymore. I think the only path forward (assuming you want to update your app, and not replace it with a new one) is to use App Signing by Google Play.

I'll need to go through the whole guide myself to understand the process, so it'll take some time before I can give a more in-depth answer and provide further guidance.
For Live Support: Join our discord server and ping me @justin.
I'm most often available between 10am and 10pm Japan time. (GMT+9)

Guzzz

  • Posts: 556
@Justin, do you have any updates on this? I am a bit pressed of time. Google wants me to update my game as soon as possible.
Watch my new game http://www.hitandcrash.com based on my comic strip https://www.instagram.com/hitandcrash

HeadlessD is my dungeon-crawling game on iOs and Android. Made in Stencyl. https://www.headlessd.com/

Guzzz

  • Posts: 556
Watch my new game http://www.hitandcrash.com based on my comic strip https://www.instagram.com/hitandcrash

HeadlessD is my dungeon-crawling game on iOs and Android. Made in Stencyl. https://www.headlessd.com/

Justin

  • *
  • Posts: 4716
Hey Guzzz. Sorry, I sent you a message on discord, but I should have tried the forum as well.

I haven't looked into the process yet myself, but if you want to just try to work through it together, let me know.
For Live Support: Join our discord server and ping me @justin.
I'm most often available between 10am and 10pm Japan time. (GMT+9)