[AC-4019] Genymotion - device not found
GitHub Issue | n/a |
---|---|
Type | Bug |
Priority | n/a |
Status | Closed |
Resolution | Cannot Reproduce |
Resolution Date | 2016-07-20T19:26:45.000+0000 |
Affected Version/s | Appcelerator Studio 4.5.0 |
Fix Version/s | n/a |
Components | Appcelerator CLI |
Labels | android |
Reporter | Ricardo Dahel Lopez Torres |
Assignee | Shak Hossain |
Created | 2016-07-08T23:47:43.000+0000 |
Updated | 2016-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
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
Regards, Aminul
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
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.
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
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