Skip to content
This repository has been archived by the owner on Oct 18, 2024. It is now read-only.

[Bug]: Completions not work caused by "invaild compileOptions" #1800

Open
5 tasks done
Libamidi opened this issue May 8, 2024 · 1 comment
Open
5 tasks done

[Bug]: Completions not work caused by "invaild compileOptions" #1800

Libamidi opened this issue May 8, 2024 · 1 comment
Labels
bug Something isn't working

Comments

@Libamidi
Copy link

Libamidi commented May 8, 2024

Issue Checklist

  • I confirm that this issue is not a duplicate and hasn't been reported before.
  • I agree to follow the project's code of conduct.
  • I have checked and verified that I am using the latest version of AndroidIDE from GitHub or F-Droid.

Additional terms

  • I understand that providing incomplete or inaccurate information may result in the issue being closed.
  • I agree to provide all requested details promptly for a comprehensive bug report.

Issue explanation

Add the following code to the app/build.gradle.kts file

android {
    compileOptions {
        sourceCompatibility = JavaVersion.VERSION_21
        targetCompatibility = JavaVersion.VERSION_21
    }
}

And sync the project.

Expected behavior

Not crashed, and the completions work.

Version name

Version : v2.7.1-beta (27102)
CI Build : true
Branch : dev
Commit : 53a2d63
Variant : arm64-v8a (release)
Build type : OFFICIAL
F-Droid Build : false
F-Droid Version : null
F-Droid Version code : -1
SDK Version : 30
Supported ABIs : [arm64-v8a, armeabi-v7a, armeabi]
Manufacturer : OPPO
Device : PCHM30

Download source

GitHub

Relevant log output

