-
Notifications
You must be signed in to change notification settings - Fork 267
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
Debugger doesn't work (can't run on Android, on iOS console is not linked) #777
Comments
Running into the same issue |
Same problem, wasted a lot of time with it today |
Happens also on my mac, trying to run the same code as @FRizzonelli's |
Same issue. Guess it is related to the latest release (0.6.14) published today. |
Same here. ...and the output of |
Lost some hours on this issue today, simply stopped working for me too. I can confirm that RN-Tools 0.6.14 is the problem... downgrading to 0.6.13 works fine: Workaround for downgrading: 1.: Edit your VS Code's user setting to disable auto update by adding the following setting. 2.: Download the previous version of the RN-Tools extension from this URL 3.: Rename from .VSIXPackage to .VSIX 4.: In VS Code, press CTRL + SHIFT + P or (CMD+SHIFT+P) on Mac, then type VSIX 5.:Enter the the Extension: install from VSIX command. This will launch a file picker windows. 6.: Choose the VSIX file that you've just downloaded. 7.: Reload VS code to enable the installed plug in. |
same here! Can't debug my app since 0.6.14. Downgrading work |
While the idea of taking the path from local.properties sounds wonderful, it also doesn't work on Windows. However when the extension directly takes this path, it fails and signals that it cannot find the adb command (invalid path). After unescaping the path above I ran into the same issue as everyone else regarding not being able to find the "simulator" device. I am not trying to run this in a simulator, but on a physical device just like before. |
update react-native-tools, same to me. now is 0.6.14 I also "solved" the problem by reverting to 0.6.13. |
My target emulated device is named
Unfortunately, this seems to cause both debug and release variants to be built. My release build fails and so debugging doesn't start. |
Hey guys, we’ve shipped new version of extension v0.6.15 with a fix, please try it out, we are sorry for inconvenience. |
Thanks for the prompt response, @ruslan-bikkinin. 0.6.15 appears to fix the |
Still no console output for me too on 0.6.15. |
Same problem. |
tested 0.6.15 and got below
and a long |
Hey guys, I’m really sorry for this things happened, I’ve reverted recent changes which broke us for now and created v0.6.16. We’ll investigate and test all the things carefully again but for now things should work as usual. Again I apologise for this, will do our best to prevent such things in future. |
@ruslan-bikkinin , perhaps the isaacs' which utility is convenient for you: const which = require('which')
/**
* Find the first instance of the adb executable in the PATH.
* @returns the normalized path of adb, or null if not found.
*/
function findAdbExec () {
return which.sync('adb', { nothrow: true })
} Also, there'are the enviroment vars |
I get the following error on the latest version of the extension, on running debug on android
and also can anyone tell where can i see the console.log(), I am new to using this tool ? and this is my launch.json
|
Hi @kryptonian41 please see this comment #758 (comment). ;TLDR This is a nodejs issue, use nodejs v10.5 or lower to avoid it until v10.10 will be released. |
I installed the extension 3 days ago and faced the same issue mentioned by @Tilwin90 here in this comment thread. Then I uninstalled the extension but since then my react-native app builds successfully but doesn't open in debug mode. However, bundling in the release mode, the app opens successfully. More on this issue in my SO question here. I also created a new react-native project and pulled the working code of my app into the new RN project but still the issue persists. Interestingly, my other react-native apps open in the debug mode except for the one in which I installed this extension. Please help. |
Hi @msnikhil, could you please submit separated issue? I am guessing that your problem is not connected with the one being discussed in this thread. |
Hi guys, we just released v0.6.17 that included all the fixes for given problems and get back changes reverted from 0.6.14-0.6.15. That's why I am going to close this issue, so if problem is still persists for anybody (it shouldn't though) please submit new issue. |
Actual Behavior
Expected Behavior
Software versions
Outputs (Include if relevant)
This is really strange to me, I'm using this extension from like 1 year without a problem. Today all of a sudden it stopped working.
I'm not able to run on Android device (which was working perfectly) and on iOS simulator the app starts but console isn't linked. The weirdest thing is that I didn't update anything, this morning was working, then it stopped 😢
Already tried to:
I have no more ideas.. Any help is really appreciated!
The text was updated successfully, but these errors were encountered: