Is there a guide for how to set the env variable in Ubuntu? I install exp & ran ‘exp path’ command & printed the path. However, my Expo XDE is none the wiser. Where do I have to store this env variable?
Thanks for looking into this.
Is there a guide for how to set the env variable in Ubuntu? I install exp & ran ‘exp path’ command & printed the path. However, my Expo XDE is none the wiser. Where do I have to store this env variable?
Thanks for looking into this.
man you are a life saver thank you so so much really i had stuck in this issue from today’s morning Hat’s off
OH my God!!! Finally someone managed to help! Thanks a lot!!!
And thanks a lot to @williamwlchan for the link!
I just added afterwards ‘exp path’ and that worked fine! Cheers!!!
P.S This should be added to the Docs!!!
Hey Guys,
I was also stuck on a mac, so here is a step-by-step guide that worked for me. It might be a bit too detailed but I wanted to make it as easy to follow as possible. I was missing some key points and spent way too much time figuring out what was wrong in the original documentation, so this might be helpful to you as well:
Option 1: Use Android Studio’s tools
export ANDROID_HOME=/Users/username/Library/Android/sdk
export PATH=/Users/username/Library/Android/sdk/platform-tools:$PATH
echo 'export PATH=$PATH:~/Library/Android/sdk/platform-tools/' >> ~/.bash_profile
source ~/.bash_profile
adb devices
Step 2: Set your path in XDE
npm install -g exp
in the terminalexp path
in the terminalNow start Expo XDE and after opening the project choose ‘open on Android’. It should work fine now. If this guide helped for you please share which part was problematic for you, maybe the Expo guys will add extra info in the documentation to the most problematic parts. Thx!
Thanks! That helped me also.
even if i am unable to install genymotion could you plzzz help me
I have a project in XDE that loads in the Expo app on my phone, I have Genymotion set up and configured to look for the Android tools in the official SDK, and exp path
includes Genymotion/tools/
. When I open a new emulator, adb devices
reports correctly and XDE identifies an Android device, but when I try to open the project in the emulator, XDE reports Opening on Android device
and nothing happens.
Thanks for your solved the problem I was having!
I resolved this problem by following steps:
1: like @gollyjer said: Add adb path to let expo know where adb is : Expo needs to know where to run the Android adb tool and it can only know via the operating systems Environment Variables
2: if you already installed sdk before, please re-check and remove it from PATH environment. for my case: E:\Android\sdk\platform-tools (I added when I install Androistudio )
hey gollyjer, Thank you so much. It’s worked for me !!
I dont think we need Genymotion anymore. Android Studios emulators itself it quite fast now after the latest release now.
Gracias era la solucion
Awesome, It helped me
Omg man !! So thanx!!! I stuck on this like 2 days.
People like you make the world better!!
thanks you so much !!
hey sinhnt you don’t hit on new right way /// select path on the lists and hit edit and add a new location under path … I can help you out personally if you want … ping me on Instagram @revincoaster have a great day man
I’m having this same issue, how did you resolve it?