diff --git a/mobile_app/android/app/build.gradle.kts b/mobile_app/android/app/build.gradle.kts index e71ab24..12c4953 100644 --- a/mobile_app/android/app/build.gradle.kts +++ b/mobile_app/android/app/build.gradle.kts @@ -11,12 +11,12 @@ android { ndkVersion = flutter.ndkVersion compileOptions { - sourceCompatibility = JavaVersion.VERSION_11 - targetCompatibility = JavaVersion.VERSION_11 + sourceCompatibility = JavaVersion.VERSION_17 + targetCompatibility = JavaVersion.VERSION_17 } kotlinOptions { - jvmTarget = JavaVersion.VERSION_11.toString() + jvmTarget = JavaVersion.VERSION_17.toString() } defaultConfig { diff --git a/mobile_app/android/gradle.properties b/mobile_app/android/gradle.properties index 77a7f10..996fdcd 100644 --- a/mobile_app/android/gradle.properties +++ b/mobile_app/android/gradle.properties @@ -1,5 +1,8 @@ org.gradle.jvmargs=-Xmx8G -XX:MaxMetaspaceSize=4G -XX:ReservedCodeCacheSize=512m -XX:+HeapDumpOnOutOfMemoryError -org.gradle.java.home=C:\\Program Files\\Microsoft\\jdk-17.0.17.10-hotspot +org.gradle.java.home=C:\\Program Files\\Eclipse Adoptium\\jdk-17.0.17.10-hotspot android.useAndroidX=true android.enableJetifier=true + +systemProp.org.gradle.internal.http.connectionTimeout=120000 +systemProp.org.gradle.internal.http.socketTimeout=120000 diff --git a/mobile_app/build_log.txt b/mobile_app/build_log.txt new file mode 100644 index 0000000..2b550a6 --- /dev/null +++ b/mobile_app/build_log.txt @@ -0,0 +1,14 @@ +Running Gradle task 'assembleRelease'... + +FAILURE: Build failed with an exception. + +* What went wrong: +Value 'C:\Program Files\Microsoft\jdk-17.0.17.10-hotspot' given for org.gradle.java.home Gradle property is invalid (Java home supplied is invalid) + +* Try: +> Run with --stacktrace option to get the stack trace. +> Run with --info or --debug option to get more log output. +> Run with --scan to get full insights. +> Get more help at https://help.gradle.org. +Running Gradle task 'assembleRelease'... 1,480ms +Gradle task assembleRelease failed with exit code 1 diff --git a/mobile_app/build_log_2.txt b/mobile_app/build_log_2.txt new file mode 100644 index 0000000..701ab82 --- /dev/null +++ b/mobile_app/build_log_2.txt @@ -0,0 +1,40 @@ +Running Gradle task 'assembleRelease'... + +FAILURE: Build failed with an exception. + +* What went wrong: +Could not resolve all artifacts for configuration 'classpath'. +> Could not download tracker-31.7.3.jar (com.android.tools.analytics-library:tracker:31.7.3) + > Could not get resource 'https://dl.google.com/dl/android/maven2/com/android/tools/analytics-library/tracker/31.7.3/tracker-31.7.3.jar'. + > Read timed out + +* Try: +> Run with --stacktrace option to get the stack trace. +> Run with --info or --debug option to get more log output. +> Run with --scan to get full insights. +> Get more help at https://help.gradle.org. + +BUILD FAILED in 1m 57s +Running Gradle task 'assembleRelease'... 117.5s +[!] Gradle threw an error while downloading artifacts from the network. +Retrying Gradle Build: #1, wait time: 100ms +Running Gradle task 'assembleRelease'... + +FAILURE: Build failed with an exception. + +* What went wrong: +Could not resolve all artifacts for configuration 'classpath'. +> Could not download tracker-31.7.3.jar (com.android.tools.analytics-library:tracker:31.7.3) + > Could not get resource 'https://dl.google.com/dl/android/maven2/com/android/tools/analytics-library/tracker/31.7.3/tracker-31.7.3.jar'. + > Read timed out + +* Try: +> Run with --stacktrace option to get the stack trace. +> Run with --info or --debug option to get more log output. +> Run with --scan to get full insights. +> Get more help at https://help.gradle.org. + +BUILD FAILED in 1m 56s +Running Gradle task 'assembleRelease'... 117.2s +[!] Gradle threw an error while downloading artifacts from the network. +Gradle task assembleRelease failed with exit code 1 diff --git a/mobile_app/build_log_3.txt b/mobile_app/build_log_3.txt new file mode 100644 index 0000000..a948406 --- /dev/null +++ b/mobile_app/build_log_3.txt @@ -0,0 +1,20 @@ +Running Gradle task 'assembleRelease'... + +FAILURE: Build failed with an exception. + +* What went wrong: +Could not resolve all artifacts for configuration 'classpath'. +> Could not download tracker-31.7.3.jar (com.android.tools.analytics-library:tracker:31.7.3) + > Could not get resource 'https://dl.google.com/dl/android/maven2/com/android/tools/analytics-library/tracker/31.7.3/tracker-31.7.3.jar'. + > Read timed out + +* Try: +> Run with --stacktrace option to get the stack trace. +> Run with --info or --debug option to get more log output. +> Run with --scan to get full insights. +> Get more help at https://help.gradle.org. + +BUILD FAILED in 6m 26s +Running Gradle task 'assembleRelease'... 387.2s +[!] Gradle threw an error while downloading artifacts from the network. +Retrying Gradle Build: #1, wait time: 100ms