Android doesn't compile

DCameron

  • *
  • Posts: 59
My Android game doesn't compile, I created a test game with a blank screen, same problem. Abridged logs attached :
Artist for hire: http://community.stencyl.com/index.php/topic,49739.0.html

Play my games on Kongregate:                                     Get updates on my Patreon page:

TheIndieStation

  • *
  • Posts: 2257
What android version are you using in stencyl?

DCameron

  • *
  • Posts: 59
Minimum: API 9 - 2.3 (Gingerbread)
Target: API 26 - 8.0.0 (Oreo)
Artist for hire: http://community.stencyl.com/index.php/topic,49739.0.html

Play my games on Kongregate:                                     Get updates on my Patreon page:

TheIndieStation

  • *
  • Posts: 2257
And what sdk etc version?

DCameron

  • *
  • Posts: 59
NDK: android-ndk-r15c
JDK: jdk1.8.0_181
Stencyl 3.5 Beta 2
Artist for hire: http://community.stencyl.com/index.php/topic,49739.0.html

Play my games on Kongregate:                                     Get updates on my Patreon page:

TheIndieStation

  • *
  • Posts: 2257
Try setting your target to 9 as well. Fixed it for me.

rob1221

  • *
  • Posts: 9167
It's an issue with some imports added to the Native class on July 15 but I don't know why only some devs are affected by it.  Reverting that change would break the keyboard again but I may need to do that if another solution isn't found soon.

If you want to continue right now you can replace plaf\haxe\extensions\native\dependencies\native\src\com\androidnative\Native.java with the attached one, although it will undo some fixes for the Android keyboard.

Try setting your target to 9 as well. Fixed it for me.
Google now requires 26+ for new uploads.

« Last Edit: August 08, 2018, 10:08:22 am by rob1221 »