09-05 03:25:29.112  INFO [main] BaseEditorActivity:  Connected to Gradle build service
09-05 03:25:29.133  INFO [DefaultDispatcher-worker-7] ToolingServerRunner:  Starting tooling API server...
09-05 03:25:29.180 DEBUG [DefaultDispatcher-worker-7] BaseEditorActivity:  No variant selection information available. Default build variants will be selected.
09-05 03:25:29.181 DEBUG [DefaultDispatcher-worker-7] BaseEditorActivity:  Is project initialized: false
09-05 03:25:29.182 DEBUG [DefaultDispatcher-worker-7] BaseEditorActivity:  Sending init request to tooling server..
09-05 03:25:29.500 DEBUG [main] BaseEditorActivity:  onBuildStatusChanged: isInitializing: true, isBuildInProgress: false
09-05 03:25:32.969 DEBUG [pool-5-thread-1] Main:  Server started. Will run until shutdown message is received...
09-05 03:25:32.975 DEBUG [pool-5-thread-1] Main:  Running on Java version: 21.0.1-internal
09-05 03:25:33.061 DEBUG [pool-5-thread-1] ToolingApiServerImpl:  Received project initialization request with params: InitializeProjectParams(directory=xxx, gradleDistribution=GradleDistributionParams(type=GRADLE_WRAPPER, value=), androidParams=AndroidInitializationParams(variantSelections={}))
09-05 03:25:33.063  INFO [pool-5-thread-1] Main:  Checking gradle wrapper availability...
09-05 03:25:33.078  INFO [pool-5-thread-1] Main:  Gradle wrapper is available
09-05 03:25:33.321  INFO [pool-5-thread-1] ToolingApiServerImpl:  Using Gradle wrapper for build...
09-05 03:25:33.325 DEBUG [pool-5-thread-1] StopWatch:  Connector created in 238ms
09-05 03:25:33.346 DEBUG [pool-5-thread-1] GradleConnector:  Connecting from tooling API consumer version 8.6
09-05 03:25:33.376 DEBUG [main] BaseEditorActivity:  onBuildStatusChanged: isInitializing: true, isBuildInProgress: true
09-05 03:25:33.425 DEBUG [pool-5-thread-1] StopWatch:  Project connection established in 102ms
09-05 03:25:33.521 DEBUG [pool-5-thread-1] Main:  Arguments from tooling client: [--init-script, /data/data/com.itsaky.androidide/files/home/.androidide/init/init.gradle, -Pandroid.aapt2FromMavenOverride=/data/data/com.itsaky.androidide/files/home/.androidide/aapt2, -Pandroidide.logsender.isEnabled=false, --stacktrace, --warning-mode, all, --build-cache]
09-05 03:25:33.537  WARN [pool-5-thread-1] RootModelBuilder:  Starting build. See build output for more details...
09-05 03:25:34.146 DEBUG [pool-5-thread-1] DefaultToolingImplementationLoader:  Using tooling provider from Gradle distribution 'https://mirrors.cloud.tencent.com/gradle/gradle-8.7-bin.zip'
09-05 03:25:34.165 DEBUG [pool-5-thread-1] DefaultToolingImplementationLoader:  Using tooling provider classpath: [/data/data/com.itsaky.androidide/files/home/.gradle/wrapper/dists/gradle-8.7-bin/af3un6e4ivqgjcdo5lfa5efog/gradle-8.7/lib/HikariCP-4.0.3.jar, /data/data/com.itsaky.androidide/files/home/.gradle/wrapper/dists/gradle-8.7-bin/af3un6e4ivqgjcdo5lfa5efog/gradle-8.7/lib/annotations-24.0.1.jar, /data/data/com.itsaky.androidide/files/home/.gradle/wrapper/dists/gradle-8.7-bin/af3un6e4ivqgjcdo5lfa5efog/gradle-8.7/lib/ant-1.10.13.jar, /data/data/com.itsaky.androidide/files/home/.gradle/wrapper/dists/gradle-8.7-bin/af3un6e4ivqgjcdo5lfa5efog/gradle-8.7/lib/ant-antlr-1.10.12.jar, /data/data/com.itsaky.androidide/files/home/.gradle/wrapper/dists/gradle-8.7-bin/af3un6e4ivqgjcdo5lfa5efog/gradle-8.7/lib/ant-junit-1.10.13.jar, /data/data/com.itsaky.androidide/files/home/.gradle/wrapper/dists/gradle-8.7-bin/af3un6e4ivqgjcdo5lfa5efog/gradle-8.7/lib/ant-launcher-1.10.13.jar, /data/data/com.itsaky.androidide/files/home/.gradle/wrapper/dists/gradle-8.7-bin/af3un6e4ivqgjcdo5lfa5efog/gradle-8.7/lib/antlr4-runtime-4.7.2.jar, /data/data/com.itsaky.androidide/files/home/.gradle/wrapper/dists/gradle-8.7-bin/af3un6e4ivqgjcdo5lfa5efog/gradle-8.7/lib/asm-9.6.jar, /data/data/com.itsaky.androidide/files/home/.gradle/wrapper/dists/gradle-8.7-bin/af3un6e4ivqgjcdo5lfa5efog/gradle-8.7/lib/asm-commons-9.6.jar, /data/data/com.itsaky.androidide/files/home/.gradle/wrapper/dists/gradle-8.7-bin/af3un6e4ivqgjcdo5lfa5efog/gradle-8.7/lib/asm-tree-9.6.jar, /data/data/com.itsaky.androidide/files/home/.gradle/wrapper/dists/gradle-8.7-bin/af3un6e4ivqgjcdo5lfa5efog/gradle-8.7/lib/commons-compress-1.25.0.jar, /data/data/com.itsaky.androidide/files/home/.gradle/wrapper/dists/gradle-8.7-bin/af3un6e4ivqgjcdo5lfa5efog/gradle-8.7/lib/commons-io-2.11.0.jar, /data/data/com.itsaky.androidide/files/home/.gradle/wrapper/dists/gradle-8.7-bin/af3un6e4ivqgjcdo5lfa5efog/gradle-8.7/lib/commons-lang-2.6.jar, /data/data/com.itsaky.androidide/files/home/.gradle/wrapper/dists/gradle-8.7-bin/af3un6e4ivqgjcdo5lfa5efog/gradle-8.7/lib/failureaccess-1.0.1.jar, /data/data/com.itsaky.androidide/files/home/.gradle/wrapper/dists/gradle-8.7-bin/af3un6e4ivqgjcdo5lfa5efog/gradle-8.7/lib/fastutil-8.5.2-min.jar, /data/data/com.itsaky.androidide/files/home/.gradle/wrapper/dists/gradle-8.7-bin/af3un6e4ivqgjcdo5lfa5efog/gradle-8.7/lib/file-events-0.22-milestone-25.jar, /data/data/com.itsaky.androidide/files/home/.gradle/wrapper/dists/gradle-8.7-bin/af3un6e4ivqgjcdo5lfa5efog/gradle-8.7/lib/file-events-linux-aarch64-0.22-milestone-25.jar, /data/data/com.itsaky.androidide/files/home/.gradle/wrapper/dists/gradle-8.7-bin/af3un6e4ivqgjcdo5lfa5efog/gradle-8.7/lib/file-events-linux-amd64-0.22-milestone-25.jar, /data/data/com.itsaky.androidide/files/home/.gradle/wrapper/dists/gradle-8.7-bin/af3un6e4ivqgjcdo5lfa5efog/gradle-8.7/lib/file-events-osx-aarch64-0.22-milestone-25.jar, /data/data/com.itsaky.androidide/files/home/.gradle/wrapper/dists/gradle-8.7-bin/af3un6e4ivqgjcdo5lfa5efog/gradle-8.7/lib/file-events-osx-amd64-0.22-milestone-25.jar, /data/data/com.itsaky.androidide/files/home/.gradle/wrapper/dists/gradle-8.7-bin/af3un6e4ivqgjcdo5lfa5efog/gradle-8.7/lib/file-events-windows-amd64-0.22-milestone-25.jar, /data/data/com.itsaky.androidide/files/home/.gradle/wrapper/dists/gradle-8.7-bin/af3un6e4ivqgjcdo5lfa5efog/gradle-8.7/lib/file-events-windows-amd64-min-0.22-milestone-25.jar, /data/data/com.itsaky.androidide/files/home/.gradle/wrapper/dists/gradle-8.7-bin/af3un6e4ivqgjcdo5lfa5efog/gradle-8.7/lib/file-events-windows-i386-0.22-milestone-25.jar, /data/data/com.itsaky.androidide/files/home/.gradle/wrapper/dists/gradle-8.7-bin/af3un6e4ivqgjcdo5lfa5efog/gradle-8.7/lib/file-events-windows-i386-min-0.22-milestone-25.jar, /data/data/com.itsaky.androidide/files/home/.gradle/wrapper/dists/gradle-8.7-bin/af3un6e4ivqgjcdo5lfa5efog/gradle-8.7/lib/gradle-api-metadata-8.7.jar, /data/data/com.itsaky.androidide/files/home/.gradle/wrapper/dists/gradle-8.7-bin/af3un6e4ivqgjcdo5lfa5efog/gradle-8.7/lib/gradle-base-annotations-8.7.jar, /data/data/com.itsaky.androidide/files/home/.gradle/wrapper/dists/gradle-8.7-bin/af3un6e4ivqgjcdo5lfa5efog/gradle-8.7/lib/gradle-base-services-8.7.jar, /data/data/com.itsaky.androidide/files/home/.gradle/wrapper/dists/gradle-8.7-bin/af3un6e4ivqgjcdo5lfa5efog/gradle-8.7/lib/gradle-base-services-groovy-8.7.jar, /data/data/com.itsaky.androidide/files/home/.gradle/wrapper/dists/gradle-8.7-bin/af3un6e4ivqgjcdo5lfa5efog/gradle-8.7/lib/gradle-bootstrap-8.7.jar, /data/data/com.itsaky.androidide/files/home/.gradle/wrapper/dists/gradle-8.7-bin/af3un6e4ivqgjcdo5lfa5efog/gradle-8.7/lib/gradle-build-cache-8.7.jar, /data/data/com.itsaky.androidide/files/home/.gradle/wrapper/dists/gradle-8.7-bin/af3un6e4ivqgjcdo5lfa5efog/gradle-8.7/lib/gradle-build-cache-base-8.7.jar, /data/data/com.itsaky.androidide/files/home/.gradle/wrapper/dists/gradle-8.7-bin/af3un6e4ivqgjcdo5lfa5efog/gradle-8.7/lib/gradle-build-cache-local-8.7.jar, /data/data/com.itsaky.androidide/files/home/.gradle/wrapper/dists/gradle-8.7-bin/af3un6e4ivqgjcdo5lfa5efog/gradle-8.7/lib/gradle-build-cache-packaging-8.7.jar, /data/data/com.itsaky.androidide/files/home/.gradle/wrapper/dists/gradle-8.7-bin/af3un6e4ivqgjcdo5lfa5efog/gradle-8.7/lib/gradle-build-cache-spi-8.7.jar, /data/data/com.itsaky.androidide/files/home/.gradle/wrapper/dists/gradle-8.7-bin/af3un6e4ivqgjcdo5lfa5efog/gradle-8.7/lib/gradle-build-events-8.7.jar, /data/data/com.itsaky.androidide/files/home/.gradle/wrapper/dists/gradle-8.7-bin/af3un6e4ivqgjcdo5lfa5efog/gradle-8.7/lib/gradle-build-operations-8.7.jar, /data/data/com.itsaky.androidide/files/home/.gradle/wrapper/dists/gradle-8.7-bin/af3un6e4ivqgjcdo5lfa5efog/gradle-8.7/lib/gradle-build-option-8.7.jar, /data/data/com.itsaky.androidide/files/home/.gradle/wrapper/dists/gradle-8.7-bin/af3un6e4ivqgjcdo5lfa5efog/gradle-8.7/lib/gradle-cli-8.7.jar, /data/data/com.itsaky.androidide/files/home/.gradle/wrapper/dists/gradle-8.7-bin/af3un6e4ivqgjcdo5lfa5efog/gradle-8.7/lib/gradle-core-8.7.jar, /data/data/com.itsaky.androidide/files/home/.gradle/wrapper/dists/gradle-8.7-bin/af3un6e4ivqgjcdo5lfa5efog/gradle-8.7/lib/gradle-core-api-8.7.jar, /data/data/com.itsaky.androidide/files/home/.gradle/wrapper/dists/gradle-8.7-bin/af3un6e4ivqgjcdo5lfa5efog/gradle-8.7/lib/gradle-enterprise-logging-8.7.jar, /data/data/com.itsaky.androidide/files/home/.gradle/wrapper/dists/gradle-8.7-bin/af3un6e4ivqgjcdo5lfa5efog/gradle-8.7/lib/gradle-enterprise-operations-8.7.jar, /data/data/com.itsaky.androidide/files/home/.gradle/wrapper/dists/gradle-8.7-bin/af3un6e4ivqgjcdo5lfa5efog/gradle-8.7/lib/gradle-enterprise-workers-8.7.jar, /data/data/com.itsaky.androidide/files/home/.gradle/wrapper/dists/gradle-8.7-bin/af3un6e4ivqgjcdo5lfa5efog/gradle-8.7/lib/gradle-execution-8.7.jar, /data/data/com.itsaky.androidide/files/home/.gradle/wrapper/dists/gradle-8.7-bin/af3un6e4ivqgjcdo5lfa5efog/gradle-8.7/lib/gradle-file-collections-8.7.jar, /data/data/com.itsaky.androidide/files/home/.gradle/wrapper/dists/gradle-8.7-bin/af3un6e4ivqgjcdo5lfa5efog/gradle-8.7/lib/gradle-file-temp-8.7.jar, /data/data/com.itsaky.androidide/files/home/.gradle/wrapper/dists/gradle-8.7-bin/af3un6e4ivqgjcdo5lfa5efog/gradle-8.7/lib/gradle-file-watching-8.7.jar, /data/data/com.itsaky.androidide/files/home/.gradle/wrapper/dists/gradle-8.7-bin/af3un6e4ivqgjcdo5lfa5efog/gradle-8.7/lib/gradle-files-8.7.jar, /data/data/com.itsaky.androidide/files/home/.gradle/wrapper/dists/gradle-8.7-bin/af3un6e4ivqgjcdo5lfa5efog/gradle-8.7/lib/gradle-functional-8.7.jar, /data/data/com.itsaky.androidide/files/home/.gradle/wrapper/dists/gradle-8.7-bin/af3un6e4ivqgjcdo5lfa5efog/gradle-8.7/lib/gradle-hashing-8.7.jar, /data/data/com.itsaky.androidide/files/home/.gradle/wrapper/dists/gradle-8.7-bin/af3un6e4ivqgjcdo5lfa5efog/gradle-8.7/lib/gradle-input-tracking-8.7.jar, /data/data/com.itsaky.androidide/files/home/.gradle/wrapper/dists/gradle-8.7-bin/af3un6e4ivqgjcdo5lfa5efog/gradle-8.7/lib/gradle-installation-beacon-8.7.jar, /data/data/com.itsaky.androidide/files/home/.gradle/wrapper/dists/gradle-8.7-bin/af3un6e4ivqgjcdo5lfa5efog/gradle-8.7/lib/gradle-internal-instrumentation-api-8.7.jar, /data/data/com.itsaky.androidide/files/home/.gradle/wrapper/dists/gradle-8.7-bin/af3un6e4ivqgjcdo5lfa5efog/gradle-8.7/lib/gradle-jvm-services-8.7.jar, /data/data/com.itsaky.androidide/files/home/.gradle/wrapper/dists/gradle-8.7-bin/af3un6e4ivqgjcdo5lfa5efog/gradle-8.7/lib/gradle-kotlin-dsl-8.7.jar, /data/data/com.itsaky.androidide/files/home/.gradle/wrapper/dists/gradle-8.7-bin/af3un6e4ivqgjcdo5lfa5efog/gradle-8.7/lib/gradle-kotlin-dsl-extensions-8.7.jar, /data/data/com.itsaky.androidide/files/home/.gradle/wrapper/dists/gradle-8.7-bin/af3un6e4ivqgjcdo5lfa5efog/gradle-8.7/lib/gradle-kotlin-dsl-shared-runtime-8.7.jar, /data/data/com.itsaky.androidide/files/home/.gradle/wrapper/dists/gradle-8.7-bin/af3un6e4ivqgjcdo5lfa5efog/gradle-8.7/lib/gradle-kotlin-dsl-tooling-models-8.7.jar, /data/data/com.itsaky.androidide/files/home/.gradle/wrapper/dists/gradle-8.7-bin/af3un6e4ivqgjcdo5lfa5efog/gradle-8.7/lib/gradle-launcher-8.7.jar, /data/data/com.itsaky.androidide/files/home/.gradle/wrapper/dists/gradle-8.7-bin/af3un6e4ivqgjcdo5lfa5efog/gradle-8.7/lib/gradle-logging-8.7.jar, /data/data/com.itsaky.androidide/files/home/.gradle/wrapper/dists/gradle-8.7-bin/af3un6e4ivqgjcdo5lfa5efog/gradle-8.7/lib/gradle-logging-api-8.7.jar, /data/data/com.itsaky.androidide/files/home/.gradle/wrapper/dists/gradle-8.7-bin/af3un6e4ivqgjcdo5lfa5efog/gradle-8.7/lib/gradle-messaging-8.7.jar, /data/data/com.itsaky.androidide/files/home/.gradle/wrapper/dists/gradle-8.7-bin/af3un6e4ivqgjcdo5lfa5efog/gradle-8.7/lib/gradle-model-core-8.7.jar, /data/data/com.itsaky.androidide/files/home/.gradle/wrapper/dists/gradle-8.7-bin/af3un6e4ivqgjcdo5lfa5efog/gradle-8.7/lib/gradle-model-groovy-8.7.jar, /data/data/com.itsaky.androidide/files/home/.gradle/wrapper/dists/gradle-8.7-bin/af3un6e4ivqgjcdo5lfa5efog/gradle-8.7/lib/gradle-native-8.7.jar, /data/data/com.itsaky.androidide/files/home/.gradle/wrapper/dists/gradle-8.7-bin/af3un6e4ivqgjcdo5lfa5efog/gradle-8.7/lib/gradle-normalization-java-8.7.jar, /data/data/com.itsaky.androidide/files/home/.gradle/wrapper/dists/gradle-8.7-bin/af3un6e4ivqgjcdo5lfa5efog/gradle-8.7/lib/gradle-persistent-cache-8.7.jar, /data/data/com.itsaky.androidide/files/home/.gradle/wrapper/dists/gradle-8.7-bin/af3un6e4ivqgjcdo5lfa5efog/gradle-8.7/lib/gradle-problems-8.7.jar, /data/data/com.itsaky.androidide/files/home/.gradle/wrapper/dists/gradle-8.7-bin/af3un6e4ivqgjcdo5lfa5efog/gradle-8.7/lib/gradle-problems-api-8.7.jar, /data/data/com.itsaky.androidide/files/home/.gradle/wrapper/dists/gradle-8.7-bin/af3un6e4ivqgjcdo5lfa5efog/gradle-8.7/lib/gradle-process-services-8.7.jar, /data/data/com.itsaky.androidide/files/home/.gradle/wrapper/dists/gradle-8.7-bin/af3un6e4ivqgjcdo5lfa5efog/gradle-8.7/lib/gradle-resources-8.7.jar, /data/data/com.itsaky.androidide/files/home/.gradle/wrapper/dists/gradle-8.7-bin/af3un6e4ivqgjcdo5lfa5efog/gradle-8.7/lib/gradle-runtime-api-info-8.7.jar, /data/data/com.itsaky.androidide/files/home/.gradle/wrapper/dists/gradle-8.7-bin/af3un6e4ivqgjcdo5lfa5efog/gradle-8.7/lib/gradle-snapshots-8.7.jar, /data/data/com.itsaky.androidide/files/home/.gradle/wrapper/dists/gradle-8.7-bin/af3un6e4ivqgjcdo5lfa5efog/gradle-8.7/lib/gradle-tooling-api-8.7.jar, /data/data/com.itsaky.androidide/files/home/.gradle/wrapper/dists/gradle-8.7-bin/af3un6e4ivqgjcdo5lfa5efog/gradle-8.7/lib/gradle-worker-processes-8.7.jar, /data/data/com.itsaky.androidide/files/home/.gradle/wrapper/dists/gradle-8.7-bin/af3un6e4ivqgjcdo5lfa5efog/gradle-8.7/lib/gradle-worker-services-8.7.jar, /data/data/com.itsaky.androidide/files/home/.gradle/wrapper/dists/gradle-8.7-bin/af3un6e4ivqgjcdo5lfa5efog/gradle-8.7/lib/gradle-wrapper-shared-8.7.jar, /data/data/com.itsaky.androidide/files/home/.gradle/wrapper/dists/gradle-8.7-bin/af3un6e4ivqgjcdo5lfa5efog/gradle-8.7/lib/groovy-3.0.17.jar, /data/data/com.itsaky.androidide/files/home/.gradle/wrapper/dists/gradle-8.7-bin/af3un6e4ivqgjcdo5lfa5efog/gradle-8.7/lib/groovy-ant-3.0.17.jar, /data/data/com.itsaky.androidide/files/home/.gradle/wrapper/dists/gradle-8.7-bin/af3un6e4ivqgjcdo5lfa5efog/gradle-8.7/lib/groovy-astbuilder-3.0.17.jar, /data/data/com.itsaky.androidide/files/home/.gradle/wrapper/dists/gradle-8.7-bin/af3un6e4ivqgjcdo5lfa5efog/gradle-8.7/lib/groovy-console-3.0.17.jar, /data/data/com.itsaky.androidide/files/home/.gradle/wrapper/dists/gradle-8.7-bin/af3un6e4ivqgjcdo5lfa5efog/gradle-8.7/lib/groovy-datetime-3.0.17.jar, /data/data/com.itsaky.androidide/files/home/.gradle/wrapper/dists/gradle-8.7-bin/af3un6e4ivqgjcdo5lfa5efog/gradle-8.7/lib/groovy-dateutil-3.0.17.jar, /data/data/com.itsaky.androidide/files/home/.gradle/wrapper/dists/gradle-8.7-bin/af3un6e4ivqgjcdo5lfa5efog/gradle-8.7/lib/groovy-docgenerator-3.0.17.jar, /data/data/com.itsaky.androidide/files/home/.gradle/wrapper/dists/gradle-8.7-bin/af3un6e4ivqgjcdo5lfa5efog/gradle-8.7/lib/groovy-groovydoc-3.0.17.jar, /data/data/com.itsaky.androidide/files/home/.gradle/wrapper/dists/gradle-8.7-bin/af3un6e4ivqgjcdo5lfa5efog/gradle-8.7/lib/groovy-json-3.0.17.jar, /data/data/com.itsaky.androidide/files/home/.gradle/wrapper/dists/gradle-8.7-bin/af3un6e4ivqgjcdo5lfa5efog/gradle-8.7/lib/groovy-nio-3.0.17.jar, /data/data/com.itsaky.androidide/files/home/.gradle/wrapper/dists/gradle-8.7-bin/af3un6e4ivqgjcdo5lfa5efog/gradle-8.7/lib/groovy-sql-3.0.17.jar, /data/data/com.itsaky.androidide/files/home/.gradle/wrapper/dists/gradle-8.7-bin/af3un6e4ivqgjcdo5lfa5efog/gradle-8.7/lib/groovy-swing-3.0.17.jar, /data/data/com.itsaky.androidide/files/home/.gradle/wrapper/dists/gradle-8.7-bin/af3un6e4ivqgjcdo5lfa5efog/gradle-8.7/lib/groovy-templates-3.0.17.jar, /data/data/com.itsaky.androidide/files/home/.gradle/wrapper/dists/gradle-8.7-bin/af3un6e4ivqgjcdo5lfa5efog/gradle-8.7/lib/groovy-test-3.0.17.jar, /data/data/com.itsaky.androidide/files/home/.gradle/wrapper/dists/gradle-8.7-bin/af3un6e4ivqgjcdo5lfa5efog/gradle-8.7/lib/groovy-xml-3.0.17.jar, /data/data/com.itsaky.androidide/files/home/.gradle/wrapper/dists/gradle-8.7-bin/af3un6e4ivqgjcdo5lfa5efog/gradle-8.7/lib/gson-2.10.jar, /data/data/com.itsaky.androidide/files/home/.gradle/wrapper/dists/gradle-8.7-bin/af3un6e4ivqgjcdo5lfa5efog/gradle-8.7/lib/guava-32.1.2-jre.jar, /data/data/com.itsaky.androidide/files/home/.gradle/wrapper/dists/gradle-8.7-bin/af3un6e4ivqgjcdo5lfa5efog/gradle-8.7/lib/h2-2.2.220.jar, /data/data/com.itsaky.androidide/files/home/.gradle/wrapper/dists/gradle-8.7-bin/af3un6e4ivqgjcdo5lfa5efog/gradle-8.7/lib/hamcrest-core-1.3.jar, /data/data/com.itsaky.androidide/files/home/.gradle/wrapper/dists/gradle-8.7-bin/af3un6e4ivqgjcdo5lfa5efog/gradle-8.7/lib/jansi-1.18.jar, /data/data/com.itsaky.androidide/files/home/.gradle/wrapper/dists/gradle-8.7-bin/af3un6e4ivqgjcdo5lfa5efog/gradle-8.7/lib/javaparser-core-3.17.0.jar, /data/data/com.itsaky.androidide/files/home/.gradle/wrapper/dists/gradle-8.7-bin/af3un6e4ivqgjcdo5lfa5efog/gradle-8.7/lib/javax.inject-1.jar, /data/data/com.itsaky.androidide/files/home/.gradle/wrapper/dists/gradle-8.7-bin/af3un6e4ivqgjcdo5lfa5efog/gradle-8.7/lib/jcl-over-slf4j-1.7.36.jar, /data/data/com.itsaky.androidide/files/home/.gradle/wrapper/dists/gradle-8.7-bin/af3un6e4ivqgjcdo5lfa5efog/gradle-8.7/lib/jsr305-3.0.2.jar, /data/data/com.itsaky.androidide/files/home/.gradle/wrapper/dists/gradle-8.7-bin/af3un6e4ivqgjcdo5lfa5efog/gradle-8.7/lib/jul-to-slf4j-1.7.36.jar, /data/data/com.itsaky.androidide/files/home/.gradle/wrapper/dists/gradle-8.7-bin/af3un6e4ivqgjcdo5lfa5efog/gradle-8.7/lib/junit-4.13.2.jar, /data/data/com.itsaky.androidide/files/home/.gradle/wrapper/dists/gradle-8.7-bin/af3un6e4ivqgjcdo5lfa5efog/gradle-8.7/lib/kotlin-assignment-compiler-plugin-embeddable-1.9.22.jar, /data/data/com.itsaky.androidide/files/home/.gradle/wrapper/dists/gradle-8.7-bin/af3un6e4ivqgjcdo5lfa5efog/gradle-8.7/lib/kotlin-compiler-embeddable-1.9.22.jar, /data/data/com.itsaky.androidide/files/home/.gradle/wrapper/dists/gradle-8.7-bin/af3un6e4ivqgjcdo5lfa5efog/gradle-8.7/lib/kotlin-daemon-embeddable-1.9.22.jar, /data/data/com.itsaky.androidide/files/home/.gradle/wrapper/dists/gradle-8.7-bin/af3un6e4ivqgjcdo5lfa5efog/gradle-8.7/lib/kotlin-reflect-1.9.22.jar, /data/data/com.itsaky.androidide/files/home/.gradle/wrapper/dists/gradle-8.7-bin/af3un6e4ivqgjcdo5lfa5efog/gradle-8.7/lib/kotlin-sam-with-receiver-compiler-plugin-1.9.22.jar, /data/data/com.itsaky.androidide/files/home/.gradle/wrapper/dists/gradle-8.7-bin/af3un6e4ivqgjcdo5lfa5efog/gradle-8.7/lib/kotlin-script-runtime-1.9.22.jar, /data/data/com.itsaky.androidide/files/home/.gradle/wrapper/dists/gradle-8.7-bin/af3un6e4ivqgjcdo5lfa5efog/gradle-8.7/lib/kotlin-scripting-common-1.9.22.jar, /data/data/com.itsaky.androidide/files/home/.gradle/wrapper/dists/gradle-8.7-bin/af3un6e4ivqgjcdo5lfa5efog/gradle-8.7/lib/kotlin-scripting-compiler-embeddable-1.9.22.jar, /data/data/com.itsaky.androidide/files/home/.gradle/wrapper/dists/gradle-8.7-bin/af3un6e4ivqgjcdo5lfa5efog/gradle-8.7/lib/kotlin-scripting-compiler-impl-embeddable-1.9.22.jar, /data/data/com.itsaky.androidide/files/home/.gradle/wrapper/dists/gradle-8.7-bin/af3un6e4ivqgjcdo5lfa5efog/gradle-8.7/lib/kotlin-scripting-jvm-1.9.22.jar, /data/data/com.itsaky.androidide/files/home/.gradle/wrapper/dists/gradle-8.7-bin/af3un6e4ivqgjcdo5lfa5efog/gradle-8.7/lib/kotlin-scripting-jvm-host-1.9.22.jar, /data/data/com.itsaky.androidide/files/home/.gradle/wrapper/dists/gradle-8.7-bin/af3un6e4ivqgjcdo5lfa5efog/gradle-8.7/lib/kotlin-stdlib-1.9.22.jar, /data/data/com.itsaky.androidide/files/home/.gradle/wrapper/dists/gradle-8.7-bin/af3un6e4ivqgjcdo5lfa5efog/gradle-8.7/lib/kotlinx-metadata-jvm-0.5.0.jar, /data/data/com.itsaky.androidide/files/home/.gradle/wrapper/dists/gradle-8.7-bin/af3un6e4ivqgjcdo5lfa5efog/gradle-8.7/lib/kryo-2.24.0.jar, /data/data/com.itsaky.androidide/files/home/.gradle/wrapper/dists/gradle-8.7-bin/af3un6e4ivqgjcdo5lfa5efog/gradle-8.7/lib/log4j-over-slf4j-1.7.36.jar, /data/data/com.itsaky.androidide/files/home/.gradle/wrapper/dists/gradle-8.7-bin/af3un6e4ivqgjcdo5lfa5efog/gradle-8.7/lib/minlog-1.2.jar, /data/data/com.itsaky.androidide/files/home/.gradle/wrapper/dists/gradle-8.7-bin/af3un6e4ivqgjcdo5lfa5efog/gradle-8.7/lib/native-platform-0.22-milestone-25.jar, /data/data/com.itsaky.androidide/files/home/.gradle/wrapper/dists/gradle-8.7-bin/af3un6e4ivqgjcdo5lfa5efog/gradle-8.7/lib/native-platform-freebsd-amd64-libcpp-0.22-milestone-25.jar, /data/data/com.itsaky.androidide/files/home/.gradle/wrapper/dists/gradle-8.7-bin/af3un6e4ivqgjcdo5lfa5efog/gradle-8.7/lib/native-platform-linux-aarch64-0.22-milestone-25.jar, /data/data/com.itsaky.androidide/files/home/.gradle/wrapper/dists/gradle-8.7-bin/af3un6e4ivqgjcdo5lfa5efog/gradle-8.7/lib/native-platform-linux-aarch64-ncurses5-0.22-milestone-25.jar, /data/data/com.itsaky.androidide/files/home/.gradle/wrapper/dists/gradle-8.7-bin/af3un6e4ivqgjcdo5lfa5efog/gradle-8.7/lib/native-platform-linux-aarch64-ncurses6-0.22-milestone-25.jar, /data/data/com.itsaky.androidide/files/home/.gradle/wrapper/dists/gradle-8.7-bin/af3un6e4ivqgjcdo5lfa5efog/gradle-8.7/lib/native-platform-linux-amd64-0.22-milestone-25.jar, /data/data/com.itsaky.androidide/files/home/.gradle/wrapper/dists/gradle-8.7-bin/af3un6e4ivqgjcdo5lfa5efog/gradle-8.7/lib/native-platform-linux-amd64-ncurses5-0.22-milestone-25.jar, /data/data/com.itsaky.androidide/files/home/.gradle/wrapper/dists/gradle-8.7-bin/af3un6e4ivqgjcdo5lfa5efog/gradle-8.7/lib/native-platform-linux-amd64-ncurses6-0.22-milestone-25.jar, /data/data/com.itsaky.androidide/files/home/.gradle/wrapper/dists/gradle-8.7-bin/af3un6e4ivqgjcdo5lfa5efog/gradle-8.7/lib/native-platform-osx-aarch64-0.22-milestone-25.jar, /data/data/com.itsaky.androidide/files/home/.gradle/wrapper/dists/gradle-8.7-bin/af3un6e4ivqgjcdo5lfa5efog/gradle-8.7/lib/native-platform-osx-amd64-0.22-milestone-25.jar, /data/data/com.itsaky.androidide/files/home/.gradle/wrapper/dists/gradle-8.7-bin/af3un6e4ivqgjcdo5lfa5efog/gradle-8.7/lib/native-platform-windows-amd64-0.22-milestone-25.jar, /data/data/com.itsaky.androidide/files/home/.gradle/wrapper/dists/gradle-8.7-bin/af3un6e4ivqgjcdo5lfa5efog/gradle-8.7/lib/native-platform-windows-amd64-min-0.22-milestone-25.jar, /data/data/com.itsaky.androidide/files/home/.gradle/wrapper/dists/gradle-8.7-bin/af3un6e4ivqgjcdo5lfa5efog/gradle-8.7/lib/native-platform-windows-i386-0.22-milestone-25.jar, /data/data/com.itsaky.androidide/files/home/.gradle/wrapper/dists/gradle-8.7-bin/af3un6e4ivqgjcdo5lfa5efog/gradle-8.7/lib/native-platform-windows-i386-min-0.22-milestone-25.jar, /data/data/com.itsaky.androidide/files/home/.gradle/wrapper/dists/gradle-8.7-bin/af3un6e4ivqgjcdo5lfa5efog/gradle-8.7/lib/objenesis-2.6.jar, /data/data/com.itsaky.androidide/files/home/.gradle/wrapper/dists/gradle-8.7-bin/af3un6e4ivqgjcdo5lfa5efog/gradle-8.7/lib/qdox-1.12.1.jar, /data/data/com.itsaky.androidide/files/home/.gradle/wrapper/dists/gradle-8.7-bin/af3un6e4ivqgjcdo5lfa5efog/gradle-8.7/lib/slf4j-api-1.7.36.jar, /data/data/com.itsaky.androidide/files/home/.gradle/wrapper/dists/gradle-8.7-bin/af3un6e4ivqgjcdo5lfa5efog/gradle-8.7/lib/tomlj-1.0.0.jar, /data/data/com.itsaky.androidide/files/home/.gradle/wrapper/dists/gradle-8.7-bin/af3un6e4ivqgjcdo5lfa5efog/gradle-8.7/lib/trove4j-1.0.20200330.jar, /data/data/com.itsaky.androidide/files/home/.gradle/wrapper/dists/gradle-8.7-bin/af3un6e4ivqgjcdo5lfa5efog/gradle-8.7/lib/xml-apis-1.4.01.jar]
09-05 03:26:59.344 DEBUG [pool-5-thread-1] RootModelBuilder:  Build action executed. Result: com.itsaky.androidide.tooling.impl.internal.ProjectImpl@4fd930f9
09-05 03:26:59.349 DEBUG [pool-5-thread-1] StopWatch:  Project read successful in 85911ms
09-05 03:26:59.350 DEBUG [pool-5-thread-1] StopWatch:  Connection to project completed in 86256ms
09-05 03:26:59.383 DEBUG [main] BaseEditorActivity:  onBuildStatusChanged: isInitializing: true, isBuildInProgress: false
09-05 03:27:00.448 DEBUG [DefaultDispatcher-worker-10] StopWatch:  Transform project proxy completed in 1072ms
09-05 03:27:00.450  INFO [DefaultDispatcher-worker-10] ProjectManagerImpl:  Found 2 project sync issues: [DefaultSyncIssue(data=8.4.0:8.4.0-rc02, message=You are using Android Gradle Plugin version that has not been tested with AndroidIDE., multiLineMessage=null, severity=1, type=-1), DefaultSyncIssue(data=null, message=You have experimental IDE flag gradle.ide.gradle.skip.runtime.classpath.for.libraries enabled,
09-05 03:27:00.450  INFO [DefaultDispatcher-worker-10] ProjectManagerImpl:  but AGP boolean option android.experimental.dependency.excludeLibraryComponentsFromConstraints is not used.
09-05 03:27:00.450  INFO [DefaultDispatcher-worker-10] ProjectManagerImpl:  
09-05 03:27:00.450  INFO [DefaultDispatcher-worker-10] ProjectManagerImpl:  Please set below in gradle.properties:
09-05 03:27:00.450  INFO [DefaultDispatcher-worker-10] ProjectManagerImpl:  
09-05 03:27:00.450  INFO [DefaultDispatcher-worker-10] ProjectManagerImpl:  android.experimental.dependency.excludeLibraryComponentsFromConstraints=true
09-05 03:27:00.450  INFO [DefaultDispatcher-worker-10] ProjectManagerImpl:  , multiLineMessage=null, severity=1, type=0)]
09-05 03:27:00.453  INFO [DefaultDispatcher-worker-9] ModuleProject:  Indexing sources and classpaths for project: :app
09-05 03:27:00.453  INFO [DefaultDispatcher-worker-11] ModuleProject:  Indexing sources and classpaths for project: :
09-05 03:27:00.454 DEBUG [DefaultDispatcher-worker-11] StopWatch:  Indexing sources completed in 0ms
09-05 03:27:00.454 DEBUG [DefaultDispatcher-worker-11] ModuleProject:  Found 0 source files.
09-05 03:27:00.456 DEBUG [DefaultDispatcher-worker-11] StopWatch:  Indexing classpaths completed in 0ms
09-05 03:27:00.456 DEBUG [DefaultDispatcher-worker-11] ModuleProject:  Found 0 classpaths.
09-05 03:27:00.496 DEBUG [DefaultDispatcher-worker-9] StopWatch:  Indexing sources completed in 43ms
09-05 03:27:00.496 DEBUG [DefaultDispatcher-worker-9] ModuleProject:  Found 4 source files.
09-05 03:27:00.875 DEBUG [DefaultDispatcher-worker-9] StopWatch:  Indexing classpaths completed in 379ms
09-05 03:27:00.875 DEBUG [DefaultDispatcher-worker-9] ModuleProject:  Found 2343 classpaths.
09-05 03:27:00.876 DEBUG [DefaultDispatcher-worker-9] BootClasspathProvider:  Indexing boot classpath: /data/data/com.itsaky.androidide/files/home/android-sdk/platforms/android-34/android.jar
09-05 03:27:01.109 DEBUG [DefaultDispatcher-worker-9] StopWatch:  Indexing 1 bootclasspaths completed in 233ms
09-05 03:27:01.204  INFO [DefaultDispatcher-worker-9] DefaultResourceTableRegistry:  Creating resource table for 1 resource directories
09-05 03:27:01.833  WARN [DefaultDispatcher-worker-9] DefaultResourceTableRegistry:  Failed to compile /data/data/com.itsaky.androidide/files/home/android-sdk/platforms/android-34/data/res/values/public-staging.xml
09-05 03:27:02.099  WARN [DefaultDispatcher-worker-9] DefaultResourceTableRegistry:  Failed to compile /data/data/com.itsaky.androidide/files/home/android-sdk/platforms/android-34/data/res/values/symbols.xml
09-05 03:27:02.424  WARN [DefaultDispatcher-worker-9] DefaultResourceTableRegistry:  Failed to compile /data/data/com.itsaky.androidide/files/home/android-sdk/platforms/android-34/data/res/values/config_telephony.xml
09-05 03:27:02.556  WARN [DefaultDispatcher-worker-9] DefaultResourceTableRegistry:  Failed to compile /data/data/com.itsaky.androidide/files/home/android-sdk/platforms/android-34/data/res/values/public-final.xml
09-05 03:27:02.898  INFO [DefaultDispatcher-worker-9] DefaultResourceTableRegistry:  Creating resource table for 1 resource directories
09-05 03:27:03.468  INFO [DefaultDispatcher-worker-9] AndroidModule:  Created 20 resource tables for 20 dependencies of module ':app'
09-05 03:27:03.471  INFO [DefaultDispatcher-worker-9] DefaultApiVersionsRegistry:  Creating API versions table for platform dir: /data/data/com.itsaky.androidide/files/home/android-sdk/platforms/android-34
09-05 03:27:04.037  INFO [DefaultDispatcher-worker-9] DefaultWidgetTableRegistry:  Creating widget table for platform dir: /data/data/com.itsaky.androidide/files/home/android-sdk/platforms/android-34
09-05 03:27:04.051 DEBUG [DefaultDispatcher-worker-9] StopWatch:  Read resources for module : :app completed in 2940ms
09-05 03:27:04.052 DEBUG [DefaultDispatcher-worker-9] StopWatch:  Setup project completed in 3602ms
09-05 03:27:04.053 DEBUG [ForkJoinPool.commonPool-worker-7] StopWatch:  Indexing sources completed in 0ms
09-05 03:27:04.053 DEBUG [ForkJoinPool.commonPool-worker-7] ModuleProject:  Found 0 source files.
09-05 03:27:04.106 DEBUG [ForkJoinPool.commonPool-worker-7] StopWatch:  Indexing sources completed in 52ms
09-05 03:27:04.106 DEBUG [ForkJoinPool.commonPool-worker-7] ModuleProject:  Found 4 source files.
09-05 03:27:04.107 DEBUG [ForkJoinPool.commonPool-worker-7] androidide:  Dispatching ProjectInitializedEvent to language servers...
09-05 03:27:04.116 DEBUG [main] BaseEditorActivity:  onBuildStatusChanged: isInitializing: false, isBuildInProgress: false
09-05 03:27:04.156 DEBUG [ForkJoinPool.commonPool-worker-7] CachingJarFileSystemProvider:  Clearing cached JAR file system for path: xxx/app/build/intermediates/compile_and_runtime_not_namespaced_r_class_jar/debug/processDebugResources/R.jar
09-05 03:27:04.159  INFO [ForkJoinPool.commonPool-worker-7] SourceFileManager:  Creating source file manager instance for module: AndroidModule: :app
09-05 03:27:04.738  INFO [DefaultDispatcher-worker-9] BootClasspathProvider:  Skipping indexing for boot classpath as it is already indexed: /data/data/com.itsaky.androidide/files/home/android-sdk/platforms/android-34/android.jar
09-05 03:27:04.739 DEBUG [DefaultDispatcher-worker-9] StopWatch:  Indexing 1 bootclasspaths completed in 1ms
09-05 03:27:04.757 DEBUG [DefaultDispatcher-worker-9] JavaDiagnosticProvider:  Analyzing: xxx.java
09-05 03:27:04.784 ERROR [JavaAnalyzerThread] SynchronizedTask:  An error occurred
09-05 03:27:04.785  WARN [JavaAnalyzerThread] JavaDiagnosticProvider:  Unable to analyze file
09-05 03:27:20.678  INFO [CompletionThread-282944797163104] AndroidModule:  Created 20 resource tables for 20 dependencies of module ':app'
09-05 03:27:20.685  INFO [pool-2-thread-2] BootClasspathProvider:  Skipping indexing for boot classpath as it is already indexed: /data/data/com.itsaky.androidide/files/home/android-sdk/platforms/android-34/android.jar
09-05 03:27:20.685 DEBUG [pool-2-thread-2] StopWatch:  Indexing 1 bootclasspaths completed in 0ms
09-05 03:27:20.701  INFO [CompletionThread-282944797163104] CompletionProvider:  Complete at xxx.java(23,9)...
09-05 03:27:20.701  INFO [CompletionThread-282944797163104] CachedCompletion:  ...unequal change in prefix and column
09-05 03:27:20.702  INFO [CompletionThread-282944797163104] CompletionProvider:  ...cannot use cached completions
09-05 03:27:20.706 ERROR [CompletionThread-282944797163104] SynchronizedTask:  An error occurred
09-05 03:27:20.707 ERROR [CompletionThread-282944797163104] CompletionProvider:  An error occurred while computing completions
09-05 03:27:20.902  INFO [pool-2-thread-2] BootClasspathProvider:  Skipping indexing for boot classpath as it is already indexed: /data/data/com.itsaky.androidide/files/home/android-sdk/platforms/android-34/android.jar
09-05 03:27:20.902 DEBUG [pool-2-thread-2] StopWatch:  Indexing 1 bootclasspaths completed in 0ms
09-05 03:27:20.904  INFO [CompletionThread-282945014736125] AndroidModule:  Created 20 resource tables for 20 dependencies of module ':app'
09-05 03:27:20.927  INFO [CompletionThread-282945014736125] CompletionProvider:  Complete at xxx.java(23,10)...
09-05 03:27:20.929  INFO [CompletionThread-282945014736125] CachedCompletion:  ...unequal change in prefix and column
09-05 03:27:20.929  INFO [CompletionThread-282945014736125] CompletionProvider:  ...cannot use cached completions
09-05 03:27:20.936 ERROR [CompletionThread-282945014736125] SynchronizedTask:  An error occurred
09-05 03:27:20.937 ERROR [CompletionThread-282945014736125] CompletionProvider:  An error occurred while computing completions
09-05 03:27:21.335  INFO [DefaultDispatcher-worker-11] BootClasspathProvider:  Skipping indexing for boot classpath as it is already indexed: /data/data/com.itsaky.androidide/files/home/android-sdk/platforms/android-34/android.jar
09-05 03:27:21.336 DEBUG [DefaultDispatcher-worker-11] StopWatch:  Indexing 1 bootclasspaths completed in 0ms
09-05 03:27:21.356 DEBUG [DefaultDispatcher-worker-11] JavaDiagnosticProvider:  Analyzing: xxx.java
09-05 03:27:21.363 ERROR [JavaAnalyzerThread] SynchronizedTask:  An error occurred
09-05 03:27:21.364  WARN [JavaAnalyzerThread] JavaDiagnosticProvider:  Unable to analyze file
09-05 03:27:21.480  INFO [CompletionThread-282945600255812] AndroidModule:  Created 20 resource tables for 20 dependencies of module ':app'
09-05 03:27:21.486  INFO [pool-2-thread-2] BootClasspathProvider:  Skipping indexing for boot classpath as it is already indexed: /data/data/com.itsaky.androidide/files/home/android-sdk/platforms/android-34/android.jar
09-05 03:27:21.487 DEBUG [pool-2-thread-2] StopWatch:  Indexing 1 bootclasspaths completed in 1ms
09-05 03:27:21.502  INFO [CompletionThread-282945600255812] CompletionProvider:  Complete at xxx.java(23,11)...
09-05 03:27:21.502  INFO [CompletionThread-282945600255812] CachedCompletion:  ...unequal change in prefix and column
09-05 03:27:21.502  INFO [CompletionThread-282945600255812] CompletionProvider:  ...cannot use cached completions
09-05 03:27:21.509 ERROR [CompletionThread-282945600255812] SynchronizedTask:  An error occurred
09-05 03:27:21.509 ERROR [CompletionThread-282945600255812] CompletionProvider:  An error occurred while computing completions
09-05 03:27:21.911  INFO [DefaultDispatcher-worker-11] BootClasspathProvider:  Skipping indexing for boot classpath as it is already indexed: /data/data/com.itsaky.androidide/files/home/android-sdk/platforms/android-34/android.jar
09-05 03:27:21.914 DEBUG [DefaultDispatcher-worker-11] StopWatch:  Indexing 1 bootclasspaths completed in 3ms
09-05 03:27:21.943 DEBUG [DefaultDispatcher-worker-11] JavaDiagnosticProvider:  Analyzing: xxx.java
09-05 03:27:21.950 ERROR [JavaAnalyzerThread] SynchronizedTask:  An error occurred
09-05 03:27:21.950  WARN [JavaAnalyzerThread] JavaDiagnosticProvider:  Unable to analyze file

