Unoptimized APK from Stencyl

Guzzz

  • *
  • Posts: 523
After I uploaded apk to Google Play Consol I'm trying to publish Alpha etc. Now google refuses to use my APK because
Quote
Unoptimized APK
Warning:

This APK results in unused code and resources being sent to users. Your app could be smaller if you used the Android App Bundle. By not optimizing your app for device configurations, your app is larger to download and install on users' devices than it needs to be. Larger apps see lower install success rates and take up storage on users' devices.

Resolution:

Use the Android App Bundle to automatically optimize for device configurations, or manage it yourself with multiple APKs.
So now I'm prompt to use Android Studio to make a proper bundle. Not that I'm against learning a new tool but just not at the stage where I'm trying to prepare for publishing on Google Play.  Aside of dealing with these  damn Google's tracks, testers and certificates now I need to learn this f###ing Android Studio which is insane, it crashed my comp which is usually handles video editing and 3D rendering.  I need to learn how to update this crappy Android Studio where I am missing Gradle (whateveritis) at the same time when the app says everything is up-to-date with Google Articles that are not updated like for ever... my point, why I can't just upload APK onto GooglePlay and be done with it? Am I just unlucky mofo and I'm the only one who struggles to publish his game or there is something wrong with Stencyl?
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/

gcarne

  • *
  • Posts: 83
I cannot help, except for saying that you are not alone. I have had a similar situation which is just not explainable. I did the mistake of updating Stencyl to 4.0 and ran into a large number of problems, amongst other I lost the crucial KeyStore-file resulting in me having to create a new game in Stencyl and a new game in the Google Play Console thereby loosing all the good download numbers and references I had acquired in Google Play over the past year or two.  One of the many problems is that my game now, although it is exactly the same game with no changes whatsoever (I inserted a copy of the old game into the new one), is about twice the size it originally was. I took a look Android Studio to make a bundle but had to give up.  For me it was just to messy and too difficult to understand.

grmata

  • *
  • Posts: 70
This is a new change from Google Play. Stencyl will need to be updated in order to create .aab packages instead of .apk.
There was a Post on how to do this manually in the build.gradle file. I'm searching for it now as well.

Here's the link to the post about how to do it manually.

http://community.stencyl.com/index.php/index.php?topic=58765.msg308841#msg308841

Justin

  • *
  • Posts: 4354
The aforementioned update has been done, so when you publish for Android with the latest build, it'll export as an aab instead of an apk.

For Live Support: Join our discord server and ping me @justin.
I'm most often available between 8am and midnight Japan time. (GMT+9)

designpeg

  • *
  • Posts: 711
The aforementioned update has been done, so when you publish for Android with the latest build, it'll export as an aab instead of an apk.
  That's good to know! I've been putting off rebuilding my app and updating it as I didn't want to get into learning to use Android studio at the moment!

Guzzz

  • *
  • Posts: 523
This is a good news! Thank you, Justin!
Perfect timing, cause I’m planning to update my game on GooglePlay. Since I’m working on the update I was wondering is it possible to get Ask For Review pop-up working (http://community.stencyl.com/index.php/topic,59374.msg310655.html#msg310655)? Is there anything like this for Androids?

P.s. can you guys turn mobile version for this forum on? It’s quite painful to write and read the forum on mobile.
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: 523
I'm trying to use the latest Stencyl build (10471) to make abb but it gives me only errors. I attached the log.
I guess there is something wrong with:
Quote
error: undefined reference to 'hx::gMultiThreadMode'
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/