troyzhao / mame4mobile Goto Github PK
View Code? Open in Web Editor NEWMAME emulator for iOS and Android
License: Other
MAME emulator for iOS and Android
License: Other
环境:MACOS 10.14.6
NDK:android-ndk-r17c
第一个问题:makefile文件打开ANDROID = 1和AARMV8=1可以正常编译,打开AARMV7=1会编译不通过
Compiling src/emu/cpu/tms57002/tms57002.c...
{standard input}: Assembler messages:
{standard input}:332616: Error: conditional branch out of range
make: *** [obj/droid-ios/mame/emu/cpu/tms57002/tms57002.o] Error 1
第二个问题:直接用你的Android studio工程,安装在小米MIX2(Android 9)会崩溃
2020-05-18 10:51:20.733 745-3176/? E/ANDR-PERF-MPCTL: poll() has timed out for /sys/module/msm_performance/events/cpu_hotplug
2020-05-18 10:51:20.733 745-3176/? E/ANDR-PERF-MPCTL: Block on poll()
2020-05-18 10:51:21.601 1737-4627/system_process E/ANDR-PERF-JNI: com_qualcomm_qtiperformance_native_perf_io_prefetch_start
2020-05-18 10:51:21.729 640-678/? E/IptablesRestoreController: iptables error:
------- COMMAND -------
*mangle
-A mangle -m mark --mark 0x100000/0x100000 -j CLASSIFY --set-class 0:5
COMMIT
------- ERROR -------
iptables-restore: line 34 failed
----------------------
2020-05-18 10:51:21.730 640-678/? E/IptablesRestoreController: iptables error:
------- COMMAND -------
*mangle
-A mangle -m mark --mark 0x100000/0x100000 -j CLASSIFY --set-class 0:5
COMMIT
------- ERROR -------
ip6tables-restore: line 34 failed
----------------------
2020-05-18 10:51:21.730 640-678/? E/traffic: attach a classify class failed.
2020-05-18 10:51:21.739 640-669/? E/NetlinkEvent: NetlinkEvent::FindParam(): Parameter 'INTERFACE' not found
2020-05-18 10:51:21.739 640-669/? E/NetlinkEvent: NetlinkEvent::FindParam(): Parameter 'STATE' not found
2020-05-18 10:51:21.739 640-669/? E/NetlinkEvent: NetlinkEvent::FindParam(): Parameter 'TIME_NS' not found
2020-05-18 10:51:21.739 640-669/? E/NetlinkEvent: NetlinkEvent::FindParam(): Parameter 'UID' not found
2020-05-18 10:51:21.755 640-678/? E/IptablesRestoreController: iptables error:
------- COMMAND -------
*filter
-A tc_limiter -m connbytes --connbytes 0:500 --connbytes-dir reply --connbytes-mode avgpkt -j RETURN
COMMIT
------- ERROR -------
iptables-restore: line 23 failed
----------------------
2020-05-18 10:51:21.756 640-678/? E/IptablesRestoreController: iptables error:
------- COMMAND -------
*filter
-A tc_limiter -m connbytes --connbytes 0:500 --connbytes-dir reply --connbytes-mode avgpkt -j RETURN
COMMIT
------- ERROR -------
ip6tables-restore: line 23 failed
----------------------
2020-05-18 10:51:21.756 640-678/? E/traffic: iptables exec failed 354
2020-05-18 10:51:21.924 28525-28563/? E/mame4droid-jni: Unable to load libMAME4droid.so: libdl.a is a stub --- use libdl.so instead
2020-05-18 10:51:21.924 28525-28563/? A/libc: Fatal signal 11 (SIGSEGV), code 1 (SEGV_MAPERR), fault addr 0x0 in tid 28563 (emulatorNativeM), pid 28525 (euco.mame4droid)
2020-05-18 10:51:21.965 28566-28566/? A/DEBUG: *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** ***
2020-05-18 10:51:21.965 28566-28566/? A/DEBUG: Build fingerprint: 'Xiaomi/chiron/chiron:9/PKQ1.190118.001/9.9.3:user/release-keys'
2020-05-18 10:51:21.965 28566-28566/? A/DEBUG: Revision: '0'
2020-05-18 10:51:21.965 28566-28566/? A/DEBUG: ABI: 'arm64'
2020-05-18 10:51:21.965 28566-28566/? A/DEBUG: pid: 28525, tid: 28563, name: emulatorNativeM >>> com.seleuco.mame4droid <<<
2020-05-18 10:51:21.965 28566-28566/? A/DEBUG: signal 11 (SIGSEGV), code 1 (SEGV_MAPERR), fault addr 0x0
2020-05-18 10:51:21.965 28566-28566/? A/DEBUG: Cause: null pointer dereference
2020-05-18 10:51:21.965 28566-28566/? A/DEBUG: x0 000000768a7637a0 x1 0000007689ffde10 x2 0000000000000005 x3 0000000000000003
2020-05-18 10:51:21.965 28566-28566/? A/DEBUG: x4 0000000000000000 x5 6a2d6469ffffffff x6 0000000000800000 x7 0000800000000000
2020-05-18 10:51:21.965 28566-28566/? A/DEBUG: x8 0000000000000000 x9 000000768a7637a0 x10 0000007689ffdfb0 x11 0000000000000025
2020-05-18 10:51:21.965 28566-28566/? A/DEBUG: x12 0101010101010101 x13 0000000000000010 x14 ffffffffffffffff x15 00008a4074bf1d7d
2020-05-18 10:51:21.965 28566-28566/? A/DEBUG: x16 000000772763ecc0 x17 0000007727798c50 x18 0000000000000010 x19 0000007695d5cc00
2020-05-18 10:51:21.965 28566-28566/? A/DEBUG: x20 00000076a3e40880 x21 0000007695d5cc00 x22 0000007689ffe850 x23 000000768b1af75b
2020-05-18 10:51:21.965 28566-28566/? A/DEBUG: x24 0000000000000008 x25 0000007689fff588 x26 0000007695d5cca0 x27 0000000000000002
2020-05-18 10:51:21.966 28566-28566/? A/DEBUG: x28 0000000000000001 x29 0000007689ffe580
2020-05-18 10:51:21.966 28566-28566/? A/DEBUG: sp 0000007689ffe520 lr 000000768a869454 pc 0000000000000000
2020-05-18 10:51:21.970 28566-28566/? A/DEBUG: backtrace:
2020-05-18 10:51:21.970 28566-28566/? A/DEBUG: #00 pc 0000000000000000
2020-05-18 10:51:21.970 28566-28566/? A/DEBUG: #1 pc 0000000000002450 /data/app/com.seleuco.mame4droid-4bqB8PFBCuyPPtFmO0eEcg==/lib/arm64/libmame4droid-jni.so (Java_com_seleuco_mame4droid_Emulator_init+504)
2020-05-18 10:51:21.970 28566-28566/? A/DEBUG: #2 pc 0000000000009328 /data/app/com.seleuco.mame4droid-4bqB8PFBCuyPPtFmO0eEcg==/oat/arm64/base.odex (offset 0x9000) (com.seleuco.mame4droid.Emulator.init+200)
2020-05-18 10:51:21.970 28566-28566/? A/DEBUG: #3 pc 000000000055da4c /system/lib64/libart.so (art_quick_invoke_static_stub+604)
2020-05-18 10:51:21.970 28566-28566/? A/DEBUG: #4 pc 00000000000d076c /system/lib64/libart.so (art::ArtMethod::Invoke(art::Thread*, unsigned int*, unsigned int, art::JValue*, char const*)+232)
2020-05-18 10:51:21.971 28566-28566/? A/DEBUG: #5 pc 0000000000280dbc /system/lib64/libart.so (art::interpreter::ArtInterpreterToCompiledCodeBridge(art::Thread*, art::ArtMethod*, art::ShadowFrame*, unsigned short, art::JValue*)+344)
2020-05-18 10:51:21.971 28566-28566/? A/DEBUG: #6 pc 000000000027add0 /system/lib64/libart.so (bool art::interpreter::DoCall<false, false>(art::ArtMethod*, art::Thread*, art::ShadowFrame&, art::Instruction const*, unsigned short, art::JValue*)+968)
2020-05-18 10:51:21.971 28566-28566/? A/DEBUG: #7 pc 000000000052dddc /system/lib64/libart.so (MterpInvokeStatic+204)
2020-05-18 10:51:21.971 28566-28566/? A/DEBUG: #8 pc 000000000054fe94 /system/lib64/libart.so (ExecuteMterpImpl+14612)
2020-05-18 10:51:21.971 28566-28566/? A/DEBUG: #9 pc 00000000000b2884 /data/app/com.seleuco.mame4droid-4bqB8PFBCuyPPtFmO0eEcg==/oat/arm64/base.vdex (com.seleuco.mame4droid.Emulator$4.run+18)
2020-05-18 10:51:21.971 28566-28566/? A/DEBUG: #10 pc 0000000000254ad4 /system/lib64/libart.so (_ZN3art11interpreterL7ExecuteEPNS_6ThreadERKNS_20CodeItemDataAccessorERNS_11ShadowFrameENS_6JValueEb.llvm.1893940555+488)
2020-05-18 10:51:21.971 28566-28566/? A/DEBUG: #11 pc 000000000025a5c8 /system/lib64/libart.so (art::interpreter::ArtInterpreterToInterpreterBridge(art::Thread*, art::CodeItemDataAccessor const&, art::ShadowFrame*, art::JValue*)+216)
2020-05-18 10:51:21.971 28566-28566/? A/DEBUG: #12 pc 000000000027adb4 /system/lib64/libart.so (bool art::interpreter::DoCall<false, false>(art::ArtMethod*, art::Thread*, art::ShadowFrame&, art::Instruction const*, unsigned short, art::JValue*)+940)
2020-05-18 10:51:21.971 28566-28566/? A/DEBUG: #13 pc 000000000052d854 /system/lib64/libart.so (MterpInvokeInterface+1392)
2020-05-18 10:51:21.971 28566-28566/? A/DEBUG: #14 pc 000000000054ff14 /system/lib64/libart.so (ExecuteMterpImpl+14740)
2020-05-18 10:51:21.971 28566-28566/? A/DEBUG: #15 pc 00000000000dff84 /system/framework/boot-core-oj.vdex (java.lang.Thread.run+12)
2020-05-18 10:51:21.971 28566-28566/? A/DEBUG: #16 pc 0000000000254ad4 /system/lib64/libart.so (_ZN3art11interpreterL7ExecuteEPNS_6ThreadERKNS_20CodeItemDataAccessorERNS_11ShadowFrameENS_6JValueEb.llvm.1893940555+488)
2020-05-18 10:51:21.971 28566-28566/? A/DEBUG: #17 pc 000000000051d18c /system/lib64/libart.so (artQuickToInterpreterBridge+1020)
2020-05-18 10:51:21.971 28566-28566/? A/DEBUG: #18 pc 00000000005668fc /system/lib64/libart.so (art_quick_to_interpreter_bridge+92)
2020-05-18 10:51:21.971 28566-28566/? A/DEBUG: #19 pc 000000000055d788 /system/lib64/libart.so (art_quick_invoke_stub+584)
2020-05-18 10:51:21.971 28566-28566/? A/DEBUG: #20 pc 00000000000d074c /system/lib64/libart.so (art::ArtMethod::Invoke(art::Thread*, unsigned int*, unsigned int, art::JValue*, char const*)+200)
2020-05-18 10:51:21.971 28566-28566/? A/DEBUG: #21 pc 000000000045f850 /system/lib64/libart.so (art::(anonymous namespace)::InvokeWithArgArray(art::ScopedObjectAccessAlreadyRunnable const&, art::ArtMethod*, art::(anonymous namespace)::ArgArray*, art::JValue*, char const*)+104)
2020-05-18 10:51:21.971 28566-28566/? A/DEBUG: #22 pc 000000000046090c /system/lib64/libart.so (art::InvokeVirtualOrInterfaceWithJValues(art::ScopedObjectAccessAlreadyRunnable const&, _jobject*, _jmethodID*, jvalue*)+424)
2020-05-18 10:51:21.971 28566-28566/? A/DEBUG: #23 pc 000000000048ed5c /system/lib64/libart.so (art::Thread::CreateCallback(void*)+1092)
2020-05-18 10:51:21.971 28566-28566/? A/DEBUG: #24 pc 00000000000901b0 /system/lib64/libc.so (__pthread_start(void*)+36)
2020-05-18 10:51:21.971 28566-28566/? A/DEBUG: #25 pc 0000000000023930 /system/lib64/libc.so (__start_thread+68)
2020-05-18 10:51:22.571 28566-28566/? E/MIUINDBG: miui_native_debug_process_O
2020-05-18 10:51:22.574 28566-28566/? E/MIUINDBG: AM read ack success: No such file or directory
2020-05-18 10:51:22.574 28566-28566/? E/MIUINDBG: core type: 0: No such file or directory
2020-05-18 10:51:22.574 28566-28566/? E/MIUINDBG: lsof type: 0: No such file or directory
2020-05-18 10:51:22.577 987-987/? E//system/bin/tombstoned: Tombstone written to: /data/tombstones/tombstone_04
2020-05-18 10:51:22.597 774-774/? E/lowmemorykiller: Error opening /proc/28525/oom_score_adj; errno=2
帮忙看看,谢谢
app crash with that error
dlopen failed: cannot locate symbol "signal" referenced by "libMAME4droid.so"
大佬,方便交流学习下么?我的微信:99331273.
目前遇到一个问题,应该是加载jni库出错。
麻烦解答下。
2020-09-21 14:09:01.877 31400-31474/com.seleuco.mame4droid E/mame4droid-jni: Unable to load libMAME4droid.so: libdl.a is a stub --- use libdl.so instead
2020-09-21 14:09:01.877 31400-31474/com.seleuco.mame4droid I/mame4droid-jni: calling setVideoCallbacks
2020-09-21 14:09:01.877 31400-31474/com.seleuco.mame4droid I/mame4droid-jni: calling setAudioCallbacks
2020-09-21 14:09:01.877 31400-31474/com.seleuco.mame4droid I/mame4droid-jni: calling setNetplayCallbacks
2020-09-21 14:09:01.877 31400-31474/com.seleuco.mame4droid I/mame4droid-jni: path /storage/emulated/0/MAME4droid/
2020-09-21 14:09:01.878 31400-31474/com.seleuco.mame4droid A/libc: Fatal signal 11 (SIGSEGV), code 1 (SEGV_MAPERR), fault addr 0x0 in tid 31474 (emulatorNativeM), pid 31400 (euco.mame4droid)
红包求教把最新版本mame移植arm或android,email:[email protected]
make: *** 没有规则可制作目标“obj/droid-ios/mame64/mame/layout/aristmk4.lh”,由“obj/droid-ios/mame64/mame/drivers/aristmk4.o” 需求。 停止。
How to run rom file directly when running mame4all on Android?
armeabi v7 中的libMAME4droid.so 是不是有问题?我在android4.3的机子上跑会出错。
rt
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.