AndroidIDE Crash Report
Version : v2.7.1-beta (27102)
CI Build : true
Branch : dev
Commit : 53a2d636b
Variant : arm64-v8a (release)
Build type : OFFICIAL
F-Droid Build : false
F-Droid Version : null
F-Droid Version code : -1
SDK Version : 30
Supported ABIs : [arm64-v8a, armeabi-v7a, armeabi]
Manufacturer : OPPO
Device : PCHM30

Stacktrace:
java.lang.IllegalArgumentException: 错误: 无效的源发行版:21
	at openjdk.tools.javac.main.Arguments.error(Unknown Source:55)
	at openjdk.tools.javac.main.Arguments.doProcessArgs(Unknown Source:72)
	at openjdk.tools.javac.main.Arguments.processArgs(Unknown Source:0)
	at openjdk.tools.javac.main.Arguments.init(SourceFile:15)
	at openjdk.tools.javac.api.JavacTool.getTask(SourceFile:33)
	at com.itsaky.androidide.lsp.java.compiler.CompileBatch.<init>(Unknown Source:243)
	at com.itsaky.androidide.lsp.java.compiler.JavaCompilerService.performCompilation(Unknown Source:10)
	at com.itsaky.androidide.lsp.java.compiler.JavaCompilerService.recompile(Unknown Source:4)
	at androidx.work.impl.WorkerWrapper$$ExternalSyntheticLambda0.run(Unknown Source:238)
	at com.itsaky.androidide.lsp.java.compiler.SynchronizedTask.post(Unknown Source:9)
	at com.itsaky.androidide.lsp.java.compiler.CompilerProvider.compile(Unknown Source:49)
	at com.itsaky.androidide.lsp.java.actions.generators.OverrideSuperclassMethodsAction.execAction(Unknown Source:69)
	at com.itsaky.androidide.actions.internal.DefaultActionsRegistry$executeAction$1.invokeSuspend(Unknown Source:80)
	at kotlin.coroutines.jvm.internal.BaseContinuationImpl.resumeWith(Unknown Source:8)
	at kotlinx.coroutines.DispatchedTask.run(Unknown Source:120)
	at kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.run(Unknown Source:95)
@Libamidi Libamidi added the bug Something isn't working label May 8, 2024
@itsaky
Copy link
Member

itsaky commented May 10, 2024

Currently, the LSP in AndroidIDE uses Java compiler from JDK 17. As a result, LSP features like code completion will not work if you set the source compatibility to VERSION_21 in Gradle scripts.

Related: #1657

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants