★ wanayoo — archive 1999 https://github.com/NativeScript/android-runtime/issues/1631Nouvelle recherche | Portail wanayoo
Skip to content
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

Nativescript tns run android (application is not running on device) #1631

Open
kukurt123 opened this issue Aug 6, 2020 · 1 comment
Open

Nativescript tns run android (application is not running on device) #1631

kukurt123 opened this issue Aug 6, 2020 · 1 comment

Comments

@kukurt123
Copy link

@kukurt123 kukurt123 commented Aug 6, 2020

Component nativescript has 6.8.1-rc.1 version and is up to date.
Component tns-core-modules has 6.5.12 version and is up to date.
Component tns-android has 6.5.2 version and is up to date.
Component tns-ios has 6.5.2 version and is up to date.

story

When i do tns run ios, all is fine but tns run android just gives me error like this. I tried both device and emulator but the same result.

i have done:

reinstall platforms,node_module,hooks. tns doctor has no error done
clearing cache on webstorm(android studio project has no problem
running) created new {N} file with tns create but same error occured
putting 'applicationId = "org.nativescript.fagck_app"' on my
app.gradle file. restarted PC/adb multiple times. ran tns debug android --debug-brk but still same error occured
reinstall brew jdk8

terminal:

Installing on device 2744b499...
Successfully installed on device with identifier '2744b499'.
Application org.nativescript.fagck_app is not running on device 2744b499.
This issue may be caused by:
* crash at startup (try tns debug android --debug-brk to check why it crashes)
* different application identifier in your package.json and in your gradle files (check your identifier in package.json and in all *.gradle files in your App_Resources directory)
* device is locked
* manual closing of the application
Unable to apply changes on device: 2744b499. Error is: Application org.nativescript.fagck_app is not running.

@NathanaelA
Copy link
Member

@NathanaelA NathanaelA commented Oct 16, 2020

Can you verify if the app was installed on your application. This is almost always a id mixup.
Check your package.json & nsconfig.json file to make sure they match, also verify that it matches what is in your gradle files.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Linked pull requests

Successfully merging a pull request may close this issue.

None yet
2 participants
You can’t perform that action at this time.