Nativescript: tns run android not work

Created on 21 Nov 2017  路  2Comments  路  Source: NativeScript/NativeScript

After I setup the android environment , I run tns run android in my project folder, but I got Cannot find connected devices error. But I have installed two emulators.

wx20171121-163257 2x

question

Most helpful comment

I have solved this issue. Before I have followed this tutorial to install the android-sdk and I installed android-sdk by homebrew, but after that I installed the Android Studio, it will also download and installed Android SDK, so there are two Android SDK on my mac environment, the solution is uninstall android-sdk installed by homebrew and change the ANDROID_HOME path to the SDK where the Android Studio placed.
wx20171121-165938 2x

All 2 comments

I have solved this issue. Before I have followed this tutorial to install the android-sdk and I installed android-sdk by homebrew, but after that I installed the Android Studio, it will also download and installed Android SDK, so there are two Android SDK on my mac environment, the solution is uninstall android-sdk installed by homebrew and change the ANDROID_HOME path to the SDK where the Android Studio placed.
wx20171121-165938 2x

This thread has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

dhanalakshmitawwa picture dhanalakshmitawwa  路  3Comments

vtisnado picture vtisnado  路  3Comments

NickIliev picture NickIliev  路  3Comments

Pourya8366 picture Pourya8366  路  3Comments

NordlingDev picture NordlingDev  路  3Comments