You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@cordova.apache.org by "kuanyui (via GitHub)" <gi...@apache.org> on 2024/09/06 05:47:52 UTC

Re: [I] cordova prepare throw exception [cordova-android]

kuanyui commented on issue #1675:
URL: https://github.com/apache/cordova-android/issues/1675#issuecomment-2333279243

   Also encountered exactly the same error message, platform
   
   - Linux
   - `node` 20.03
       - `cordova` 12.0.0
   - `openjdk` 21.0.4 
       - `gradle` 8.10
       - `android-studio` 2024.1.2
   
   Create project via
   ```sh
   cordova create myapp
   cd myapp
   cordova platform add android
   cordova run --emulator
   ```
   
   And finally found the reason in this issue https://github.com/apache/cordova-android/issues/1717 --- that it's necessary to **manually startup** an Android emulator in Android Studio (`Android Studio -> (right sidebar) Running Devices`) before running `cordova run --emulator`.
   
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: issues-unsubscribe@cordova.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@cordova.apache.org
For additional commands, e-mail: issues-help@cordova.apache.org