-
Notifications
You must be signed in to change notification settings - Fork 131
Description
Description
Warnings
AGP update recommended
There is this new Android Gradle Plugin (AGP) warning present since the recent upgrade to support Android SDK 34 (#1856, #1880).
We recommend using a newer Android Gradle plugin to use compileSdk = 34
This Android Gradle plugin (7.4.2) was tested up to compileSdk = 33
This warning can be suppressed by adding
android.suppressUnsupportedCompileSdk=34
to this project's gradle.propertiesThe build will continue, but you are strongly encouraged to update your project to use a newer Android Gradle Plugin that has been tested with compileSdk = 34

Deprecated attribute in AndroidManifest.xml
And there's also one older yet related warning thrown by the manifest processing task.
package="com.smartdevicelink"
found in sourceAndroidManifest.xml:…/sdl_java_suite/android/sdl_android/src/main/AndroidManifest.xml
.
Setting the namespace via a source AndroidManifest.xml's package attribute is deprecated.
Please instead set thenamespace
(ortestNamespace
) in the module'sbuild.gradle
file, as described here: https://developer.android.com/studio/build/configure-app-module#set-namespace
This migration can be done automatically using the AGP Upgrade Assistant, please refer to https://developer.android.com/studio/build/agp-upgrade-assistant for more information.

Impact
Users of the sdl_android
module who link the module source code are affected by the deprecated attribute in AndroidManifest.xml warning and because of that they cannot upgrade their project's AGP to 8+ versions without any custom modifications to the sdl_android
module's source code.