diff --git a/.metadata b/.metadata
index 262ceed..24a13c1 100644
--- a/.metadata
+++ b/.metadata
@@ -1,11 +1,11 @@
# This file tracks properties of this Flutter project.
# Used by Flutter tool to assess capabilities and perform upgrades etc.
#
-# This file should be version controlled.
+# This file should be version controlled and should not be manually edited.
version:
- revision: 135454af32477f815a7525073027a3ff9eff1bfd
- channel: stable
+ revision: "bae5e49bc2a867403c43b2aae2de8f8c33b037e4"
+ channel: "stable"
project_type: app
@@ -13,26 +13,26 @@ project_type: app
migration:
platforms:
- platform: root
- create_revision: 135454af32477f815a7525073027a3ff9eff1bfd
- base_revision: 135454af32477f815a7525073027a3ff9eff1bfd
+ create_revision: bae5e49bc2a867403c43b2aae2de8f8c33b037e4
+ base_revision: bae5e49bc2a867403c43b2aae2de8f8c33b037e4
- platform: android
- create_revision: 135454af32477f815a7525073027a3ff9eff1bfd
- base_revision: 135454af32477f815a7525073027a3ff9eff1bfd
+ create_revision: bae5e49bc2a867403c43b2aae2de8f8c33b037e4
+ base_revision: bae5e49bc2a867403c43b2aae2de8f8c33b037e4
- platform: ios
- create_revision: 135454af32477f815a7525073027a3ff9eff1bfd
- base_revision: 135454af32477f815a7525073027a3ff9eff1bfd
+ create_revision: bae5e49bc2a867403c43b2aae2de8f8c33b037e4
+ base_revision: bae5e49bc2a867403c43b2aae2de8f8c33b037e4
- platform: linux
- create_revision: 135454af32477f815a7525073027a3ff9eff1bfd
- base_revision: 135454af32477f815a7525073027a3ff9eff1bfd
+ create_revision: bae5e49bc2a867403c43b2aae2de8f8c33b037e4
+ base_revision: bae5e49bc2a867403c43b2aae2de8f8c33b037e4
- platform: macos
- create_revision: 135454af32477f815a7525073027a3ff9eff1bfd
- base_revision: 135454af32477f815a7525073027a3ff9eff1bfd
+ create_revision: bae5e49bc2a867403c43b2aae2de8f8c33b037e4
+ base_revision: bae5e49bc2a867403c43b2aae2de8f8c33b037e4
- platform: web
- create_revision: 135454af32477f815a7525073027a3ff9eff1bfd
- base_revision: 135454af32477f815a7525073027a3ff9eff1bfd
+ create_revision: bae5e49bc2a867403c43b2aae2de8f8c33b037e4
+ base_revision: bae5e49bc2a867403c43b2aae2de8f8c33b037e4
- platform: windows
- create_revision: 135454af32477f815a7525073027a3ff9eff1bfd
- base_revision: 135454af32477f815a7525073027a3ff9eff1bfd
+ create_revision: bae5e49bc2a867403c43b2aae2de8f8c33b037e4
+ base_revision: bae5e49bc2a867403c43b2aae2de8f8c33b037e4
# User provided section
diff --git a/android/app/build.gradle b/android/app/build.gradle
index becbd6b..69770e7 100644
--- a/android/app/build.gradle
+++ b/android/app/build.gradle
@@ -1,3 +1,9 @@
+plugins {
+ id "com.android.application"
+ id "kotlin-android"
+ id "dev.flutter.flutter-gradle-plugin"
+}
+
def localProperties = new Properties()
def localPropertiesFile = rootProject.file('local.properties')
if (localPropertiesFile.exists()) {
@@ -6,11 +12,6 @@ if (localPropertiesFile.exists()) {
}
}
-def flutterRoot = localProperties.getProperty('flutter.sdk')
-if (flutterRoot == null) {
- throw new GradleException("Flutter SDK not found. Define location with flutter.sdk in the local.properties file.")
-}
-
def flutterVersionCode = localProperties.getProperty('flutter.versionCode')
if (flutterVersionCode == null) {
flutterVersionCode = '1'
@@ -21,12 +22,9 @@ if (flutterVersionName == null) {
flutterVersionName = '1.0'
}
-apply plugin: 'com.android.application'
-apply plugin: 'kotlin-android'
-apply from: "$flutterRoot/packages/flutter_tools/gradle/flutter.gradle"
-
android {
- compileSdkVersion flutter.compileSdkVersion
+ namespace "com.example.genshin_gacha_analysis"
+ compileSdk flutter.compileSdkVersion
ndkVersion flutter.ndkVersion
compileOptions {
@@ -44,10 +42,10 @@ android {
defaultConfig {
// TODO: Specify your own unique Application ID (https://developer.android.com/studio/build/application-id.html).
- applicationId "com.example.genshin_wish_analysis"
+ applicationId "com.example.genshin_gacha_analysis"
// You can update the following values to match your application needs.
- // For more information, see: https://docs.flutter.dev/deployment/android#reviewing-the-build-configuration.
- minSdkVersion 19
+ // For more information, see: https://docs.flutter.dev/deployment/android#reviewing-the-gradle-build-configuration.
+ minSdkVersion flutter.minSdkVersion
targetSdkVersion flutter.targetSdkVersion
versionCode flutterVersionCode.toInteger()
versionName flutterVersionName
@@ -66,6 +64,4 @@ flutter {
source '../..'
}
-dependencies {
- implementation "org.jetbrains.kotlin:kotlin-stdlib-jdk7:$kotlin_version"
-}
+dependencies {}
diff --git a/android/app/src/debug/AndroidManifest.xml b/android/app/src/debug/AndroidManifest.xml
index ffb4072..399f698 100644
--- a/android/app/src/debug/AndroidManifest.xml
+++ b/android/app/src/debug/AndroidManifest.xml
@@ -1,5 +1,4 @@
-
+
+ the Android process has started. This theme is visible to the user
+ while the Flutter UI initializes. After that, this theme continues
+ to determine the Window background behind the Flutter UI. -->
+ android:name="io.flutter.embedding.android.NormalTheme"
+ android:resource="@style/NormalTheme"
+ />
-
-
+
+
+ This is used by the Flutter tool to generate GeneratedPluginRegistrant.java -->
+
+
+
+
+
+
+
-
\ No newline at end of file
+
+
diff --git a/android/app/src/main/kotlin/com/example/genshin_gacha_analysis/MainActivity.kt b/android/app/src/main/kotlin/com/example/genshin_gacha_analysis/MainActivity.kt
new file mode 100644
index 0000000..ce2a58d
--- /dev/null
+++ b/android/app/src/main/kotlin/com/example/genshin_gacha_analysis/MainActivity.kt
@@ -0,0 +1,5 @@
+package com.example.genshin_gacha_analysis
+
+import io.flutter.embedding.android.FlutterActivity
+
+class MainActivity: FlutterActivity()
diff --git a/android/app/src/main/kotlin/com/example/genshin_wish_analysis/MainActivity.kt b/android/app/src/main/kotlin/com/example/genshin_wish_analysis/MainActivity.kt
deleted file mode 100644
index fc41069..0000000
--- a/android/app/src/main/kotlin/com/example/genshin_wish_analysis/MainActivity.kt
+++ /dev/null
@@ -1,6 +0,0 @@
-package com.example.genshin_wish_analysis
-
-import io.flutter.embedding.android.FlutterActivity
-
-class MainActivity: FlutterActivity() {
-}
diff --git a/android/app/src/profile/AndroidManifest.xml b/android/app/src/profile/AndroidManifest.xml
index ffb4072..399f698 100644
--- a/android/app/src/profile/AndroidManifest.xml
+++ b/android/app/src/profile/AndroidManifest.xml
@@ -1,5 +1,4 @@
-
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ genshin_gacha_analysis
+
+
+
+
+
+
+
+
+
+