cmake_minimum_required(VERSION 3.18.1)
project("jnidemo")
add_library(
# Sets the name of the library.
jnidemo
# Sets the library as a shared library.
SHARED
# Provides a relative path to your source file(s).
native-lib.cpp
TestCPlus.cpp
)
find_library(
# Sets the name of the path variable.
log-libxx
# Specifies the name of the NDK library that
# you want CMake to locate.
log)
target_link_libraries(
# Specifies the target library.
jnidemo
# Links the target library to the log library
# included in the NDK.
${log-libxx})
没有合适的资源?快使用搜索试试~ 我知道了~
温馨提示
简单的Jni Demo 计算器的开发 实现了加减乘除,以及字符串拼接,日志打印等简单功能 简单的Jni Demo 计算器的开发 实现了加减乘除,以及字符串拼接,日志打印等简单功能 简单的Jni Demo 计算器的开发 实现了加减乘除,以及字符串拼接,日志打印等简单功能 简单的Jni Demo 计算器的开发 实现了加减乘除,以及字符串拼接,日志打印等简单功能
资源详情
资源评论
资源推荐
收起资源包目录
JniDemo.zip (37个子文件)
JniDemo
gradlew.bat 3KB
gradlew 6KB
gradle.properties 1KB
app
proguard-rules.pro 750B
src
main
res
mipmap-xxxhdpi
ic_launcher.webp 4KB
ic_launcher_round.webp 8KB
drawable
ic_launcher_background.xml 5KB
mipmap-hdpi
ic_launcher.webp 1KB
ic_launcher_round.webp 3KB
drawable-v24
ic_launcher_foreground.xml 2KB
values
colors.xml 378B
themes.xml 1KB
strings.xml 69B
values-night
themes.xml 829B
mipmap-xxhdpi
ic_launcher.webp 3KB
ic_launcher_round.webp 6KB
mipmap-mdpi
ic_launcher.webp 982B
ic_launcher_round.webp 2KB
mipmap-xhdpi
ic_launcher.webp 2KB
ic_launcher_round.webp 4KB
mipmap-anydpi-v26
ic_launcher_round.xml 272B
ic_launcher.xml 272B
layout
activity_main.xml 2KB
cpp
native-lib.cpp 2KB
TestCPlus.cpp 318B
TestCPlus.h 1KB
CMakeLists.txt 664B
java
com
example
jnidemo
MainActivity.java 4KB
AndroidManifest.xml 788B
.gitignore 6B
build.gradle 1KB
libs
gradle
wrapper
gradle-wrapper.jar 58KB
gradle-wrapper.properties 236B
.gitignore 225B
local.properties 452B
settings.gradle 324B
build.gradle 291B
共 37 条
- 1
峥嵘life
- 粉丝: 2533
- 资源: 114
上传资源 快速赚钱
- 我的内容管理 展开
- 我的资源 快来上传第一个资源
- 我的收益 登录查看自己的收益
- 我的积分 登录查看自己的积分
- 我的C币 登录后查看C币余额
- 我的收藏
- 我的下载
- 下载帮助
安全验证
文档复制为VIP权益,开通VIP直接复制
信息提交成功
评论0