KerimG opened a new issue, #348:
URL: https://github.com/apache/cordova/issues/348

   I am trying to build something for a rugged tablet running Android 4.4.4. 
Updating the tablet is currently not possible, unfortunately. 
   
   I set up my environment variables like so
   
   ```
   JAVA_HOME=C:\Program Files\Eclipse Adoptium\jdk-8.0.345.1-hotspot\
   ANDROID_HOME=C:\AndroidSDK
   ANDROID_SDK_ROOT=C:\AndroidSDK
   ```
   
   The path variable includes:
   ```
   C:\Gradle\gradle-7.5.1\bin
   C:\AndroidSDK\cmdline-tools\latest\bin
   C:\AndroidSDK\build-tools\
   C:\AndroidSDK\emulator
   C:\AndroidSDK\platform-tools
   C:\AndroidSDK\tools\bin
   C:\AndroidSDK\tools
   C:\Program Files\Eclipse Adoptium\jdk-8.0.345.1-hotspot\bin
   ```
   
   I created some virtual devices from within Android studio and the output of 
`avdmanager list targets` looks like so:
   ```
   avdmanager list targets
   Available Android targets:==============] 100% Fetch remote repository...
   ----------
   id: 1 or "Google Inc.:Google APIs:19"
        Name: Google APIs
        Type: Add-On
        Vendor: Google Inc.
        Revision: 20
        Based on Android 4.4 (API level 19)
        Libraries:
         * com.google.android.maps (maps.jar)
             API for Google Maps
         * com.android.future.usb.accessory (usb.jar)
             API for USB Accessories
         * com.google.android.media.effects (effects.jar)
             Collection of video effects
   ----------
   id: 2 or "android-19"
        Name: Android API 19
        Type: Platform
        API level: 19
        Revision: 4
   ----------
   id: 3 or "android-20"
        Name: Android API 20
        Type: Platform
        API level: 20
        Revision: 2
   ```
   
   Then I created a cordova project and ran "cordova platform add android@6.2.0"
   
   Then I tried running `cordova requirements` but I always get the following 
output:
   
   ```
   Requirements check results for android:
   Java JDK: installed 1.8.0
   Android SDK: installed true
   Android target: not installed
   cmd: Command failed with exit code 1
   Gradle: installed C:\Gradle\gradle-7.5.1\bin\gradle
   Some of requirements check failed
   ```
   I tried so many different permutations of JDK/SDK/Cordova 
CLI/cordova-platform-android versions but I always get the command failure 
error.
   
   I tried it on multiple different systems, including on Linux, but still.
   
   Would be very grateful for any advice on this.
   


-- 
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: commits-unsubscr...@cordova.apache.org.apache.org

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


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscr...@cordova.apache.org
For additional commands, e-mail: commits-h...@cordova.apache.org

Reply via email to