当前位置: 代码迷 >> Android >> 求教编译MAME4droid的有关问题
  详细解决方案

求教编译MAME4droid的有关问题

热度:80   发布时间:2016-05-01 21:24:17.0
求教编译MAME4droid的问题
从 imame4all.googlecode.com上下载代码:

  svn checkout http://imame4all.googlecode.com/svn/trunk/ imame4all-read-only

Eclipse新建一个工程,导入已经存在的源代码,SDK-10 2.3.3
然后就是编译不过,很多错误

------------------------ERROR------------------------------

Description Resource Path Location Type
error: Error retrieving parent for item: No resource found that matches the given name 'android:Theme.Holo.NoActionBar.Fullscreen'. styles.xml /MAME4all/res/values-v11 line 16 Android AAPT Problem

Description Resource Path Location Type
error: Error retrieving parent for item: No resource found that matches the given name 'android:Theme.Holo.NoActionBar.Fullscreen'. styles.xml /MAME4all/res/values-v11 line 20 Android AAPT Problem


相关的文件是下面的
  <style name="Theme.MAME4ALL" parent="android:Theme.Holo.NoActionBar.Fullscreen">
  <!-- <item name="android:windowBackground">@null</item>--> 
  </style>
   
  <style name="Theme.MAME4ALL.TitleBar" parent="android:Theme.Holo.NoActionBar.Fullscreen">
  <item name="android:windowNoTitle">false</item>
  </style>



删除相关的字段之后,可以编译出来,但是运行报错,调用jni返回NULL ,即: src/jni/目录下的东西没有编译,不知道如何编译


谢谢大家了,本人新手!

------解决方案--------------------
探讨
从 imame4all.googlecode.com上下载代码:

svn checkout http://imame4all.googlecode.com/svn/trunk/ imame4all-read-only

Eclipse新建一个工程,导入已经存在的源代码,SDK-10 2.3.3
然后就是编译不过,很多错误

------------------------E……

------解决方案--------------------
libMAME4all
要到mame4all根目录下面,make -f makefile.android
  相关解决方案