AAR 檔案錯誤:Direct local .aar file dependencies are not supported when building an AAR.

jing砸鸭發表於2024-08-11

新建一個module,將aar檔案移入,並新增檔案:

// build.gradle.kts
configurations.maybeCreate("default")
artifacts.add("default",file("tts_server_lib.aar"))

引用:

implementation(project(":lib-gojni-aar", configuration = "default"))

相關文章