1 Reply Latest reply on Mar 25, 2016 10:35 AM by ryanskihead

    Phonegap Build Android fails everytime

    valeriob14716925 Level 1

      In last days Andoir build fails averutime with this plugins configuration:

       

       

      <preference name="android-minSdkVersion" value="15" /> <!-- Android only to set a minimun version of Android SO compatible with app -->

      <preference name="android-build-tool" value="gradle" /> <!-- Android only to build apk using Gradle instead Ant -->

      <preference name="orientation" value="portrait" /> <!-- All platform to block screen rotation -->

       

      <platform name="ios">

        <preference name="DisallowOverscroll" value="true" />

        <preference name="target-device" value="handset" />

      </platform>

       

        <!--############################# PLUGIN ###############################-->

      <plugin name="cordova-plugin-whitelist" spec="1.2.1" source="npm" />

      <allow-navigation href="*" />

      <access origin="*" />

      <allow-intent href="*" />

       

       

          <plugin name="cordova-plugin-filepath" spec="1.0.2" source="npm" /> <!-- Android only to resolve file path from filesystem -->

          <plugin name="cordova-plugin-file" spec="4.1.1" source="npm" />

          <plugin name="cordova-plugin-file-transfer" spec="1.5.0" source="npm" />

          <plugin name="cordova-plugin-inappbrowser" spec="1.3.0" source="npm" />

          <plugin name="cordova-plugin-device" spec="1.1.1" source="npm" />

          <plugin name="cordova-plugin-network-information" spec="1.2.0" source="npm" />

          <plugin name="cordova-plugin-camera" spec="2.1.1" source="npm" />

          <plugin name="cordova-plugin-geolocation" spec="2.1.0" source="npm" />

          <plugin name="cordova-plugin-splashscreen" spec="3.2.1" source="npm" />

          <plugin name="cordova-plugin-google-analytics" spec="0.8.1" source="npm" /> <!-- iOS & Android only -->

          <plugin name="cordova-plugin-x-socialsharing"   spec="5.0.11" source="npm" /> <!-- Facebook direct share is available only for iOS, Android-->

          <plugin name="phonegap-plugin-barcodescanner" spec="4.1.0" source="npm" /> <!-- Used only in Android version - Official Phonegap plugin barcodescanner -->

       

      <plugin name="phonegap-plugin-push" spec="1.6.1" source="npm" >

        <param name="SENDER_ID" value="XXXXXXXXXXX" />

      </plugin>

       

          <!-- Facebook login | iOS & Android only-->

        <plugin name="cordova-plugin-facebook4" spec="1.7.0" source="npm">

              <param name="APP_ID" value="XXXXXXXXXXXXXX" />

              <param name="APP_NAME" value="Checkit" />

        </plugin>

       

       

      <!-- StatusBar -->

      <plugin name="cordova-plugin-statusbar" spec="2.1.2" source="npm" />

      <preference name="StatusBarOverlaysWebView" value="false" />

      <preference name="StatusBarBackgroundColor" value="#085d34" />

      <!-- StatusBar Authorization ** Deprecated <feature> tag **-->

      <feature name="StatusBar">

          <param name="ios-package" value="CDVStatusBar" onload="true" />

      </feature>

       

       

        <!-- Geolocation Authorization ** Deprecated <feature> tag **-->

      <feature name="Geolocation">

          <param name="ios-package" value="CDVLocation" />

          <param name="android-package" value="org.apache.cordova.geolocation.GeoBroker" />

      </feature>