android ndk 编译错误
2015-09-08 11:05
791 查看
Android NDK: NDK Application 'local' targets unknown ABI(s): armeabi armeabi-v7a x86
Android NDK: Please fix the APP_ABI definition in ...jni/Application.mk
/home/dongdy/0work/android-ndk-r10e/build/core/setup-app.mk:117: *** Android NDK: Aborting . Stop.
原来是权限问题,cd到ndk目录下,执行
chmod -R 777 *
------------------------------------------------------------------
另外 build/core/setup-app.mk这个文件好像少了一行:
Android NDK: Please fix the APP_ABI definition in ...jni/Application.mk
/home/dongdy/0work/android-ndk-r10e/build/core/setup-app.mk:117: *** Android NDK: Aborting . Stop.
原来是权限问题,cd到ndk目录下,执行
chmod -R 777 *
------------------------------------------------------------------
另外 build/core/setup-app.mk这个文件好像少了一行:
# If APP_ABI is 'all', then set it to all supported ABIs # Otherwise, check that we don't have an invalid value here. # ifeq ($(NDK_APP_ABI),all) 少了这一行??? NDK_APP_ABI := $(NDK_APP_ABI_ALL_EXPANDED) _abis_without_toolchain := $(filter-out $(NDK_ALL_ABIS),$(NDK_APP_ABI)) ifneq (,$(_abis_without_toolchain)) $(call ndk_log,Remove the following abis expanded from 'all' due to no toolchain: $(_abis_without_toolchain)) NDK_APP_ABI := $(filter-out $(_abis_without_toolchain),$(NDK_APP_ABI)) endif else ifeq ($(NDK_APP_ABI),all32)
相关文章推荐
- adb logcat命令查看并过滤android输出log
- 【笔记】Android开发中R文件丢失的解决方法
- Android apk动态加载机制的研究
- Android Studio中创建Kotlin For Android项目
- Android Studio中创建Kotlin For Android项目
- game测试:(android项目设计师角色)01立项: 框架设计,详细设计
- android接入支持海外的支付,visa,mastercard
- android 图片裁减
- Android工具代码
- Parcelable接口
- android菜鸟进阶之路—— AsyncTask的使用
- Android FTP ftpClient.listFiles()报java.lang.ClassNotFoundException: Didn't find class "Windows_NT"
- Android学习笔记之:NDK开发环境配置
- Android 签名机制
- android:inputType罗列
- Android控件使用—EditText的一些注意事项
- Android layout 属性
- (九)android中通过selector设置TextView的文字选中和正常时候的颜色
- Android手机fastboot刷机命令
- 有关android虚拟机的问题