Monaca Onsen UI Discord Chat Github Repo

Build in Monaca doesn't works - Migration of Phonegap



  • Hi!
    I’m have a cordova project and used to generate the builds on Phonegap. I zip the files: www, res, config.xml and package.json but the build doesn’t works!

    The log file of a Android Build:

    [23:43:35] Installing “cordova-plugin-camera” for android
    [23:43:35] Subproject Path: CordovaLib
    [23:43:35] Subproject Path: app
    [23:43:35] Adding cordova-plugin-camera to package.json
    [23:43:35] config file -Info.plist requested for changes not found at /tmp/download/platforms/android/-Info.plist, ignoring
    [23:43:35] config file -Info.plist requested for changes not found at /tmp/download/platforms/android/-Info.plist, ignoring
    [23:43:35] config file -Info.plist requested for changes not found at /tmp/download/platforms/android/-Info.plist, ignoring
    [23:43:35] config file -Info.plist requested for changes not found at /tmp/download/platforms/android/-Info.plist, ignoring
    [23:43:35] config file undefined requested for changes not found at /tmp/download/platforms/android/undefined, ignoring
    [23:43:35] config file undefined requested for changes not found at /tmp/download/platforms/android/undefined, ignoring
    [23:43:35] The “path” argument must be of type string. Received type undefined
    [23:43:35] + cordova build android --debug --device
    [23:43:37] config file -Info.plist requested for changes not found at /tmp/download/platforms/android/-Info.plist, ignoring
    [23:43:37] config file -Info.plist requested for changes not found at /tmp/download/platforms/android/-Info.plist, ignoring
    [23:43:37] config file -Info.plist requested for changes not found at /tmp/download/platforms/android/-Info.plist, ignoring
    [23:43:37] config file -Info.plist requested for changes not found at /tmp/download/platforms/android/-Info.plist, ignoring
    [23:43:37] config file undefined requested for changes not found at /tmp/download/platforms/android/undefined, ignoring
    [23:43:37] config file undefined requested for changes not found at /tmp/download/platforms/android/undefined, ignoring
    [23:43:37] The “path” argument must be of type string. Received type undefined
    [23:43:37] + APP_FILE=/tmp/download/platforms/android/app/build/outputs/apk/debug/app-debug.apk
    [23:43:37] ++ curl -X POST http://192.168.1.17:3001/upload -F name=android-debug.apk -F file=@/tmp/download/platforms/android/app/build/outputs/apk/debug/app-debug.apk -o /dev/null -w ‘%{http_code}’
    [23:43:38] Warning: setting file
    [23:43:38] Warning: /tmp/download/platforms/android/app/build/outputs/apk/debug/app-debug.
    [23:43:38] Warning: apk failed!
    [23:43:38] % Total % Received % Xferd Average Speed Time Time Time Current
    [23:43:38] Dload Upload Total Spent Left Speed
    [23:43:38]
    0 0 0 0 0 0 0 0 --:–:-- --:–:-- --:–:-- 0
    [23:43:38]
    100 274
    [23:43:38] 0 0 0 274 0 133k --:–:-- --:–:-- --:–:-- 133k
    [23:43:38] curl: (26) read function returned funny value
    [23:43:38] + HTTP_RESPONSE=100