RT,求指教或者有示例源码。
谢谢!
谢谢!
解决方案 »
- 求助,子线程中处理GPS,问题较多,多放点分
- Android 写了 HelloWorld 没显示 大家帮帮忙
- 自定义listView的Item的样式出现问题 求教
- android 官方给出的最适合开发android的eclipse版本是哪个
- [Android]
- 求一些android的帮助文档和书籍
- 如何改变ListView里的TextView里的指定字符的颜色?
- android的环境搭建问题,求大神帮忙
- 安卓TCP通讯客户端接受数据的问题。
- 请问 为什么不能弹出 popupwindow
- 用百度地图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