Previous Thread
Next Thread
Print Thread
Page 1 of 7 1 2 3 4 5 6 7
#105425 05/05/16 09:44 AM
Joined: Jun 2015
Posts: 55
N
NLS
Offline
Member
Member
N Offline
Joined: Jun 2015
Posts: 55
Disclaimer: I can compile MAME, but I am in no-way a fully fledged dev (for the last 10 years at least).

I've seen that work has started towards an official Android build for MAME. I am not sure of the current status, but I want to ask. Is it possible to make an .apk using the current tools? How? Do I use make with some specific parameters? (makefile seems to have the appropriate sections for Android) Is gradle the way? (not even sure how to use that)

Please help?

Joined: Apr 2006
Posts: 815
Likes: 3
D
Senior Member
Senior Member
D Offline
Joined: Apr 2006
Posts: 815
Likes: 3
Wondering how far they got done on the source. smile

Haven't seen mame.apk on the MAME website yet.


W11 Home 64-bit + Nobara OS / AMD Radeon RX 5700 XT / AMD Ryzen 7 3700X 8-Core 3.59 GHz / RAM 64 GB
Joined: Jun 2015
Posts: 55
N
NLS
Offline
Member
Member
N Offline
Joined: Jun 2015
Posts: 55
No, but I want to try to compile myself to see myself.
I am trying to run gradle (on my Windows 10 x64) and fixing all dependencies that hit gradlew.bat.

Last edited by NLS; 05/05/16 12:02 PM.
Joined: Mar 2001
Posts: 17,239
Likes: 263
R
Very Senior Member
Very Senior Member
R Offline
Joined: Mar 2001
Posts: 17,239
Likes: 263
It's possible-ish on Windows only I think. You have to have the NDK installed, and I don't know the specific incantation after that. Micko has posted screenshots of it running on an Android tablet though.

ETA: "make android-arm -j9 and then use Android Studio and open the project, which is in a separate folder in root."

Last edited by R. Belmont; 05/05/16 12:43 PM.
Joined: Apr 2006
Posts: 815
Likes: 3
D
Senior Member
Senior Member
D Offline
Joined: Apr 2006
Posts: 815
Likes: 3
Thanks for the info Micko.

R. Belmont thanks for his reply.


W11 Home 64-bit + Nobara OS / AMD Radeon RX 5700 XT / AMD Ryzen 7 3700X 8-Core 3.59 GHz / RAM 64 GB
Joined: Apr 2006
Posts: 815
Likes: 3
D
Senior Member
Senior Member
D Offline
Joined: Apr 2006
Posts: 815
Likes: 3


W11 Home 64-bit + Nobara OS / AMD Radeon RX 5700 XT / AMD Ryzen 7 3700X 8-Core 3.59 GHz / RAM 64 GB
Joined: Jun 2015
Posts: 55
N
NLS
Offline
Member
Member
N Offline
Joined: Jun 2015
Posts: 55
I have ndk and sdk installed. It actually wanted me to move ndk to a specific folder.

"gradlew.bat make" (after having to set a parameter in a file) did make some tiny .apk which I am not sure what they are good for. They are not MAME definitely.

I didn't use Android Studio (but is installed).
It is (probably) compiling now, using normal msys64 environment, I will know in a while.
(damn make really needed a progress bar - I keep saying that)
I actually used the same make flags as windows version except I put first argument to be "android-arm64".

It gave a bunch of errors in the beginning (suspect because I don't have mame folder in src folder, but some other path), I'll wait for it to end to see how critical they were.


Joined: Apr 2006
Posts: 815
Likes: 3
D
Senior Member
Senior Member
D Offline
Joined: Apr 2006
Posts: 815
Likes: 3
I have no clue on how to set this up. There no install in the android-ndk-r11c-windows-x86_64.zip http://developer.android.com/ndk/downloads/index.html


W11 Home 64-bit + Nobara OS / AMD Radeon RX 5700 XT / AMD Ryzen 7 3700X 8-Core 3.59 GHz / RAM 64 GB
Joined: Jun 2015
Posts: 55
N
NLS
Offline
Member
Member
N Offline
Joined: Jun 2015
Posts: 55
You don't "install" it, you extract it.

My make failed.

In the beginning it says "'pkg-config' is not recognized as an internal or external command, operable program or batch file." for 7 times. This file does exist and is in "D:\Development\msys64\usr\share\bash-completion\completions".

Then it says "fatal: unable to join threaded lstat".

I suspect these are critical.

Then it progresses more or less normally generating various makes for gmake-android-arm64 (so at least it recognizes my intended target).

I run make from inside win32con in path "D:\Development\msys64\src\mame". It compiles fine a normal windows build.

Anybody can help?


Last edited by NLS; 05/05/16 02:28 PM.
Joined: Jun 2015
Posts: 55
N
NLS
Offline
Member
Member
N Offline
Joined: Jun 2015
Posts: 55
...and failed.

Page 1 of 7 1 2 3 4 5 6 7

Moderated by  R. Belmont 

Link Copied to Clipboard
Who's Online Now
1 members (AJR), 251 guests, and 0 robots.
Key: Admin, Global Mod, Mod
ShoutChat
Comment Guidelines: Do post respectful and insightful comments. Don't flame, hate, spam.
Forum Statistics
Forums9
Topics9,331
Posts122,196
Members5,077
Most Online1,283
Dec 21st, 2022
Our Sponsor
These forums are sponsored by Superior Solitaire, an ad-free card game collection for macOS and iOS. Download it today!

Superior Solitaire
Powered by UBB.threads™ PHP Forum Software 8.0.0