Titanium JIRA Archive
Appcelerator Community (AC)

[AC-1221] Cant run build on cpecified emulator from cli

GitHub Issuen/a
TypeBug
Priorityn/a
StatusClosed
ResolutionCannot Reproduce
Resolution Date2015-07-24T18:13:51.000+0000
Affected Version/sn/a
Fix Version/sn/a
Componentsn/a
Labelsn/a
ReporterAndrey Tkachenko
AssigneeRadamantis Torres-Lechuga
Created2015-07-18T07:31:15.000+0000
Updated2016-03-08T07:37:36.000+0000

Description

Can't start app on selected emulator device. Titanium cli use last emulator from Genimotion list. ti --no-colors build -p android --target emulator --device-id "Google Nexus 4 - 4.2.2 - API 17 - 768x1280"

Comments

  1. Motiur Rahman 2015-07-24

    Hello [~falko], Please try this command for CLI build
       appc run -p android -C "Google Nexus 4 - 4.2.2 - API 17 - 768x1280"
       
    Also check this below link then let us know. http://docs.appcelerator.com/platform/latest/#!/guide/Appcelerator_CLI_Tasks Thanks
  2. Andrey Tkachenko 2015-07-24

    Recently I was apply Titanium Studio updates. Now both command work as expected for Titanium Studio and Appcelerator Studio projects.
  3. Andrey Tkachenko 2015-10-14

    Again same issue for run example app from android module root folder:
       ti build --project-dir ./android --platform android --device-id "Google Nexus 4 - 4.2.2 - API 17 - 768x1280"
       
    It doing launch emulator: Google Nexus One - 2.3.7 - API 10 - 480x800 This command not work at all:
       appc run -p android -C "Google Nexus 4 - 4.2.2 - API 17 - 768x1280"
       
       Appcelerator Command-Line Interface, version 5.0.3
       Copyright (c) 2014-2015, Appcelerator, Inc.  All Rights Reserved.
       
       ERROR  | No valid targets for run. Are you in a project folder?
       
  4. Andrey Tkachenko 2015-10-14

    For this command it asks me for select target from list. And launch emulator is not same that i select.
       ti build --project-dir ./android --platform android --device-id "any string"
       
  5. Andrey Tkachenko 2015-10-14

  6. Andrey Tkachenko 2015-10-14

JSON Source