6 Replies Latest reply on Dec 8, 2016 2:12 AM by Owello

    Appx build failed, nothing in the log




      When trying to build an appx with a certificate, the build failed and the logs doesn't show any useful output.


      AppId: 1165656


      Thanks in advance

        • 1. Re: Appx build failed, nothing in the log
          pomdoeter Level 1

          The logs are not completely empty:


          Build Date: 2016-11-28 14:25:10 +0000

          CertUtil: -dump command completed successfully.

          • 2. Re: Appx build failed, nothing in the log
            kerrishotts Adobe Employee

            It might help to see your config.xml (minus identifying/secret information).

            • 3. Re: Appx build failed, nothing in the log
              Owello Level 1

              I have the same issue.


              Building .appx with CLI 6.4.0 and CLI 6.3.1 fails even with all plugins disabled.

              Changing to CLI 6.3.0 works for now.



              <?xml version='1.0' encoding='utf-8'?>
              <!-- https://build.phonegap.com/docs/config-xml -->
              <widget id="com.owello.yellenge" version="1.5.2" versionCode="1984" xmlns="http://www.w3.org/ns/widgets" xmlns:android="http://schemas.android.com/apk/res/android" xmlns:gap="http://phonegap.com/ns/1.0">
                  <author email="contact@owello.nl" href="https://www.owello.nl">Owello</author>
                  <feature name="http://api.phonegap.com/1.0/device" />
                  <preference name="phonegap-version" value="cli-6.4.0"/>
                  <platform name="winphone" />
                  <icon src="img/logo.png" />
                  <icon src="res/icon/windows-phone/icon-48.png" />
                  <icon role="background" src="res/icon/windows-phone/icon-173-tile.png" />
                  <splash src="res/screen/windows-phone/screen-portrait.jpg" />
                  <content src="index.html" />
              • 4. Re: Appx build failed, nothing in the log
                ryanskihead Adobe Employee

                Looks like windows 4.4.1 was missing from the build servers .. try building now.

                • 5. Re: Appx build failed, nothing in the log
                  pomdoeter Level 1


                  I just try building and it failed again with version cli-6.3.0, cli-6.3.1 and cli-6.4.0.


                  So here is the config file:



                  <?xml version='1.0' encoding='utf-8'?>
                  <widget xmlns     = "http://www.w3.org/ns/widgets"
                          xmlns:gap = "http://phonegap.com/ns/1.0" 
                          id        = "xx.xxx.xxxx" 
                          version   = "1.3.6"> 
                      <author href="https://xxxxxx.xx" email="info@xxxxx.xx" >xxxxx</author><!-- must match the Publisher Display Name from Windows Dev Center -->
                      <content src="index.html" />
                      <preference name="permissions"                value="none"/>
                      <preference name="DisallowOverscroll"         value="true" />
                      <preference name="phonegap-version"           value="cli-6.3.0" />       <!-- all: current version of PhoneGap -->
                      <preference name="orientation"                value="default" />         <!-- all: default means both landscape and portrait are enabled -->
                      <preference name="target-device"              value="universal" />       <!-- all: possible values handset, tablet, or universal -->
                      <preference name="fullscreen"                 value="true" />            <!-- all: hides the status bar at the top of the screen -->
                      <preference name="webviewbounce"              value="true" />            <!-- ios: control whether the screen 'bounces' when scrolled beyond the top -->
                      <preference name="prerendered-icon"           value="true" />            <!-- ios: if icon is prerendered, iOS will not apply it's gloss to the app's icon on the user's home screen -->
                      <preference name="stay-in-webview"            value="false" />           <!-- ios: external links should open in the default browser, 'true' would use the webview the app lives in -->
                      <preference name="detect-data-types"          value="true" />            <!-- ios: controls whether data types (such as phone no. and dates) are automatically turned into links by the system -->
                      <preference name="exit-on-suspend"            value="false" />           <!-- ios: if set to true, app will terminate when home button is pressed -->
                      <preference name="show-splash-screen-spinner" value="true" />            <!-- ios: if set to false, the spinner won't appear on the splash screen during app loading -->
                      <preference name="auto-hide-splash-screen"    value="true" />            <!-- ios: if set to false, the splash screen must be hidden using a JavaScript API -->
                      <preference name="StatusBarStyle"             value="lightcontent"/>
                      <preference name="disable-cursor"             value="false" />            <!-- blackberry: prevents a mouse-icon/cursor from being displayed on the app -->
                      <preference name="android-minSdkVersion"      value="15" />               <!-- android: MIN SDK version supported on the target device. MAX version is blank by default. -->
                      <!-- <preference name="android-targetSdkVersion"   value="23" /> -->      <!-- android: SDK target version supported on the target device. MAX version is blank by default. -->
                      <preference name="android-targetSdkVersion"   value="21" />               <!-- android: SDK target version supported on the target device. MAX version is blank by default. -->
                      <preference name="android-installLocation"    value="auto" />             <!-- android: app install location. 'auto' will choose. 'internalOnly' is device memory. 'preferExternal' is SDCard. -->
                      <preference name="windows-appx-target"       value="8.1-phone" />               <!-- Build for windows phone 8 (compatible with windows phone 10) -->
                      <preference name="windows-identity-name"     value="xxxx.xxxx" /> <!-- must match the App Identity from Windows Dev Center -->
                      <preference name="windows-arch" value="anycpu" />
                    <!-- Redirect console.log to something useful -->
                    <plugin name="cordova-plugin-console" source="npm" spec="~1.0.4"/>
                      <!-- the global js device object: provide info on the undelying device -->
                    <plugin name="cordova-plugin-device" source="npm" spec="~1.1.3"/>
                      <!-- Native notifications dialog for the alert() js function -->
                    <plugin name="cordova-plugin-dialogs" source="npm" spec="~1.3.0"/>
                    <!-- Provides read write files rights -->
                    <plugin name="cordova-plugin-file" source="npm" spec="~4.3.0"/>
                      <plugin name="cordova-plugin-globalization" source="npm" spec="~1.0.4"/>
                    <plugin name="cordova-plugin-inappbrowser" source="npm" spec="~1.5.0"/>
                    <plugin name="cordova-plugin-vibration" source="npm" spec="~2.1.2"/>
                    <plugin name="cordova-plugin-statusbar" source="npm" spec="~2.2.0"/>
                    <plugin name="cordova-plugin-whitelist" source="npm" spec="~1.3.0" />
                      <!-- Third party plugins -->
                      <!-- Define app icon for each platform. -->
                      <icon src="img/logo.png" />
                      <!-- iPhone 6 / 6+ -->
                    <icon src="res/icon/ios/icon-60@3x.png" platform="ios" width="180" height="180" />
                    <!-- iPhone / iPod Touch  -->
                    <icon src="res/icon/ios/icon-60.png" platform="ios" width="60" height="60" />
                    <icon src="res/icon/ios/icon-60@2x.png" platform="ios" width="120" height="120" />
                    <!-- iPad -->
                    <icon src="res/icon/ios/icon-76.png" platform="ios" width="76" height="76" />
                    <icon src="res/icon/ios/icon-76@2x.png" platform="ios" width="152" height="152" />
                    <!-- Settings Icon -->
                    <icon src="res/icon/ios/icon-small.png" platform="ios" width="29" height="29" />
                    <icon src="res/icon/ios/icon-small@2x.png" platform="ios" width="58" height="58" />
                    <!-- Spotlight Icon -->
                    <icon src="res/icon/ios/icon-40.png" platform="ios" width="40" height="40" />
                    <icon src="res/icon/ios/icon-40@2x.png" platform="ios" width="80" height="80" />
                    <!-- iPhone / iPod Touch -->
                    <icon src="res/icon/ios/icon.png" platform="ios" width="57" height="57" />
                    <icon src="res/icon/ios/icon@2x.png" platform="ios" width="114" height="114" />
                    <!-- iPad -->
                    <icon src="res/icon/ios/icon-72.png" platform="ios" width="72" height="72" />
                    <icon src="res/icon/ios/icon-72@2x.png" platform="ios" width="144" height="144" />
                    <!-- iPhone Spotlight and Settings Icon -->
                    <icon src="res/icon/ios/icon-small.png" platform="ios" width="29" height="29" />
                    <icon src="res/icon/ios/icon-small@2x.png" platform="ios" width="58" height="58" />
                    <!-- iPad Spotlight and Settings Icon -->
                    <icon src="res/icon/ios/icon-50.png" platform="ios" width="50" height="50" />
                    <icon src="res/icon/ios/icon-50@2x.png" platform="ios" width="100" height="100" />
                    <icon src="res/icon/android/icon-36-ldpi.png" platform="android" qualifier="ldpi" />
                    <icon src="res/icon/android/icon-48-mdpi.png" platform="android" qualifier="mdpi" />
                    <icon src="res/icon/android/icon-72-hdpi.png" platform="android" qualifier="hdpi" />
                    <icon src="res/icon/android/icon-96-xhdpi.png" platform="android" qualifier="xhdpi" />
                      <icon platform="blackberry" src="res/icon/blackberry/icon-80.png" />
                      <icon platform="blackberry" src="res/icon/blackberry/icon-80.png"     state="hover" />
                      <icon platform="webos"      src="res/icon/webos/icon-64.png" />
                      <icon platform="winphone"   src="res/icon/windows-phone/icon.png" />
                      <icon platform="winphone"   src="res/icon/windows-phone/tileicon.png" role="background" />
                      <!-- Define app splash screen for each platform. -->
                      <!-- iPhone and iPod touch -->
                    <splash platform="ios"        src="res/screen/ios/screen-iphone-portrait.png"           width="320"   height="480" />
                      <splash platform="ios"        src="res/screen/ios/screen-iphone-portrait-2x.png"        width="640"   height="960" />
                    <!-- iPhone 5 / iPod Touch (5th Generation) -->
                    <splash platform="ios"        src="res/screen/ios/screen-iphone-portrait-568h-2x.png"   width="640"   height="1136" />
                    <!-- iPad -->
                    <splash platform="ios"        src="res/screen/ios/screen-ipad-portrait.png"             width="768"   height="1024" />
                    <splash platform="ios"        src="res/screen/ios/screen-ipad-landscape.png"            width="1024"  height="768" />
                      <splash platform="android"    src="res/screen/android/screen-ldpi-portrait.png"         qualifier="port-ldpi" />
                      <splash platform="android"    src="res/screen/android/screen-mdpi-portrait.png"         qualifier="port-mdpi" />
                      <splash platform="android"    src="res/screen/android/screen-hdpi-portrait.png"         qualifier="port-hdpi" />
                      <splash platform="android"    src="res/screen/android/screen-xhdpi-portrait.png"        qualifier="port-xhdpi" />
                      <splash platform="blackberry" src="res/screen/blackberry/screen-225.png" />
                      <splash platform="winphone"   src="res/screen/windows-phone/screen-portrait.jpg" />
                       <!-- iOs language settings (used for widgets rendered by the operating system) -->
                       <!-- see https://developer.apple.com/library/content/documentation/General/Reference/InfoPlistKeyReference/Articles/CoreFoundationKeys.html -->
                       <!-- fallback language and region -->
                       <gap:config-file platform="ios" parent="CFBundleDevelopmentRegion" overwrite="true">
                        <!-- available languages and region -->
                       <gap:config-file platform="ios" parent="CFBundleLocalizations" overwrite="true">
                    <!-- PROD/TEST --> 
                    <!--  <access origin="http://xxxx.xxx" subdomains="true" /> -->
                    <!-- DEV - zum Entwickeln soll man auf alles zugreifen können -->
                    <access origin="*"/> 
                  • 6. Re: Appx build failed, nothing in the log
                    Owello Level 1

                    Sorry for the late response.


                    Building CLI-6.4.0 and CLI-6.3.1 with windows still does not work.


                    As of https://build.phonegap.com/current-support Windows 4.4.3 is required to build with CLI 6.4.0