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

Could not find launch information for the current OS: Mac OS X (null) #1230

Closed
CoXier opened this issue Nov 28, 2022 · 2 comments
Closed

Could not find launch information for the current OS: Mac OS X (null) #1230

CoXier opened this issue Nov 28, 2022 · 2 comments
Labels
Milestone

Comments

@CoXier
Copy link
Contributor

CoXier commented Nov 28, 2022

Describe the bug
I create a empty plugin project. And I set version with build number instead of localPath property.

intellij {
    version.set("202.7660.26.42.7486908")
    type.set("AI") // AI means Android Studio
}

Then I execute ./gradlew :runIde. I got an error:

What went wrong:
Execution failed for task ':runIde'.
Could not find launch information for the current OS: Mac OS X (null)

Here is unexpected log:

[gradle-intellij-plugin :layout-inspector-v2] Using IDE from remote repository
Downloading https://redirector.gvt1.com/edgedl/android/studio/ide-zips/4.2.2.0/android-studio-ide-202.7486908-linux.tar.gz to /Users/jianxinli/.gradle/.tmp/gradle_download1614075782070470413bin
[gradle-intellij-plugin :layout-inspector-v2] IDE dependency cache directory: /Users/jianxinli/.gradle/caches/modules-2/files-2.1/com.google.android.studio/android-studio/202.7660.26.42.7486908/276e5e191ce65feb633e8efb0f30d138340ae1ab/android-studio-202.7660.26.42.7486908

As you see, the plugin download linux package on my mac. Maybe it's not tested on mac devices.

To Reproduce
Steps to reproduce the behavior – provide your build configuration, and/or link to the failing GitHub Action job.

Expected behavior
Download right platform packages and launch the sandbox.

Environment:

  • OS: macOS
  • Gradle IntelliJ Plugin Version "1.10.0"
  • Gradle Version [e.g. 7.4.2]

Additional context
Add any other context about the problem here.

@CoXier CoXier added the bug label Nov 28, 2022
@hsz hsz added this to the next milestone Dec 1, 2022
@hsz
Copy link
Member

hsz commented Dec 1, 2022

Thank you, @CoXier!
I've extended it to handling the Mac M1 releases – the fix will be released soon.

@hsz hsz closed this as completed Dec 1, 2022
@CoXier
Copy link
Contributor Author

CoXier commented Dec 2, 2022

Thank you, @CoXier! I've extended it to handling the Mac M1 releases – the fix will be released soon.

Good job. I miss the M1 release.

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

No branches or pull requests

2 participants