码迷,mamicode.com
首页 > 移动开发 > 详细

android ndk 编译错误

时间:2015-09-08 12:07:37      阅读:1408      评论:0      收藏:0      [点我收藏+]

标签:

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这个文件好像少了一行:

# If APP_ABI is all, then set it to all supported ABIs
# Otherwise, check that we dont 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)

 

android ndk 编译错误

标签:

原文地址:http://www.cnblogs.com/soildong/p/4790992.html

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!