nishantshah977 opened a new issue, #1707: URL: https://github.com/apache/cordova-android/issues/1707
# Bug Report ## Problem ```Checking Java JDK and Android SDK versions ANDROID_HOME=undefined (recommended setting) ANDROID_SDK_ROOT=undefined (DEPRECATED) Failed to find 'ANDROID_HOME' environment variable. Try setting it manually. Detected 'avdmanager' command at C:\Users\ASUS\AppData\Local\Android\Sdk\cmdline-tools\latest\bin but no 'tools\bin' directory found near. Try reinstall Android SDK or update your PATH to include valid path to SDK\tools\bin directory. ``` ## Information <!-- Include all relevant information that might help understand and reproduce the problem --> I'm on windows 11. JAVA_SDK error is due to Java 14 instead of Java 8. Even though I've installed all the required sdks and configured all environment variables properly from docs. I'm still getting the error. ### Command or Code <!-- What command or code is needed to reproduce the problem? --> cordova run android ### Environment, Platform, Device <!-- In what environment, on what platform or on which device are you experiencing the issue? --> OS: Windows ### Version information "cordova-android": "^12.0.1", <!-- What are relevant versions you are using? For example: Cordova: Cordova CLI, Cordova Platforms, Cordova Plugins Other Frameworks: Ionic Framework and CLI version Operating System, Android Studio, Xcode etc. --> ## Checklist <!-- Please check the boxes by putting an x in the [ ] like so: [x] --> - [x] I searched for existing GitHub issues - [x] I updated all Cordova tooling to most recent version - [x] I included all the necessary information above -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: issues-unsubscr...@cordova.apache.org.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org --------------------------------------------------------------------- To unsubscribe, e-mail: issues-unsubscr...@cordova.apache.org For additional commands, e-mail: issues-h...@cordova.apache.org