8 Replies Latest reply on Aug 25, 2016 7:37 AM by Chris W. Griffith

    Windows gives me an error when uploading my app

    radedesign Level 1

      Hi all,

       

      I wonder if anybody else has the same problem. When I upload my app to PhoneGap it gives me an error in the windows sections. I just started doing it recently. I didn't have this problem before. I know that ios always gives me an error because I don't have a key for it yet. I contacted the support center, but haven't gotten any answer. Anybody can help please?

      Thanks,

      Rade

       

      Here is the screenshot of it:

      Screen Shot 2016-08-24 at 11.43.57 AM.png

        • 1. Re: Windows gives me an error when uploading my app
          VectorP Level 4

          Well, what does the build log say?

          • 3. Re: Windows gives me an error when uploading my app
            kerrishotts Adobe Community Professional

            Please post it as a gist or pastebin so we can see it.

            • 4. Re: Windows gives me an error when uploading my app
              radedesign Level 1

              Sorry, here you go

               

              Build Date: 2016-08-23 20:35:09 +0000

              --------------------------------------------------------------------------------

              PLUGIN OUTPUT

              --------------------------------------------------------------------------------

              Fetching plugin "cordova-plugin-battery-status@~1.1.1" via npm

              Installing "cordova-plugin-battery-status" at "1.1.2" for windows

              Fetching plugin "cordova-plugin-camera@~2.1.1" via npm

              Installing "cordova-plugin-camera" at "2.1.1" for windows

              Fetching plugin "cordova-plugin-media-capture@~1.2.0" via npm

              Installing "cordova-plugin-media-capture" at "1.2.0" for windows

              Fetching plugin "cordova-plugin-file" via npm

              Installing "cordova-plugin-file" at "4.2.0" for windows

              Fetching plugin "cordova-plugin-compat" via npm

              Installing "cordova-plugin-compat" at "1.0.0" for windows

               

              The Android Persistent storage location now defaults to "Internal". Please check this plugins README to see if you application needs any changes in its config.xml.

               

              If this is a new application no changes are required.

               

              If this is an update to an existing application that did not specify an "AndroidPersistentFileLocation" you may need to add:

               

                "<preference name="AndroidPersistentFileLocation" value="Compatibility" />"

               

              to config.xml in order for the application to find previously stored files.

              Fetching plugin "cordova-plugin-console@~1.0.2" via npm

              Installing "cordova-plugin-console" at "1.0.3" for windows

              Fetching plugin "cordova-plugin-contacts@~2.0.1" via npm

              Installing "cordova-plugin-contacts" at "2.0.1" for windows

              Fetching plugin "cordova-plugin-device@~1.1.1" via npm

              Installing "cordova-plugin-device" at "1.1.2" for windows

              Fetching plugin "cordova-plugin-device-motion@~1.2.0" via npm

              Installing "cordova-plugin-device-motion" at "1.2.1" for windows

              Fetching plugin "cordova-plugin-device-orientation@~1.0.2" via npm

              Installing "cordova-plugin-device-orientation" at "1.0.3" for windows

              Fetching plugin "cordova-plugin-dialogs@~1.2.0" via npm

              Installing "cordova-plugin-dialogs" at "1.2.1" for windows

              Plugin "cordova-plugin-file" already installed on windows. Making it top-level.

              Fetching plugin "cordova-plugin-file-transfer@~1.5.0" via npm

              Installing "cordova-plugin-file-transfer" at "1.5.1" for windows

              Dependent plugin "cordova-plugin-file" already installed on windows.

              Fetching plugin "cordova-plugin-geolocation@~2.1.0" via npm

              Installing "cordova-plugin-geolocation" at "2.1.0" for windows

              Fetching plugin "cordova-plugin-globalization@~1.0.3" via npm

              Installing "cordova-plugin-globalization" at "1.0.3" for windows

              Fetching plugin "cordova-plugin-inappbrowser@~1.3.0" via npm

              Installing "cordova-plugin-inappbrowser" at "1.3.0" for windows

              Fetching plugin "cordova-plugin-media@~2.2.0" via npm

              Installing "cordova-plugin-media" at "2.2.0" for windows

              Dependent plugin "cordova-plugin-file" already installed on windows.

              Fetching plugin "cordova-plugin-network-information@~1.2.0" via npm

              Installing "cordova-plugin-network-information" at "1.2.1" for windows

              Fetching plugin "cordova-plugin-splashscreen@~3.2.1" via npm

              Installing "cordova-plugin-splashscreen" at "3.2.2" for windows

              Fetching plugin "cordova-plugin-statusbar@~2.1.2" via npm

              Installing "cordova-plugin-statusbar" at "2.1.3" for windows

              Fetching plugin "cordova-plugin-vibration@~2.1.0" via npm

              Installing "cordova-plugin-vibration" at "2.1.1" for windows

              Fetching plugin "cordova-plugin-whitelist@~1.2.1" via npm

              Installing "cordova-plugin-whitelist" at "1.2.2" for windows

              Building project: C:\cygwin\tmp\gimlet\2228375\project\CordovaApp.Windows10.jsproj

              Configuration : debug

              Platform : x86

              C:\cygwin\tmp\gimlet\2228375\project\build\windows\debug\x86\win10\AppxManifest.xml : error APPX0501: Validation error. error C00CE014: App manifest validation error: The app manifest must be valid as per schema: Line 35, Column 6, Reason: Element '{http://schemas.microsoft.com/appx/manifest/uap/windows10}Capability' is unexpected according to content model of parent element '{http://schemas.microsoft.com/appx/manifest/foundation/windows10}Capabilities'. Expecting: {http://schemas.microsoft.com/appx/manifest/foundation/windows10}DeviceCapability. [C:\cygwin\tmp\gimlet\2228375\project\CordovaApp.Windows10.jsproj]

              • 5. Re: Windows gives me an error when uploading my app
                radedesign Level 1

                I solved the problem by removing all of the plugins from the config.xml page

                • 6. Re: Windows gives me an error when uploading my app
                  Chris W. Griffith Adobe Community Professional

                  I doubt you need all of those anyway in your app.

                   

                  Let's us know if you find out which one might be the problem

                   

                  Chris

                  • 7. Re: Windows gives me an error when uploading my app
                    radedesign Level 1

                    Hi Chris,

                     

                    At the end I only removed this one <plugin name="cordova-plugin-geolocation" source="npm" spec="~2.1.0"/> and everything works

                    • 8. Re: Windows gives me an error when uploading my app
                      Chris W. Griffith Adobe Community Professional

                      The latest version is 2.2, you might try bumping the spec and seeing if there it works.

                       

                      cg