diff --git a/app/build.gradle b/app/build.gradle index cce0ed7..ef2b5e9 100644 --- a/app/build.gradle +++ b/app/build.gradle @@ -19,12 +19,12 @@ plugins { } android { - compileSdk 32 + compileSdk 33 defaultConfig { applicationId "com.example.superheroes" minSdk 21 - targetSdk 32 + targetSdk 33 versionCode 1 versionName "1.0" @@ -57,13 +57,17 @@ android { excludes += '/META-INF/{AL2.0,LGPL2.1}' } } + namespace 'com.example.superheroes' } dependencies { - implementation 'androidx.activity:activity-compose:1.4.0' - implementation "androidx.compose.material:material:$compose_version" - implementation "androidx.compose.ui:ui:$compose_version" - implementation "androidx.compose.ui:ui-tooling-preview:$compose_version" - implementation 'androidx.core:core-ktx:1.8.0' - debugImplementation "androidx.compose.ui:ui-tooling:$compose_version" + // Import the Compose BOM + implementation platform('androidx.compose:compose-bom:2023.01.00') + + implementation 'androidx.activity:activity-compose:1.6.1' + implementation "androidx.compose.material:material" + implementation "androidx.compose.ui:ui" + implementation "androidx.compose.ui:ui-tooling-preview" + implementation 'androidx.core:core-ktx:1.9.0' + debugImplementation "androidx.compose.ui:ui-tooling" } \ No newline at end of file diff --git a/app/src/main/AndroidManifest.xml b/app/src/main/AndroidManifest.xml index 31797bf..f59ae6c 100644 --- a/app/src/main/AndroidManifest.xml +++ b/app/src/main/AndroidManifest.xml @@ -15,8 +15,7 @@ --> + xmlns:tools="http://schemas.android.com/tools">