Search code examples
androidphonegap

How to fix a hanging PhoneGap .apk build?


I built a "Hello World" app using PhoneGap Desktop, but now when I try to build an APK on build.phonegap.com, it just hangs. The build has been pending for 2 days now. Is there an alternative way to build the APK?


Solution

  • Go to Console/Terminal
    cd Project Path

    cordova build android
    (or)
    cordova build ios
    

    Go to project path ->platforms -> ios/android in finder(mac)/file explorer(windows)

    It converts android/iOS project and open project in android studio/Xcode and build .apk/.ipa file.