Hi, I have android studio on Ubuntu 17.04 (it's a snap version but I don't think it should make a difference) I succeed to install some VrSamples with gradle from my command line, i.e `gradle task` or even `gradle installDebug` works like a charm. But when I open android-studio, it keeps to tell me that 'SDK location not found. Define location with sdk.dir in the local.properties file or with an ANDROID_HOME environment variable'.
My local.properties is set perfectly. So when I go in Project structure > SdkLocation I also set environnement withtin android-studio: ANDROID_HOME and ANDROID_NDK_HOME You can find here the screenshot of the following things: