Skip to main content
All CollectionsExtension IDE
Set up CodeGPT In Android Studio
Set up CodeGPT In Android Studio

This is a step-by-step guide to help you configure CodeGPT in Android Studio

Updated this week

Important!
We took Joachim Schuster article's on "Fix Markdown Plugin in Android Studio in 2024" as a reference, you can read the original article here

1) Change JBR in Android Studio to fix the CodeGPT plugin

Note:

To ensure everything works smoothly with Giraffe, you'll need to update a specific registry entry. Remember to reboot your system for the changes to take effect. If you make this adjustment before choosing the boot runtime, you'll only need to reboot once!

The CodeGPT plugin needs a JBR (JetBrains Runtime) that includes JCEF. However, Google typically packages Android Studio with a JBR that doesn't have JCEF. The good news is that you can change this configuration!

2) Choose Boot Java Runtime

  • Open menu Help > Find Action… (⇧ Shift + ⌘ Cmd + A) and search for “Choose Boot Java Runtime for the IDE…” and execute

  • In the dialog open the drop-down and Select runtime

    2024-04-25-android-studio-choose-jbr-dialog
  • Take the default selection or choose from one with JCEF in its title. Confirm by clicking OK.

    2024-04-25-android-studio-choose-jbr-dialog-selection
  • After downloading and installing, you have to apply the changes with a Restart now

    2024-04-25-android-studio-choose-jbr-confirm-dialog

That's it! You've configured Android Studio to use CodeGPT!



How did we do? We’d love to hear your feedback! Share your review here: CodeGPT Review.

Join our community and engage with other users on our Discord server: Join the CodeGPT Discord Server!

Got a feature request? Let us know here to be considered for future updates: Feature Request.

If you encounter any issues, please document them here: Issues · JudiniLabs/code-gpt-docs.

For further assistance, feel free to contact us!

Did this answer your question?