apply plugin: 'com.android.library' android { namespace 'com.led.control' compileSdkVersion rootProject.ext.compileSdkVersion defaultConfig { minSdkVersion rootProject.ext.minSdkVersion targetSdkVersion rootProject.ext.targetSdkVersion versionCode 1 versionName rootProject.ext.versionName } externalNativeBuild { cmake { path 'CMakeLists.txt' } } } dependencies { api "androidx.annotation:annotation:1.1.0" }