mame icon indicating copy to clipboard operation
mame copied to clipboard

MAME / ANDRDOID PROJECT - build instructions for Android Studio

Open OOKAMIFR opened this issue 2 months ago • 2 comments

hello,

i am trying to build android version in order to test and see how works Mame on Android my issue is i can't find any documentation to perform build on Windows with Android Studio

I really appreciate any help about :)

many thanks and have a good day :)

OOKAMIFR avatar Oct 13 '25 16:10 OOKAMIFR

hello,

after some research, i have some result i wanted to share first, about the following error

bug! exception in phase 'semantic analysis' in source unit 'buildscript' unsupported class file major version 68

for this case, on windows, i needed to install correct JDK to be more precise, JDK 18

after installation and make environement variable synced with command prompt, i run the command gradle tasks

this time, gradle tasks result is successfull

i launched android studio with the last mame-master downloaded if i try to build from repository, i have building errors

i just open android-project folder and performed following task upgrading gradle 7.5 to 8.0 sync project with upgrade

make first build and tested on my android device apk size is only 16mb and i think it's because project don't include all other folders

about first apk, i have SDL error and continue to look about

OOKAMIFR avatar Oct 16 '25 16:10 OOKAMIFR

Image

OOKAMIFR avatar Oct 16 '25 16:10 OOKAMIFR