Titanium JIRA Archive
Appcelerator Community (AC)

[AC-4019] Genymotion - device not found

GitHub Issuen/a
TypeBug
Priorityn/a
StatusClosed
ResolutionCannot Reproduce
Resolution Date2016-07-20T19:26:45.000+0000
Affected Version/sAppcelerator Studio 4.5.0
Fix Version/sn/a
ComponentsAppcelerator CLI
Labelsandroid
ReporterRicardo Dahel Lopez Torres
AssigneeShak Hossain
Created2016-07-08T23:47:43.000+0000
Updated2016-07-20T19:26:45.000+0000

Description

Greetings. I'm trying to simulate an android application, using Genymotion, everything seems fine until installing the Apk to the desired emulator. At the end of the process, Console shows me the following [INFO] : Installing apk: C:\Users\Rich\Documents\Appcelerator_Studio_Workspace\hola\build\android\bin\hola.apk [ERROR] : Failed to install apk on "192.168.86.101:5555" [ERROR] : Error: device not found Any ideas about how to fix this? Thanks

Comments

  1. Aminul Islam 2016-07-11

    Hi, Thanks for reaching us. To retrieve a list of Android or Genymotion emulators, run the *ti info -p android* command. You need to create an Android emulator or setup Genymotion before running these commands. To create an Android emulator, see [Native Android Debugging and Testing Tools: Creating an emulator](http://docs.appcelerator.com/platform/latest/#!/guide/Native_Android_Debugging_and_Testing_Tools-section-29004938_NativeAndroidDebuggingandTestingTools-Creatinganemulator) To setup Genymotion, see [Installing Genymotion](http://docs.appcelerator.com/platform/latest/#!/guide/Installing_Genymotion). To build for an emulator, run appc run -p android. Because no other options were specified, the CLI launches your default Android emulator and installs the application on it. To launch a specific Android or Genymotion emulator, add the -C option.
       appc run -p android -C "Google Nexus 7 - 4.4.2 - API 19 - 800x1280"
       
    Regards, Aminul
  2. Ricardo Dahel Lopez Torres 2016-07-12

    Hello Aminul Thanks for your kind answer. I got an Android emulator installed already, and my Genymotion is configured following the steps you proportioned. Went to my project folder to run the "appc run -p android" command... I'm putting some images in the following link, which are what I got from Terminal. https://drive.google.com/folderview?id=0B2zCsGkYl79SMXliYVU5S1ZiOFE&usp=sharing Sorry if I'm not allowed to post this kind of stuff, couldn't find another way. Thanks for your help, Dahel
  3. Sharif AbuDarda 2016-07-12

    Hello, In Genymotion portal download a new device. And see if that shows up in the Android run section. If it does, Try running your project using that. Thanks.
  4. Ricardo Dahel Lopez Torres 2016-07-14

    Hi Sharif. Created a new device, it showed up correctly in the Android run section. This is what I got after running my project with it. https://drive.google.com/file/d/0B2zCsGkYl79Sa0F3QWFRN0RnZzg/view?usp=sharing Thanks for helping
  5. Sharif AbuDarda 2016-07-14

    Hello, Does it happens on a newly created project. Can you check?, please. If it does, I would recommend you to reinstall Genymotion system and confugyration following the guide http://docs.appcelerator.com/platform/latest/#!/guide/Installing_Genymotion

JSON Source