Giter Club home page Giter Club logo

jnidemo's Introduction

JNIDemo

这是一个Demo项目

编译so文件,当写好代码后,我们clean项目,然后在工具栏build里面选择Make Project,这是在app的build/intermediates/cmake/debug(release)/obj文件夹下生成对应的so文件

使用 NDK 编译代码主要有三种方法:

基于 Make 的 ndk-build。

CMake。需要了解Cmake配置,以及Cmake指南

独立工具链,用于与其他构建系统集成,或与基于 configure 的项目搭配使用。

其他参考资料

1、好人翻译的中文版Cmake手册

2、Cmake英文手册

1)、cmake_minimum_required

2)、add_library

3)、find_library

4)、target_link_libraries

jnidemo's People

Contributors

ytpeng105 avatar

Stargazers

 avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.