Status Update
Comments
xo...@google.com <xo...@google.com>
wi...@gmail.com <wi...@gmail.com> #2
I reported it against the plug in: https://youtrack.jetbrains.com/issue/IDEA-269353
The comments in the ticket contain a workaround:
1. Open Idea
2. Select Help->Find Action
3. Select (type): Choose Boot Java Runtime for the IDE
4. Select the newest runtime
5. It will create a file /home/wiktor/.config/JetBrains/IdeaIC2021.1/idea.jdk
6. Copy/rename the file to: /home/wiktor/.config/Google/AndroidStudioPreview2020.3/studio.jdk
Now the plugin works in Android Studio.
The file studio.jdk probably needs to be created by Idea, because Idea installs the JDK. This is are the contents of studio.jdk:
/home/wiktor/.jbr/jbr_jcef-11_0_11-linux-x64-b1341.57
The comments in the ticket contain a workaround:
1. Open Idea
2. Select Help->Find Action
3. Select (type): Choose Boot Java Runtime for the IDE
4. Select the newest runtime
5. It will create a file /home/wiktor/.config/JetBrains/IdeaIC2021.1/idea.jdk
6. Copy/rename the file to: /home/wiktor/.config/Google/AndroidStudioPreview2020.3/studio.jdk
Now the plugin works in Android Studio.
The file studio.jdk probably needs to be created by Idea, because Idea installs the JDK. This is are the contents of studio.jdk:
/home/wiktor/.jbr/jbr_jcef-11_0_11-linux-x64-b1341.57
wi...@gmail.com <wi...@gmail.com> #3
Why has it been determined to be in third party plugins? I showed you it can be fixed by setting the right runtime. Plugins are not responsible for selecting runtime for the entire IDE. I believe it's not a bug in plugins, but rather - that an incorrect runtime is selected by Android Studio.
Please add the option "Choose Boot Java Runtime for the IDE" to Android Studio. (It is already present in Idea). This will solve the problem.
Please add the option "Choose Boot Java Runtime for the IDE" to Android Studio. (It is already present in Idea). This will solve the problem.
ba...@byoussin.com <ba...@byoussin.com> #4
I have the same problem with Android Studio 4.2, and the workaround given above, does not help.
The file studio.jdk at the location indicated above, does not affect the Java Runtime used by Android Studio.
(The file was not present there before I copied it there.)
The file studio.jdk at the location indicated above, does not affect the Java Runtime used by Android Studio.
(The file was not present there before I copied it there.)
ba...@byoussin.com <ba...@byoussin.com> #5
I have figured out how to change the jre in Android Studio 4.2 in a specific project:
File -> Project Structure -> Platform Settings -> SDKs -> 11 -> JDK home path
I entered there the path to jre directory that appears in the studio.jdk per the workaround above.
I waited until Android Studio finished indexing the new jre, and restarted it.
Still, There are no available preview providers for Markdown.
File -> Project Structure -> Platform Settings -> SDKs -> 11 -> JDK home path
I entered there the path to jre directory that appears in the studio.jdk per the workaround above.
I waited until Android Studio finished indexing the new jre, and restarted it.
Still, There are no available preview providers for Markdown.
Description
all required information.
Studio Build: Arctic Fox Canary 15
Version of Gradle Plugin: 7
Version of Gradle: 4.2.0
Version of Java: 11
OS: Ubuntu 21.04
Steps to Reproduce:
1. Markdown plugin is installed
2. Select Settings->Languages & Frameworks->Markdown
You see the message: There are no available preview providers
When you open an .md file, there is some syntax highlight, but no preview.