-
-
Notifications
You must be signed in to change notification settings - Fork 197
tns run android just starts emulator but does not deploy app on it #1576
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
I confirm this is a bug on our side and it should be fixed in our next release. |
Steps to reproduce:
|
@rosen-vladimirov , |
@DeepakDonde you'll have to wait for our next release in order to get it working. Meanwhile you can use the suggested workaround - start the emulator before calling |
I have tried the workaround but I am getting following error - |
@DeepakDonde Please navigate to |
@rosen-vladimirov
Find log here - |
this is also happens with genymotion based device too. |
@vyscond have you updated your CLI to 1.7.0 ? In case not, can you try updating it and see if it works :) |
Running 1.7.0 version. But i think i "solved" my issue. I realized this morning that you guys are supporting (by default) the level 17 as minimum API and i current use a level 16. |
Hi :) :config phase: createDefaultIncludeFiles :config phase: pluginExtend :config phase: copyAarDependencies :config phase: addAarDependencies FAILURE: Build failed with an exception.
BUILD FAILED Total time: 1 mins 16.409 secs run android┌────────────────┬──────────────────────────────────────────────────────────┐ Runs your project on a connected Android device or in a native Android emulator, if configured. This is shorthand for prepare, build and deploy. While your app is running, prints the output from the application in the console. Options
Attributes
Sending exception report (press Ctrl+C to stop)..... |
Hi, I face this problem still. Additionally the option --watch doesn't work too. I see in log that app has been deployed or refreshed but the app is only deployed on a phone but not started. I have tried with API 23 and 24. All NativeScript components versions information Cheers, |
I have a variation of this: my setup USED to work OK till recently. Over the last week or so, it fails to start the app on the emulator. It does deploy, though: I can click on the app in the emulator and run the version that was just deployed. But this means I can't DEBUG - in fact, on Windows, the debug browser window comes up, but shows no code. |
Any update on this? I have same issue when I follow http://docs.nativescript.org/angular/tutorial/ng-chapter-1#11-install-nativescript-and-configure-your-environment |
$ tns run android
Starting Android emulator with image Emulator-Api23-Default Cannot run your app in the native emulator. Increase the timeout of the operation with the --timeout
option or try to restart your adb server with 'adb kill-server' command. Alternatively, run the Android Virtual
Device manager and increase the allocated RAM for the virtual device. |
Im with the same problem
I ran the ´´´´tns doctor´´´´and didn't find any issue |
I had the same problem with Mac OS X, so I tried to launch the AVD directly from the AVD Manager and there was an error. |
Worked for me after closing Docker on Mac. |
I think the emulator somehow conflicts with Docker on Mac. I faced the same issue, and just like @joney000 , i solved it by closing Docker. |
I'm still experiencing this issue, and I don't have Docker, Parallels, or VirtualBox running. |
@Kjens93 and other that experience the same issue, can you try reproducing it with CLI's 3.0.0.rc1 version?
So we'll see where the process is hanging |
Never mind, turns out the system image for my emulator was missing. |
When i run app by using command 'tns run android' , emulator launches but app not deploy also command got terminate. u can see code below etech@etech-406:/var/www/html/nativeApp/HelloWorld$ tns run android Searching for devices... |
Good companions I have a big problem: I want to run an application from VS Code with Nativescript. I use "adb devices" and visualize my physical device or emulator ... But if I use "tns devices" it tells me that it does not find anything. When doing "tns run android": And I'm desperate ... it's like there's a conflict with my |
Hello @rosen-vladimirov ,
I have recently get rid of this issue.
Now I am getting issue while running the app.
when I run "tns run android" from cmd, emulator gets started and nothing happens after it launches.
Earlier when I have connected android device and run the same command I was getting following error.
Processing node_modules failed. TypeError: Invalid Version: 1.?2.0 (in red color on cmd)
Sending exception report (press Ctrl+C to stop).....
Also please find attached log file for log trace.
log.txt
Please help.
Thanks in advance.
The text was updated successfully, but these errors were encountered: