# Capacitor 3.0 Live Reload Problem

**URL:** <https://forum.ionicframework.com/t/capacitor-3-0-live-reload-problem/210382>\
**Category:** Capacitor\
**Created:** [May 31, 2021, 1:41pm UTC](https://forum.ionicframework.com/t/capacitor-3-0-live-reload-problem/210382 "2021-05-31T13:41:13Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![thiras](https://sea1.discourse-cdn.com/ionicframework/user_avatar/forum.ionicframework.com/thiras/32/137739_2.png) [@thiras](https://forum.ionicframework.com/u/thiras)\
**Post date:** [May 31, 2021, 1:41pm UTC](https://forum.ionicframework.com/t/capacitor-3-0-live-reload-problem/210382/1 "2021-05-31T13:41:13Z")

</div>

Hello.

My referance tutorial is [this official tutorial](https://ionicframework.com/docs/react/your-first-app/6-deploying-mobile).

I’m on Ubuntu 20.04 up-to-date. Android Studio installed as a snap package and it’s running perfectly. adb server is on and detecting my phone. My phone’s development mode is enabled as well as USB installation. My app runs perfectly on both VM Android and my physical phone through Android studio.

But the problem I’m having that the `ionic cap run android -l --external` command returns an empty list.

And also `ionic capacitor run android --list` command returns `[INFO] No native targets found.`.

I’ve tried with both Android Studio’s adb and Ubuntu’s official repo adb but ended up with no luck. I’ve also tried to run `ionic cap run android -l --external` with `CAPACITOR_ANDROID_STUDIO_PATH=/snap/android-studio/current/android-studio/bin/studio.sh` environment as I did at `ionic cap open android` command but that didn’t help either.

I’ve also tried several combination while app running on my phone through Studio. But none of those combinations worked.

What am I missing?

---

<div class="post-metadata">

**Author:** ![thiras](https://sea1.discourse-cdn.com/ionicframework/user_avatar/forum.ionicframework.com/thiras/32/137739_2.png) [@thiras](https://forum.ionicframework.com/u/thiras)\
**Post date:** [May 31, 2021, 8:13pm UTC](https://forum.ionicframework.com/t/capacitor-3-0-live-reload-problem/210382/2 "2021-05-31T20:13:45Z")

</div>

I’ve solved the problem with reading the source code. Found out `ioinic cap run` commands calls the `native-run` command which is [documented here](https://github.com/ionic-team/native-run). It turns out my problem was `ERR_SDK_NOT_FOUND: No valid Android SDK root found.` by the native-run because of my SDKs are not in default location.

When I passed `ANDROID_HOME` and `CAPACITOR_ANDROID_STUDIO_PATH` environments with the right values and the problem seems solved and everything works flawless.

PS: You can try `--verbose` flag to find out which path the native-run looking for and check against your paths.

---

<div class="post-metadata">

**Author:** ![jschwenk](https://avatars.discourse-cdn.com/v4/letter/j/ecb155/32.png) [@jschwenk](https://forum.ionicframework.com/u/jschwenk)\
**Post date:** [June 2, 2021, 9:48am UTC](https://forum.ionicframework.com/t/capacitor-3-0-live-reload-problem/210382/3 "2021-06-02T09:48:39Z")

</div>

Worked for me, too. Thank you. Lists my real devices now. AVD devices are not shown unfortunately.
