diff --git a/native-activity/app/build.gradle b/native-activity/app/build.gradle index 3e3a78277..125c72256 100644 --- a/native-activity/app/build.gradle +++ b/native-activity/app/build.gradle @@ -2,6 +2,10 @@ plugins { id 'com.android.application' } +// Caution: If you add any Java or Kotlin code to this project, or if you add +// any dependencies which themselves use Java/Kotlin, you'll need to remove +// `android:hasCode` from main/AndroidManifest.xml. + android { compileSdk 33 ndkVersion '25.1.8937393' @@ -30,9 +34,3 @@ android { } namespace 'com.example.native_activity' } - -dependencies { - implementation fileTree(dir: 'libs', include: ['*.jar']) - implementation 'androidx.appcompat:appcompat:1.5.1' - implementation 'androidx.constraintlayout:constraintlayout:2.1.4' -} diff --git a/native-activity/app/src/main/AndroidManifest.xml b/native-activity/app/src/main/AndroidManifest.xml index 8698411c2..0626d44a9 100644 --- a/native-activity/app/src/main/AndroidManifest.xml +++ b/native-activity/app/src/main/AndroidManifest.xml @@ -4,7 +4,13 @@ android:versionCode="1" android:versionName="1.0"> - +