从 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/目录下的东西没有编译,不知道如何编译
谢谢大家了,本人新手!
解决方案 »
- 如何判断手机桌面是否已经存在某个快捷方式
- NDK下STL编译不成功,怎么办?
- Android 继承BaseAdapter中如何实例化SQLiteOpenHelper
- 如何让预置进系统的apk在运行后其进程能不被杀死
- android 只要横向滑动屏幕就能切换Activity是怎么实现?
- android opengles 手机唤醒后 界面上的图形的贴图都没有了,图形呈白色
- 为什么我昨天发的贴不见了
- 我写了一个简单的APP,用到了数据库,在程序中我自动建立了一个数据库,可以在File Explorer中找到,然后我把软件安装到虚拟机可以运行。
- 请高手指点!
- 如何做到同一个apk在两个不同手机上显示不同界面?
- andriod系统怎么捕获硬键盘或外设输入并产生相应动作
- Android环境安装时出现:platform 'android-9': tools\aapt.exe is missing.
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