• UniRapidJson


    https://github.com/takezoh/UniRapidJson

    如何编译安卓

    cd ~/UniRapidJson/build/android

    make

    生成的so可以在

    /Users/jiacanli/UniRapidJson/build/android/build/intermediates/bundles/release/jni

    下面找到

    如果需要编译64位的so需要修改Application.mk,加上arm64-v8a

    # APP_STL := c++_static
    APP_STL := gnustl_static

    ifeq ($(RUNTIME_SUPPORT), unity)
    APP_ABI := armeabi-v7a arm64-v8a x86
    else
    APP_ABI := all
    endif

    需要设置NDK的路径注册到~/.bash_profile

    export ANDROID_HOME=/Users/jiacanli/Library/Android/sdk

    # Setting PATH for Python 3.7
    # The original version is saved in .bash_profile.pysave
    PATH="/Library/Frameworks/Python.framework/Versions/3.7/bin:${PATH}"
    PATH=${PATH}:${ANDROID_HOME}/platform-tools
    PATH=${PATH}:/Users/jiacanli/android-ndk-r13b
    export PATH
  • 相关阅读:
    springMvc接口请求参数
    ThreadLocal 结构
    遇到的问题
    jsonview的安装
    Java
    学习资源
    Java
    Java
    Java
    Java
  • 原文地址:https://www.cnblogs.com/lilei9110/p/12123594.html
Copyright © 2020-2023  润新知