question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Devices NotFoundDeviceByIndexErrorMessage on debug

See original GitHub issue

Tell us about the problem

Please, ensure your title is less than 63 characters long and starts with a capital letter.

I can’t debug in this new version 4.1 of CLI always show this error: Unable to apply changes on device: 0039799762. Error is: Devices.NotFoundDeviceByIndexErrorMessage 39799761 tns

Which platform(s) does your issue occur on?

iOS/Android/Both

Both

Please provide the following version numbers that your issue occurs with:

  • CLI: (run tns --version to fetch it)
  • Cross-platform modules: (check the ‘version’ attribute in the node_modules/tns-core-modules/package.json file in your project)
  • Runtime(s): (look for the "tns-android" and "tns-ios" properties in the package.json file of your project)
  • Plugin(s): (look for the version number in the package.json file of your project)

nativescript CLI: 4.1 node: v9.5.0

Please tell us how to recreate the issue in as much detail as possible.

create a new project and run tns debug android or ios

Is there code involved? If so, please share the minimal amount of code needed to recreate the problem.

Consider using the playground to provide the code you have issues with.

I get this error in any project, inclusive in new project

Issue Analytics

  • State:closed
  • Created 5 years ago
  • Reactions:3
  • Comments:12 (4 by maintainers)

github_iconTop GitHub Comments

1reaction
domzinhuucommented, Jun 21, 2018

Hello @Fatme i dont try use ios@latest but i try remove platform exclude the platform folder and add platform again and nothing, but i’ll try again when update nativescript, because i make a downgrade to try the tips of @mintyweazel and the tips resolve the problem for me.

i’ll update again and try your tips and post here the result.

0reactions
miroslavaivanovacommented, Feb 1, 2019

Closing the issue. I wasn’t able to reproduce it with the latest CLI. Please if anyone has a stable way to reproduce the issue - let me know and I will reopen this one immediately!

Read more comments on GitHub >

github_iconTop Results From Across the Web

How to fix: Error device not found with ADB.exe - Stack Overflow
Go to settings > Developer Options > Enable USB Debugging. (If you don't see Developer Options, Go to Settings > About Phone >...
Read more >
Device not showing up in VSCode, but detected in flutter #1634
I am trying to debug my project with a real Android device (Mi Mix 2S running Android 9.0). It works fine when running...
Read more >
VS 2022 Community x64 17.4.2 still can't debug on Android ...
I have updated my Visual Studio and it stopped deploying to my Android Samsung J5 device. The error I get in Xamarin Diagnostics...
Read more >
An Introduction To Debugging Electric Imp Application Code
The location is in reverse order: the error above ( the index 'a' does not exist ) occurred in functionThree() at line 10,...
Read more >
Bluetooth - ArchWiki
If your /sys/class/bluetooth does not exist, check if your kernel Bluetooth module is loaded by lsmod . If not, and you believe you...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found