Deprecated, jdtls can support android project since this commit
But now it is disbabled by default, we should manually enable it:
local lsp_config = {
settings = {
java = {
jdt = { ls = { androidSupport = { enabled =true } } }
}
}
}
require("jdtls").start_or_attach(lsp_config)