RT,求指教或者有示例源码。
谢谢!
谢谢!
解决方案 »
- activity之间跳转出现错误。
- 豌豆荚和魔乐软件中的ApkInstaller.exe获取.apk版本信息原理
- onTouchEvent闪屏
- windows环境androd系统定制平台
- webview 无法输入,焦点乱跳的问题
- 谁有【传智黎活明android教程】的源码?谢谢了。。。。。
- Android提供离线版本的开发文档吗?
- 急,几天没弄好,真心求助大家帮忙了。关于WebView在新的Activity打开的问题。
- android在java层执行input keyevent 4 命令失败?????
- android。如何查看/获取U盘设备的名称?
- 用百度地图API时,The following classes could not be instantiated
- 菜鸟求问:移动端和网站的数据接收有什么优劣的区别?
I had the same problem, and then realized that I need to put: APP_STL := stlport_staticin Application.mk, not Android.mk ...Then I needed to add: ${ANDROID_NDK_ROOT}\sources\cxx-stl\stlport\stlportto the include paths in eclipse to make it not complain in the UI about errors
Application.mk需要手动建立一个,api版本需要大于14, 因为平台的原因,可以在Application.mk加入x86 mips amreabi amreabi-v7a,调试是个硬伤。。 啥时候能像ios那样就好了。
可以这样做
在Application.mk里加入
APP_PLATFORM := android-<minSdkVersion>
minSdkVersion就是你在Manifest中指定的最小SDK版本号。
我做的时候写的教程,不懂再问我
BTW:最新的ndk版本在windows命令行可以直接ndk-build,不需要安装cygwin。
//主要是这个
APP_STL = stlport_staticLOCAL_LDLIBS := -L$(SYSROOT)/usr/lib -llog \
/Users/concola/Documents/android/android-ndk-r8d/sources/cxx-stl/stlport/libs/armeabi/libstlport_static.aLOCAL_C_INCLUDES := /Users/concola/Documents/android/android-ndk-r8d/sources/cxx-stl/stlport/stlport