Skip to content

Issues since update 1.5: tns doctor not working. ANDROID_HOME not recognised. Cannot add android platform #1275

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
FabioThe1 opened this issue Nov 28, 2015 · 2 comments

Comments

@FabioThe1
Copy link

After the update to 1.5 following issues occured:

  • In the 1.5 installation log shows this error message:
    The ANDROID_HOME environment variable is not set or it points to a non-existent directory. You will not be able to perform any build-related operations for Android.
    To be able to perform Android build-related operations, set the ANDROID_HOME variable to point to the root of your Android SDK installation directory.

ANDROID_HOME environment variable is not set correctly.

  • tns doctor and tns platform add android showing this error:
    Cannot read property 'match' of null
@barryhippo
Copy link

so do I. Wait how to resolve.

@rosen-vladimirov
Copy link
Contributor

Hi @FabioThe1 and @barryhippo
The issue you have faced is related to missing cocoapods on your machine. The issue is already logged here and we'll fix it for our next release. As a workaround I recommend you to execute sudo gem install cocoapods.
I'm closing this thread as it is duplicate of the mentioned one :) Feel free to contact us in case you have any other problems or concerns.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants