Marc Planas
12/07/2023, 4:43 PMimplementation(files("./libs/spotify-app-remote-release-0.7.2.aar"))
i also added the following code into the settings.gradle.kts
flatDir {
dirs("libs")
}
if i run the command androidDependences i see this entry (which i suspect that means that its included)
/Users/XXXXX/AndroidStudioProjects/kmp/YYYY/composeApp/libs/spotify-app-remote-release-0.7.2.aar
The thing is that when it comes to the kotlin code, i cannot import the library neither use it. I don’t know what i’m doing wrong. If someone can throw some light would love them forever 😂Pablichjenkov
12/07/2023, 7:23 PMMarc Planas
12/07/2023, 7:24 PMsourceSets {
androidMain.dependencies {
Pablichjenkov
12/07/2023, 7:26 PMMarc Planas
12/07/2023, 7:28 PMPablichjenkov
12/07/2023, 7:30 PMMarc Planas
12/07/2023, 7:32 PMMarc Planas
12/07/2023, 7:33 PMimplementation(files("./src/androidMain/libs/spotify-app-remote-release-0.7.2.aar"))
?Marc Planas
12/07/2023, 7:34 PMPablichjenkov
12/07/2023, 7:50 PMlibs
in composeApp try using it in the androidApp module and check if that module androidApp has the Android Application plugin applied
id("com.android.application")
Marc Planas
12/08/2023, 11:45 AMPablichjenkov
12/08/2023, 1:09 PMMarc Planas
12/08/2023, 1:37 PMPablichjenkov
12/08/2023, 1:45 PM