Titanium JIRA Archive
Appcelerator Community (AC)

[AC-5114] Studio: Android emulator build fails when emulator name has spaces/underscores in it

GitHub Issuen/a
TypeBug
Priorityn/a
StatusClosed
ResolutionFixed
Resolution Date2017-08-08T19:51:59.000+0000
Affected Version/sn/a
Fix Version/sn/a
Componentsn/a
Labelsn/a
ReporterRene Pot
AssigneeShak Hossain
Created2017-07-28T14:13:42.000+0000
Updated2017-08-08T19:51:59.000+0000

Description

I've set up a new mac and tried to compile for an Android Emulator created in android studio. It wouldn't allow me to start the emulator or install an app on it. The name of the Emulator was the default one (Nexus 5X API 23) and it always fails. Studio creates the name with underscores (Nexus_5X_API_23) and displays it without underscores. When compiling from CLI I provide the name with underscores and all works at first go. In studio the name is provided without underscores and then will fail to compile for it as it cannot find the simulator.

Comments

  1. Aminul Islam 2017-07-30

    Hello, Thanks for reaching us. Would you mind if I request more details about this problem? We have tested this issue with following Emulator name and unable to reproduce this issue.
    Google Nexus 6 - 5.0.0 - API 21
    Test Environment
       Appcelerator Command-Line Interface, version 6.2.2 
       Operating System
         Name                        = Mac OS X
         Version                     = 10.11.6
         Architecture                = 64bit
         # CPUs                      = 4
         Memory                      = 8589934592
       Node.js
         Node.js Version             = 4.4.4
         npm Version                 = 2.15.1
       Titanium CLI
         CLI Version                 = 5.0.14
       Titanium SDK
         SDK Version                 = 6.1.1.GA
       
    Regards, Aminul
  2. Sharif AbuDarda 2017-07-31

    Hello, We recommend using default emulator created with Android SDK or using Genymotion emulator http://docs.appcelerator.com/platform/latest/#!/guide/Installing_Genymotion. Please use emulator created by either one of them. Which supports with Appcelerator. Emulator created with Android studio might not work, and we don't recommend it. Thanks.
  3. Rene Pot 2017-08-04

  4. Sharif AbuDarda 2017-08-08

JSON Source