Android Studio does not offer SQL as an injected language

Issue

On a string literal, Android studio offers the inject language feature, but in the drop down list of languages, there is no SQL offered. All the documentation states it should be there. Any idea how I can inject SQL?

enter image description here

Solution

Database tools and SQL support are only available in IntelliJ IDEA Ultimate.

Source

Hence, you cannot use SQL support in Android Studio.

You could use ADB Shell to connect to SQLite, which is IDE independent.

Answered By – Darek Kay

This Answer collected from stackoverflow, is licensed under cc by-sa 2.5 , cc by-sa 3.0 and cc by-sa 4.0

Leave a Reply

(*) Required, Your email will not be published