0

I'm following the First Ionic App with React tutorial Ionic Tutorial

I'm having a problem in the live reload section of the tutorial Live reload section of the tutorial when I try to run the ionic cap run android -l --external command it throws the following error: [ERROR] No devices or emulators found.

Error

I already have installed the following SDK plataforms Plataforms

and tools Tools

I'm on Ubuntu 22.04.3 LTS 64-bits

Thanks in advance

I've followed the tutorial step by step and the Live Reload server should start up, and the native IDE of choice should open if not opened already.

6
  • what is giving : adb devices on terminal ? Commented Aug 17, 2023 at 7:26
  • Hi, it gives: 09:10:40 gabriel@ThinkPad-T460 photo-gallery ±|master ✗|→ adb devices List of devices attached R9TMB0BNP4J device The device also appears on android studio Device in android studio Commented Aug 17, 2023 at 13:25
  • Ok. So if adb can detect thats ok. Close and open again vscode or whatever editor you use. Have you done : export ANDROID_SDK_ROOT="/home/myhome/Android/Sdk" export ANDROID_HOME="/myhome/myhome/Android/Sdk" Commented Aug 18, 2023 at 7:34
  • developer.android.com/tools/variables Check the threat forum.ionicframework.com/t/… Commented Aug 18, 2023 at 7:36
  • 1
    Hi stefani, thanks a lot for your help, the problem is already solved, the only little 'inconvenience' is that I changed the npm global default directory so I have to change the source back and forth, I don't know if there is a more elegant way to manage the environments, but so far it is working fine, thanks again. Commented Aug 19, 2023 at 3:19

0

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.