从 imame4all.googlecode.com上下载代码: svn checkout http://imame4all.googlecode.com/svn/trunk/ imame4all-read-onlyEclipse新建一个工程,导入已经存在的源代码,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 ProblemDescription 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/目录下的东西没有编译,不知道如何编译
谢谢大家了,本人新手!
然后就是编译不过,很多错误------------------------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 ProblemDescription 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/目录下的东西没有编译,不知道如何编译
谢谢大家了,本人新手!
import com.seleuco.mame4all.R;Description Resource Path Location Type
R cannot be resolved to a variable TrackBallPrefScreen.java /MAME4all/src/com/seleuco/mame4all/prefs line 74 Java Problem
要到mame4all根目录下面,make -f makefile.android