1
Ask a Question / Re: License error
« on: May 27, 2025, 04:43:18 pm »
I recommend asking over Discord, as the community has mostly moved there: https://community.stencyl.com/index.php/topic,48592.0.html
That said, going over some old messages, I found this:
This issue has been fixed in the private builds, but a new public released hasn't happened yet.
That said, going over some old messages, I found this:
Quote
Alright, I was finally able to test my game on Android. I looked through a bunch of different sources online, so I can't promise this'll be entirely intelligible, but I'll do my best:
Install Android Studio,
Install Android SDK Command-line tools (latest),
If JDK not installed, install JDK and set JAVA_HOME to directory of JDK folder,
Run Command Prompt via Administrator,
Type in "cd C:\Users(yourname)\AppData\Local\Android\Sdk\cmdline-tools\latest\bin",
Type in "sdkmanager.bat",
Type in "sdkmanager --licenses", then accept all licenses as prompted,
Exit Command Prompt, then go to C:\Users(yourname)\AppData\Roaming\Stencyl\stencylworks\android-sdk\android-sdk-windows\licenses via Windows Explorer,
Save a copy of the existing license files if you're squeamish, then replace all files with the license files in C:\Users(yourname)\AppData\Local\Android\Sdk\licenses,
This finally stopped the error from happening, and my game ran as normal.
This issue has been fixed in the private builds, but a new public released hasn't happened yet.