Closed thejacer87 closed 4 years ago
Hi @thejacer87 and thanks for reaching us. We tried to reproduce this problem and found out that it occurred in case trying to debug an Expo application using Debug Android
scenario. There is Debug in Exponent
scenario in the extension to debug such applications.
Could you please try to launch Debug in Exponent
scenario for debugging?
Seems that you have correct configuration for terminal, but for some reasons system graphical shell doesn't pick up PATH
parameters.
Could you please also try to do the following changes in ~/.bashrc
and .~/.bash_profile
files to provide correct PATH
parameters to the graphical shell:
.~/.bash_profile
:
~/.bashrc
fileif [ -f $HOME/.bashrc ]; then
source $HOME/.bashrc
fi
source ~/.bash_profile
source ~/.bashrc
Also please make sure that ~/.profile
contains something like this to forward all settings from ~/.bashrc
:
if [ -n "$BASH_VERSION" ]; then
# include .bashrc if it exists
if [ -f "$HOME/.bashrc" ]; then
. "$HOME/.bashrc"
fi
fi
If there isn't such code in ~/.profile
add it to this file:
nano ~/.profile
source ~/.profile
Please let us know about your results.
was able to get it running with debug in exponent. thanks. im just getting started with RN so didnt know there was a difference
Actual Behavior
Expected Behavior
Software versions
Outputs (Include if relevant)
[Info] Prewarming bundle cache. This may take a while ...
[Info] Entry point doesn't exist neither at index.js nor index.android.js. Skip prewarming...
[Info] Building and running application.
[Error] Error: Error while executing command 'adb devices': Command failed: adb devices /bin/sh: adb: command not found
$ echo $PATH /home/thejacer87/.local/bin:/usr/local/bin:/usr/local/sbin:/usr/bin:/usr/lib/jvm/default/bin:/usr/bin/site_perl:/usr/bin/vendor_perl:/usr/bin/core_perl:/home/thejacer87/Android/flutter/bin:/home/thejacer87/Android/Sdk/platform-tools
Loading dependency graph, done. [Info] Packager started.
[Info] Prewarming bundle cache. This may take a while ...
[Info] Entry point doesn't exist neither at index.js nor index.android.js. Skip prewarming...
[Info] Building and running application.
[Error] Error: Android project not found. (error code 1203)