摘要: 建一个Native-cpp工程 1、引入android库的方法 CMakeLists.txt cmake_minimum_required(VERSION 3.4.1) add_library( # Sets the name of the library. native-lib # Sets th 阅读全文
posted @ 2021-08-23 09:33 cnchengv 阅读(34) 评论(0) 推荐(0) 编辑
摘要: 好像这种方式不用再装cygwin了(编译ffmpeg之类还是需要的) 1、先装ndk,和cmake,勾选 show package details可以选择装什么版本 2、配置地址 在菜单“file”中选择“project structure”选项,按图片中的步骤即可以解决标题中的问题: 配置ndk地 阅读全文
posted @ 2021-08-23 09:26 cnchengv 阅读(56) 评论(0) 推荐(0) 编辑