title: Error [fatal] ERR_SUBPROCESS_NON_ZERO_EXIT while 'npx cap run android --list'
body: <p>When I try to <code>npx cap run android</code> command I'm getting <code>[fatal] ERR_SUBPROCESS_NON_ZERO_EXIT</code>.</p>
  <p><code>npx cap open android</code> work what I expected and I can lunch the application via android studio on my real device.</p>
  <p>These are my capacitor version;</p>
  <pre><code> npx cap doctor android
  
     Capacitor Doctor   
  
  Latest Dependencies:
  
    @capacitor/cli: unknown
    @capacitor/core: unknown
    @capacitor/android: unknown
    @capacitor/ios: unknown
  
  Installed Dependencies:
  
    @capacitor/ios: not installed
    @capacitor/cli: 3.0.0
    @capacitor/core: 3.0.0
    @capacitor/android: 3.0.0
  
  [success] Android looking great! 
  </code></pre>
  <pre><code>npx cap run   
              
  ✔ Please choose a platform to run: › android
  ✔ Copying web assets from build to apps/mobile/android/app/src/main/assets/public in 39.06ms
  ✔ Creating capacitor.config.json in apps/mobile/android/app/src/main/assets in 1.44ms
  ⠙ copy android [info] Found 1 Cordova plugin for android:
         cordova-plugin-ionic@5.4.7
  ✔ copy android in 93.34ms
  ✔ Updating Android plugins in 10.88ms
  [info] Found 1 Cordova plugin for android:
         cordova-plugin-ionic@5.4.7
  ⠙ update android [warn] Plugins are missing dependencies.
         Cordova plugin dependencies must be installed in your project (e.g. w/ npm install).
         
         cordova-plugin-ionic is missing dependencies:
         - cordova-plugin-whitelist (^1.3.3)
         
  ✔ update android in 76.39ms
  [error] ERR_SUBPROCESS_NON_ZERO_EXIT
  </code></pre>
  <p><strong>Actually, I want to run livereload mode but I'm getting a similar error:</strong></p>
  <pre><code>ionic capacitor run android --livereload --external
  
  [ERROR] Error while getting Capacitor CLI version.
          
          ERR_SUBPROCESS_NON_ZERO_EXIT
  </code></pre>
  <p>Does anyone help me? Thank you.</p>