Per a prior post, as a learning opportunity I'm ch...
# kotlin-native
s
Per a prior post, as a learning opportunity I'm chasing after building a shared native library for android that links with Sqlcipher C library (Sqlite plus encryption using openssl), for android ABIs arm64-v8a and x86_64. Finding doc specific to gradle scripts for building kotlin native libraries for android ABIs has been tough, so the first attempt at build.gradle.kts for the main module named "library" is based on the sample AndroidNativeActivity subproject in the Github kotlin native samples Native activity sample build script . The project will sync, but there is a gradle warning happening during sync in the Build console that I don't know how to diagnose:
Copy code
<ij_msg_gr>Gradle import errors<ij_msg_gr><ij_nav>D:\Working\KotlinSqlcipher\library\build.gradle.kts<ij_nav><i><b>project ':library': Unable to build Kotlin project configuration</b><eol>Details: java.util.NoSuchElementException: Collection is empty.</i>
This is kotlin 1.4.20-M1 and gradle 6.6.1. Anyone know how to diagnose/fix this? Since it says nothing about which collection is empty I'm unsure how to proceed. If it is useful I can post the full build.gradle.kts for this module as a thread reply. The project has no source yet as I'm still trying to get the project structure settled, so there's nothing else to share yet. Thanks in advance for any help or info...