首先要下载NDK使用AndroidStudio下载NDK开发工具在Project Structure中配置NDK写本地java接口我在项目中只用于测试&xff0c;所以写得比较简单。package com.flyscale.signdemo.jni;Created by bian on 2018/7/23. ...
并非so生成的so库名称&xff0c;可以不写 project(TestFFmpeg) Sets the minimum version of CMake required to build the native library. cmake_minimum_required(VERSION 3.4.1) 包含指定目录的头文件 include_...
原来的项目用到了kotlin以及kapt,升级到了androidstudio 3.0报了上面的错误,需要在项目的gradle.properties中添加: android.enableAapt2=false 关闭aapt2。2.All flavors must now belong to a named flavor ...