Uploaded image for project: 'Qt Tools for Android'
  1. Qt Tools for Android
  2. QTTA-260

Gradle Sync doesn't update the QtQuick project in the project view

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • P1: Critical
    • QtTAS 4.0
    • QtTAS 4.0
    • QtTAS: General
    • None
    • macOS
    • f79fb9575 (dev)

    Description

      Steps to reproduce:

      1) Change projectPath to another QML project

      2) Gradle sync

      Expected:

      Project view will update to match the new project

      Actual:

      Project view doesn't update

      2025-01-15 14:02:03,238 [   2427] SEVERE - #c.i.i.s.i.StartupManagerImpl - com/android/tools/idea/gradle/project/sync/GradleSyncState [Plugin: org.qtproject.qt.androidstudiotools]com.intellij.diagnostic.PluginException: com/android/tools/idea/gradle/project/sync/GradleSyncState [Plugin: org.qtproject.qt.androidstudiotools]	at com.intellij.ide.startup.impl.StartupManagerImplKt$launchActivity$1.invokeSuspend(StartupManagerImpl.kt:502)	at kotlin.coroutines.jvm.internal.BaseContinuationImpl.resumeWith(ContinuationImpl.kt:33)	at kotlinx.coroutines.DispatchedTask.run(DispatchedTask.kt:104)	at kotlinx.coroutines.scheduling.CoroutineScheduler.runSafely(CoroutineScheduler.kt:608)	at kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.executeTask(CoroutineScheduler.kt:873)	at kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.runWorker(CoroutineScheduler.kt:763)	at kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.run(CoroutineScheduler.kt:750)Caused by: java.lang.NoClassDefFoundError: com/android/tools/idea/gradle/project/sync/GradleSyncState	at org.qtproject.qt.androidstudiotools.ProjectStartup.execute(ProjectStartup.kt:16)	at com.intellij.ide.startup.impl.StartupManagerImplKt$launchActivity$1.invokeSuspend(StartupManagerImpl.kt:496)	... 6 moreCaused by: java.lang.ClassNotFoundException: com.android.tools.idea.gradle.project.sync.GradleSyncState PluginClassLoader(plugin=PluginDescriptor(name="Qt Tools for Android Studio", id=org.qtproject.qt.androidstudiotools, descriptorPath=plugin.xml, path=~/Library/Application Support/Google/AndroidStudio2024.2/plugins/QtTAS.jar, version=4.0, package=null, isBundled=false), packagePrefix=null, state=active, parents=PluginDescriptor(name=IDEA CORE, id=com.intellij, moduleName=intellij.platform.vcs.impl, descriptorPath=intellij.platform.vcs.impl.xml, path=/Applications/Android Studio Ladybug Feature Drop.app/Contents/lib, version=242.23726.103, package=null, isBundled=true), PluginDescriptor(name=IDEA CORE, id=com.intellij, moduleName=intellij.platform.vcs.log.impl, descriptorPath=intellij.platform.vcs.log.impl.xml, path=/Applications/Android Studio Ladybug Feature Drop.app/Contents/lib, version=242.23726.103, package=null, isBundled=true), PluginDescriptor(name=IDEA CORE, id=com.intellij, moduleName=intellij.platform.vcs.dvcs.impl, descriptorPath=intellij.platform.vcs.dvcs.impl.xml, path=/Applications/Android Studio Ladybug Feature Drop.app/Contents/lib, version=242.23726.103, package=null, isBundled=true), PluginDescriptor(name=IDEA CORE, id=com.intellij, moduleName=intellij.platform.collaborationTools, descriptorPath=intellij.platform.collaborationTools.xml, path=/Applications/Android Studio Ladybug Feature Drop.app/Contents/lib, version=242.23726.103, package=null, isBundled=true), PluginDescriptor(name=LSP4IJ, id=com.redhat.devtools.lsp4ij, descriptorPath=plugin.xml, path=~/Library/Application Support/Google/AndroidStudio2024.2/plugins/LSP4IJ, version=0.9.0, package=null, isBundled=false), )

      Attachments

        Issue Links

          For Gerrit Dashboard: QTTA-260
          # Subject Branch Project Status CR V

          Activity

            People

              olvuolte Olli Vuolteenaho
              olvuolte Olli Vuolteenaho
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Gerrit Reviews

                  There are no open Gerrit changes