Comments (4)
Thanks for the report! Gradle-profiler is not tested with Android Studio Jellyfish yet.
This is a valid issue.
from gradle-profiler.
I'm also unable to use profiler with Jellyfish (canary04). I built gradle-profiler from master and get this error:
java.lang.IllegalStateException: Timeout waiting for incoming connection from start-detector.
at org.gradle.profiler.studio.process.StudioProcess.waitOnSuccessfulIdeStart(StudioProcess.java:53)
at org.gradle.profiler.studio.process.StudioProcess.<init>(StudioProcess.java:37)
at org.gradle.profiler.studio.process.StudioProcessController.maybeStartProcess(StudioProcessController.java:76)
at org.gradle.profiler.studio.process.StudioProcessController.run(StudioProcessController.java:43)
at org.gradle.profiler.studio.StudioGradleClient.sync(StudioGradleClient.java:78)
at org.gradle.profiler.studio.AndroidStudioSyncAction.run(AndroidStudioSyncAction.java:36)
at org.gradle.profiler.gradle.BuildUnderTestInvoker$InvokeAndMeasureAction.run(BuildUnderTestInvoker.java:71)
at org.gradle.profiler.gradle.BuildUnderTestInvoker$InvokeAndMeasureAction.run(BuildUnderTestInvoker.java:51)
at org.gradle.profiler.RunBuildStepAction.run(RunBuildStepAction.java:29)
at org.gradle.profiler.ScenarioInvoker.runMeasured(ScenarioInvoker.java:28)
at org.gradle.profiler.gradle.GradleScenarioInvoker.run(GradleScenarioInvoker.java:121)
at org.gradle.profiler.studio.invoker.StudioGradleScenarioInvoker.run(StudioGradleScenarioInvoker.java:63)
at org.gradle.profiler.studio.invoker.StudioGradleScenarioInvoker.run(StudioGradleScenarioInvoker.java:19)
at org.gradle.profiler.Main.invoke(Main.java:138)
at org.gradle.profiler.Main.run(Main.java:96)
at org.gradle.profiler.Main.main(Main.java:35)
Caused by: java.lang.IllegalStateException: Timeout waiting for incoming connection from start-detector.
at org.gradle.profiler.client.protocol.Server.waitForIncoming(Server.java:50)
at org.gradle.profiler.studio.process.StudioProcess.waitOnSuccessfulIdeStart(StudioProcess.java:46)
... 15 more
Android studio is started, but profiler seems unable to attach to it and start a sync
from gradle-profiler.
This is because of JetBrains/intellij-community@d33ec90, that removed ExternalSystemSettingsListenerAdapter
. This code should be migrated to use GradleSettingsListener
.
from gradle-profiler.
I got it working with Jellyfish: #532
from gradle-profiler.
Related Issues (20)
- Support `--rerun` HOT 7
- Grdle
- Android Studio sync fails with Android Studio Hedgehog, 2023.1.1 Canary 14 HOT 1
- ClearConfigurationCacheStateMutator incorrectly hardcodes the location of configuration-cache HOT 2
- Document `GRADLE_PROFILER_OPTS`
- `GRADLE_OPTS` not being used with `run-using = cli` HOT 2
- Add support for `jfrsync` with `async-profiler` HOT 1
- Sync profiling with Android Studio fails in the headless mode with Hedgehog and Iguana HOT 1
- When _can_ `ClearBuildCacheMutator(BUILD)` be used? HOT 1
- Add Android Studio sync integration test with a basic Android project
- Automate testing Android Studio previews
- ApplyAbiChangeToKotlinSourceFileMutator doesn't put separator HOT 1
- Android Studio sync benchmark times out on larger projects HOT 2
- Evaluate and possibly use `intellij-ide-starter` for AS sync logic
- How to create the profiling scenarios for different JDK versions HOT 1
- Issue with configuration cache and gradle 8.3
- Strings written into Chrome trace JSON output are not escaped properly
- Difficulty Running Android Studio Sync Benchmark in Headless Docker Environment HOT 2
- Make profile output directory customizable HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from gradle-profiler.