We use cookies to ensure that we give you the best experience on our website. If you continue to use this site we will assume that you are happy with it.

How to Build for Mobile with Cordova?

Home Forums General Questions How to Build for Mobile with Cordova?

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
  • #50667

    Hi, Verge3D newbie having issues with trying to create a test build for Android with Cordova.

    I’ve followed the instructions available here to the letter: https://www.soft8soft.com/docs/manual/en/introduction/Creating-Mobile-Apps.html and despite serveral hours trying to troubleshoot and multiple attempts on both Windows and Ubuntu I have failed miserably.

    The command: cordova requirements returns this:

    Requirements check results for android:
    Java JDK: installed 1.8.0
    Android SDK: installed true
    Android target: not installed 
    Command failed with ENOENT: avdmanager list target
    spawn avdmanager ENOENT
    Gradle: installed /opt/gradle/gradle-7.4.1/bin/gradle
    Some of requirements check failed

    Whilst the following command cordova emulate android returns:

    A problem occurred evaluating script.
    > Ambiguous method overloading for method io.github.g00fy2.versioncompare.Version#isLowerThan.
      Cannot resolve which method to invoke for [null] due to overlapping prototypes between:
            [class io.github.g00fy2.versioncompare.Version]
            [class java.lang.String]

    Are the instructions at the link above in need of updating? Or I am doing something wrong? I’ve installed the latest versions of Android Studio, Cordova and Gradle. Perhaps there’s a specific combination of versions for those tools required?

    Any help would be much appreciated.

    Thanks all


    Never mind I figured it out myself. I’d accidentally installed the lastest Java SDK (version 18) instead of the JRE version lower down the page! I also had to rename a couple of files in the Android Studio package for a sucessful build but I got it working eventually.


    sorry for not responding earlier…glad you worked it out! :good:

    Chief 3D Verger | LinkedIn | Twitter


    @renderkick was so happy to see you post on this! I have been running into the same snag… are you able to share what specific rename edits you made in Android Studio to get the apk to build? I have the exact same problem with Gradle requirements returning an AVD manager error.

Viewing 4 posts - 1 through 4 (of 4 total)
  • You must be logged in to reply to this topic.