3 Replies Latest reply on Nov 2, 2016 3:50 AM by jeremyg85066773

    Google Nexus 6 shows blank screen for apk created by phonegap site.

    jeremyg85066773

      Hello

       

      Here is our live google play store url

      https://play.google.com/store/apps/details?id=com.instantautosite.oneshop

      This build is created by phonegap build site (https://build.phonegap.com/)

      We have used ionic html framework for this app.

       

      We use phonegap 6.3.0 cli version

       

      <preference name="phonegap-version" value="cli-6.3.0" />

      <plugin name="cordova-plugin-splashscreen" source="npm" version="4.0.0"/>

      <plugin name="cordova-plugin-network-information" source="npm" version="1.3.0" />

      <plugin name="cordova-plugin-statusbar" source="npm" version="2.2.0" />

      <plugin name="cordova-plugin-device" source="npm" version="1.1.3" />

      <plugin name="cordova-plugin-dialogs" source="npm" version="1.3.0" />

      <plugin name="cordova-plugin-inappbrowser" source="npm" version="1.5.0" />

       

      also we have added some basic config preference for splashscreen related also and all is fine in other devices.

       

      We checked almost all device and it working fine.

      but last few days it shows blank screen on google nexus 6 device. (not open any page)

      it has android 6 version.

      it not shows any error log in console log

      so can you please help me for this issue related. ?

        • 1. Re: Google Nexus 6 shows blank screen for apk created by phonegap site.
          kerrishotts Adobe Community Professional

          Has the app ever worked on the Nexus 6?

           

          If so, has the system web view been updated on the Nexus 6 since the app was tested? I've seen occasions where a Google update to the system web view will break apps, which is one reason I highly suggest using the Crosswalk plugin. It's a little more difficult to use with PGB since you have to specify which APK architecture you want built, but it can help prevent issues like this.

           

          ARM Crosswalk for PGB: cordova-plugin-crosswalk-webview-pgb-adapt-arm

           

          Also -- which console are you referring to? Javascript console or Device?

          • 2. Re: Google Nexus 6 shows blank screen for apk created by phonegap site.
            jeremyg85066773 Level 1

            ok thank you.

            We are using javascript console.

            we use phonegap build console for testing purpose which is selected while creating application from Adobe PhoneGap Build.
            like this url http://prntscr.com/d21u7w
             

            • 3. Re: Google Nexus 6 shows blank screen for apk created by phonegap site.
              jeremyg85066773 Level 1

              When i rebuild using


              <gap:plugin name="cordova-plugin-crosswalk-webview-pgb-adapt" source="npm" version="1.4.0-dev-5"/>


              ARM Crosswalk for PGB: cordova-plugin-crosswalk-webview-pgb-adapt-arm

              I see below type error and build failed.

               

              FAILURE: Build failed with an exception.

               

              * What went wrong:

              Execution failed for task ':transformClassesWithDexForRelease'.

              > com.android.build.api.transform.TransformException: com.android.ide.common.process.ProcessException: java.util.concurrent.ExecutionException: com.android.dex.DexException: Multiple dex files define Landroid/support/annotation/AnimRes;

               

              * Try:

              Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output.

               

              BUILD FAILED

               

              Total time: 23.596 secs

              Error: /project/gradlew: Command failed with exit code 1 Error output:

              Note: Some input files use or override a deprecated API.

              Note: Recompile with -Xlint:deprecation for details.

              Note: Some input files use or override a deprecated API.

              Note: Recompile with -Xlint:deprecation for details.

              Note: Some input files use or override a deprecated API.

              Note: Recompile with -Xlint:deprecation for details.

              Note: Some input files use unchecked or unsafe operations.

              Note: Recompile with -Xlint:unchecked for details.

               

              FAILURE: Build failed with an exception.

               

              * What went wrong:

              Execution failed for task ':transformClassesWithDexForRelease'.

              > com.android.build.api.transform.TransformException: com.android.ide.common.process.ProcessException: java.util.concurrent.ExecutionException: com.android.dex.DexException: Multiple dex files define Landroid/support/annotation/AnimRes;