Home > OS >  ANDROID_SDK_ROOT=undefined (recommended setting) ANDROID_HOME=undefined (DEPRECATED)
ANDROID_SDK_ROOT=undefined (recommended setting) ANDROID_HOME=undefined (DEPRECATED)

Time:11-06

getting error whenever i'm trying to ionic build.showing cordova-plugin-androidx-adapter: Processed 16 source files in 387ms Checking Java JDK and Android SDK versions ANDROID_SDK_ROOT=undefined (recommended setting) ANDROID_HOME=undefined (DEPRECATED)

i changed sdk version and i'm using sdk 30 version also change path.but still getting same error

CodePudding user response:

This issue should arise because of missing local.properties file where the SDK location is stored. Just check if its present in your project, if not just add it with the correct SDK location from your computer.

CodePudding user response:

Try changing your SDK path to C:\Android\SDK

have a look at my environmental variable settings as under and try once enter image description here

  • Related