Android building problems in Stencyl 4.0

Zuidsoft

  • *
  • Posts: 13
I'm trying to build forAndroid in Stencyl 4.0.0, but it gives an Error

« Last Edit: January 22, 2019, 05:32:05 pm by Zuidsoft »

MrD69

  • *
  • Posts: 221
I couldn't build either after upgrading. Try running clean on your project. Also looks like you are running on linux and having folder permission issues. Try running chown on you android install folder
Games: Arrow Mania, Breakout/Outbreak, Water Drop

Zuidsoft

  • *
  • Posts: 13
How I run Chown


 try to run through commands but I can not run it



 i go to stencylworks folder

Commands

cd stencylworks /

sudo chown -R myusername:myusernamegroup android-sdk /

MrD69

  • *
  • Posts: 221
my bad sorry the command you really want is chmod

sudo chmod 777 -R myusername:myusernamegroup android-sdk /

that will give any application full access to use that folder
Games: Arrow Mania, Breakout/Outbreak, Water Drop

Zuidsoft

  • *
  • Posts: 13
The problem was file permissions.

running this in a terminal and solved the problem

chmod +x /Users/juno/stencylworks/android-sdk/android-ndk-r15c/toolchains/arm-linux-androideabi-4.9/prebuilt/darwin-x86_64/bin/arm-linux-androideabi-g++

try to build for Android again but another Errorcame out





Justin

  • *
  • Posts: 4205
It turns out this was due to Java 11. This issue is fixed in b10262.

For Live Support: Join our discord channel and ping me @justin.