Quantcast
Channel: Ionic Framework - Ionic Forum
Viewing all articles
Browse latest Browse all 48981

Ionic capacitor run android --list cant find devices

$
0
0

Hello, I’m trying to run ionic capacitor run but it doesn’t find any device. Nor the emulator or physical android phone.
Running it from android studio works.

ionic capacitor run android  --list
[INFO] No native targets found.
adb devices                                                                                               
List of devices attached
R9MN3010VFJ	device
emulator-5554	device
 avdmanager list                                                                                                                                 17:21:20
Available Android Virtual Devices:
    Name: Pixel_3a_API_30_x86
  Device: pixel_3a (Google)
    Path: /home/baj/.android/avd/Pixel_3a_API_30_x86.avd
  Target: Google APIs (Google Inc.)
          Based on: Android 11.0 (R) Tag/ABI: google_apis/x86
    Skin: pixel_3a
  Sdcard: 800 MB
Available devices definitions:
id: 0 or "tv_1080p"
    Name: Android TV (1080p)
    OEM : Google
    Tag : android-tv

Might be missing something on my system ? (Linux)
Thanks

Ionic version: 6.16.1

Ionic info:

ionic info                                                                                                                              314ms  17:31:15
[WARN] Error loading @capacitor/ios package.json: Error: Cannot find module '@capacitor/ios/package'
       
       Require stack:
       - /home/baj/.npm-packages/lib/node_modules/@ionic/cli/lib/project/index.js
       - /home/baj/.npm-packages/lib/node_modules/@ionic/cli/lib/index.js
       - /home/baj/.npm-packages/lib/node_modules/@ionic/cli/index.js
       - /home/baj/.npm-packages/lib/node_modules/@ionic/cli/bin/ionic

Ionic:

   Ionic CLI       : 6.16.1 (/home/baj/.npm-packages/lib/node_modules/@ionic/cli)
   Ionic Framework : @ionic/react 5.6.8

Capacitor:

   Capacitor CLI      : 3.0.0
   @capacitor/android : 3.0.0
   @capacitor/core    : 3.0.0
   @capacitor/ios     : not installed

Utility:

   cordova-res : not installed globally
   native-run  : 1.3.0

System:

   NodeJS : v14.17.0 (/usr/bin/node)
   npm    : 7.15.1
   OS     : Linux 5.4

1 post - 1 participant

Read full topic


Viewing all articles
Browse latest Browse all 48981

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>