YoYoGames / GameMaker-Bugs

Public tracking for GameMaker bugs
24 stars 8 forks source link

GameMaker Android Build Error #2381

Closed Mank1941 closed 10 months ago

Mank1941 commented 11 months ago

Description

I want to try Android development on gamemaker, Android Studio works fine with other apps. I get this error when i try to run the project on Android Execution failed for task ':com.company.game:lintRelease'.

I also get this Error: Google Play requires that apps target API level 31 or higher. Which is difficult to do cause i cant change the gradle version on GameMaker, i had to download an older jdk just to match the gradle but it brought in new problems. I do have the latest gradle but it wont let me switch to that

Expected Change

The Project to run on Android

Steps To Reproduce

  1. Start GameMaker
  2. Run Game on Android VM or YYC
  3. See the issue

How reliably can you recreate this issue using your steps above?

Always

Which version of GameMaker are you reporting this issue for?

2023.8.2 (Monthly)

Which operating system(s) are you seeing the problem on?

Windows 11

Which platform(s) are you having trouble building this project for?

Android

Are you running GameMaker from inside your Steam library?

No

Contact Us Package Attached?

Sample Project Added?

jackerley commented 10 months ago

Hi, you can change your target API in Game Options->Android you should not need to change gradle versions Screenshot_17

jackerley commented 10 months ago

Just to be clear, you need to have Target SDK set to at least 31 to be compliant with that Google error message