I have in my project a mobile application and a wear os application coexisting, everything works correctly, but every time I synchronize with Gradle, I get the following warning
wearApp configuration is deprecated and planned to be removed in AGP 9.0. Please do not add any dependencies to it.
I have not found any information about why I have to replace it. I have tried with implementation, but when I configure it this way and try to compile, the application tells me that I must configure the dynamicFeatures, but as far as I know my app does not use them nor is there any trace of them, why does it detect that wear is a dynamic feature, what can I do to remove this warning? My gradle file of the app module in the dependencies block looks like this:
dependencies {
wearApp(project(":wearable"))
implementation(libs.androidx.core.ktx)
implementation(libs.androidx.lifecycle.runtime.ktx)
implementation(libs.androidx.activitypose)
implementation(platform(libs.androidxpose.bom))
implementation(libs.ui.core)
implementation(libs.androidx.ui.graphics)
implementation(libs.androidx.ui.tooling.preview)
implementation(libs.androidx.material3)
testImplementation(libs.junit)
androidTestImplementation(libs.androidx.junit)
androidTestImplementation(libs.androidx.espresso.core)
androidTestImplementation(platform(libs.androidxpose.bom))
androidTestImplementation(libs.androidx.ui.test.junit4)
debugImplementation(libs.androidx.ui.tooling)
debugImplementation(libs.androidx.ui.test.manifest)
}