zoukankan      html  css  js  c++  java
  • [android]android ndk 编译错误

    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 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)
  • 相关阅读:
    Jinja2模板引擎简介
    单元测试
    Blueprint属性
    状态保持中的cookie
    异常捕获abort方法
    数据库迁移
    Flask-SQLAlchemy中 ORM 一对多的模型关系定义步骤
    request请求的常用属性
    搜索引擎
    Mark
  • 原文地址:https://www.cnblogs.com/soildong/p/4790992.html
Copyright © 2011-2022 走看看