are you using the same JDK on the command line and...
# android
m
are you using the same JDK on the command line and in Studio?