Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Android Studio sync fails with Android Studio Hedgehog, 2023.1.1 Canary 14 #508

Closed
asodja opened this issue Jul 26, 2023 · 1 comment · Fixed by #514
Closed

Android Studio sync fails with Android Studio Hedgehog, 2023.1.1 Canary 14 #508

asodja opened this issue Jul 26, 2023 · 1 comment · Fixed by #514
Labels
bug internal Internal change

Comments

@asodja
Copy link
Member

asodja commented Jul 26, 2023

It seems we are using some method that was removed in 2023.1.1.14 or maybe before that. We currently test with 2023.1.1.6 and syncs work with that version.
From logs for 2023.1.1.14:

2023-07-26 13:54:33,932 [   2435] SEVERE - #c.i.i.s.i.StartupManagerImpl - 'void com.android.tools.idea.gradle.project.GradleProjectInfo.setSkipStartupActivity(boolean)'
java.lang.NoSuchMethodError: 'void com.android.tools.idea.gradle.project.GradleProjectInfo.setSkipStartupActivity(boolean)'
	at org.gradle.profiler.studio.plugin.GradleProfilerStartupActivity.runActivity(GradleProfilerStartupActivity.java:40)
	at com.intellij.ide.startup.impl.StartupManagerImpl.runActivityAndMeasureDuration(StartupManagerImpl.kt:328)
	at com.intellij.ide.startup.impl.StartupManagerImpl.access$runActivityAndMeasureDuration(StartupManagerImpl.kt:69)
	at com.intellij.ide.startup.impl.StartupManagerImpl$runPostStartupActivities$4$2$1.invoke(StartupManagerImpl.kt:269)
	at com.intellij.ide.startup.impl.StartupManagerImpl$runPostStartupActivities$4$2$1.invoke(StartupManagerImpl.kt:268)
	at com.intellij.openapi.progress.CancellationKt.withCurrentJob$lambda$0(cancellation.kt:17)
	at com.intellij.openapi.progress.Cancellation.withCurrentJob(Cancellation.java:60)
	at com.intellij.openapi.progress.CancellationKt.withCurrentJob(cancellation.kt:17)
	at com.intellij.openapi.progress.CoroutinesKt.blockingContext(coroutines.kt:193)
	at com.intellij.ide.startup.impl.StartupManagerImpl.runPostStartupActivities(StartupManagerImpl.kt:268)
	at com.intellij.ide.startup.impl.StartupManagerImpl.access$runPostStartupActivities(StartupManagerImpl.kt:69)
	at com.intellij.ide.startup.impl.StartupManagerImpl$runPostStartupActivities$2.invokeSuspend(StartupManagerImpl.kt:178)
	at kotlin.coroutines.jvm.internal.BaseContinuationImpl.resumeWith(ContinuationImpl.kt:33)
	at kotlinx.coroutines.DispatchedTask.run(DispatchedTask.kt:106)
	at kotlinx.coroutines.scheduling.CoroutineScheduler.runSafely(CoroutineScheduler.kt:570)
	at kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.executeTask(CoroutineScheduler.kt:750)
	at kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.runWorker(CoroutineScheduler.kt:677)
	at kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.run(CoroutineScheduler.kt:664)
@asodja
Copy link
Member Author

asodja commented Oct 16, 2023

It looks like it works with Hedgehog 2023.1.1.22 and Iguana 2023.2.1.7, see #514.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug internal Internal change
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant