I'm getting White screen after spash on real device (Android 4.4.4)


#1

Hello

I’m getting white screen on the real device and not in emulator or the browser

Works :
$ ionic cordova run android
$ ionic cordova run browser

What doesn’t:
$ ionic cordova build android

here is the source

Thanks


#2

Remote inspect your device with Chrome and see what errors that might be thrown.


#3

not what you suggested but some of light:

$ ./adb logcat | grep cordova
I/dalvikvm(12053): Could not find method android.app.Activity.checkSelfPermission, referenced from method org.apache.cordova.CordovaInterfaceImpl.hasPermission
I/dalvikvm(12053): Could not find method android.app.Activity.requestPermissions, referenced from method org.apache.cordova.CordovaInterfaceImpl.requestPermissions
I/dalvikvm(12053): Could not find method android.webkit.CookieManager.setAcceptThirdPartyCookies, referenced from method org.apache.cordova.engine.SystemCookieManager.<init>
I/dalvikvm(12053): Could not find method android.webkit.CookieManager.flush, referenced from method org.apache.cordova.engine.SystemCookieManager.flush
I/dalvikvm(12053): Could not find method android.webkit.WebViewClient.onReceivedClientCertRequest, referenced from method org.apache.cordova.engine.SystemWebViewClient.onReceivedClientCertRequest
I/dalvikvm(12053): Could not find method android.webkit.PermissionRequest.getResources, referenced from method org.apache.cordova.engine.SystemWebChromeClient.onPermissionRequest
I/dalvikvm(12053): Could not find method android.webkit.WebChromeClient$FileChooserParams.createIntent, referenced from method org.apache.cordova.engine.SystemWebChromeClient.onShowFileChooser

Android SDK is in path from 4.4.4 to 7.1


#4

some says that I need Crosswalk (not sure what it does) but i’m trying


#5

Crosswalk didn’t help


#6

Read this: https://developers.google.com/web/tools/chrome-devtools/remote-debugging/ to see how to use Chrome to inspect your code.

You hopefully will get more useful errors.


#7

Thank you
I’m taking a look


#8

Found this error in the console log

http://dpaste.com/1H99Y3P


#9

seems that is something related to polyfills ad web-animations-js


#10

I’m going to blindly guess that you might benefit from installing @angular/animations.


#11

in addition or instead of ?

Thanks


#12

If you don’t already have it in package.json.