Cannot use device

4 posts, 0 answers
  1. Pablo
    Pablo avatar
    31 posts
    Member since:
    Feb 2015

    Posted 19 Jul 2015 Link to this post

    Its giving tis error:

    C:\Users\​xx xx\Dropbox\goblintech\ac001\Auto Compartido>appbuilder device
    Command failed: C:\Windows\system32\cmd.exe /s /c "C:\Users\xx xx\AppData\Roaming\npm\node_modules\a
    ppbuilder\lib\common\resources\platform-tools\android\win32\adb start-server"
    "C:\Users\​xx" no se reconoce como un comando interno o externo,
    programa o archivo por lotes ejecutable.

     

     Please help.

  2. Pablo
    Pablo avatar
    31 posts
    Member since:
    Feb 2015

    Posted 19 Jul 2015 in reply to Pablo Link to this post

    Cant deploy

    C:\Users\​xx ​xx\Dropbox\goblintech\ac001\Auto Compartido>appbuilder deploy android
    Command failed: C:\Windows\system32\cmd.exe /s /c "C:\Users\​xx ​xx\AppData\Roaming\npm\node_modules\appbuilder\lib\
    common\resources\platform-tools\android\win32\adb start-server"
    "C:\Users\xx" no se reconoce como un comando interno o externo,
    programa o archivo por lotes ejecutable.

     

    or other command with android, it work with ios

  3. Tsvetomir
    Admin
    Tsvetomir avatar
    17 posts

    Posted 20 Jul 2015 Link to this post

    Hello Pablo,

    Thank you for reporting this issue, I can confirm it is a bug in our CLI.

    From the error message I see that the Windows OS username you use contains spaces, which is why the Android-related commands fail. As a workaround until a fix is released, I suggest that you install and configure the path to the Android SDK:
    • Download the Android SDK from here https://developer.android.com/sdk/index.html#Other
    • Follow the installation steps, described here https://developer.android.com/sdk/installing/index.html?pkg=tools. Note that, the installation path should not contain spaces.
    • After the installation is complete, add the following file paths to the PATH system environment variable:
      • Path to tools directory in the Android SDK installation folder. For example, PATH=..;..;C:\Android\android-sdk\tools
      •  Path to platform-tools directory in the Android SDK installation folder. For example, PATH=..;..;C:\Android\android-sdk\platform-tools
    Now, AppBuilder CLI will use the Android-related tools from the SDK and both commands should work.

    As a token of our gratitude for your report, I've updated your Telerik points.

    Kind Regards, Tsvetomir
    Telerik
     

    Visit the Telerik Verified Plugins Marketplace and get the custom Cordova plugin you need, already tweaked to work seamlessly with AppBuilder.

     
  4. Pablo
    Pablo avatar
    31 posts
    Member since:
    Feb 2015

    Posted 24 Jul 2015 in reply to Tsvetomir Link to this post

    Thanks its working
Back to Top