You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
CLI has strange requirement for adding <android_sdk>/tools and <android_sdk>/platform-tools to your PATH. Also ANDROID_HOME must be set in order to be able to build for Android. We should remove the requirement for adding these directories to PATH and use everything based on the value of ANDROID_HOME. This will improve the Getting Started experience for Android development as you will have to install Android SDK and set your ANDROID_HOME. Everything should work fine after that.
Implementation details:
Remove requirement to have <android-sdk>/tools and <android-sdk>/platform-tools directories to your PATH - use them based on ANDROID_HOME variable.
Based on the above point - replace all calls to android directly with correct path to the android executable.
Remove requirement for JAVA added in your PATH - validate it by using JAVA_HOME.
Improve error messages when ANDROID_HOME is not set - for example warning about missing compile SDK will inform you in case ANDROID_HOME is not set.
Improve ANDROID_HOME checks - validate that directories like "extras", "tools", "platform-tools" exist (at least on of them).
Validate JAVA version in doctor command.
Sometimes build-tools directories are not called with version(22.0.1), but have the name: build-tools-22.0.1 - make sure we will be able to use such dirs
Skip cocoapods warnings on Linux and Windows (for tns doctor command).
The text was updated successfully, but these errors were encountered:
CLI has strange requirement for adding
<android_sdk>/tools
and<android_sdk>/platform-tools
to your PATH. Also ANDROID_HOME must be set in order to be able to build for Android. We should remove the requirement for adding these directories to PATH and use everything based on the value of ANDROID_HOME. This will improve the Getting Started experience for Android development as you will have to install Android SDK and set your ANDROID_HOME. Everything should work fine after that.Implementation details:
<android-sdk>/tools
and<android-sdk>/platform-tools
directories to your PATH - use them based on ANDROID_HOME variable.android
directly with correct path to theandroid
executable.build-tools
directories are not called with version(22.0.1
), but have the name:build-tools-22.0.1
- make sure we will be able to use such dirstns doctor
command).The text was updated successfully, but these errors were encountered: