Ionic1 application is crashing on Android


#1

Hi IONIC Team,

I am having trouble to run ionic1 app on android. My app is working fine with IOS and testflight.

In android, app loads landing page and close app on real device. Ionic view on android is also not working.

Here is what I get in logcat:

10-04 12:22:46.432 32604-32604/? E/Zygote: v2
10-04 12:22:46.432 32604-32604/? I/libpersona: KNOX_SDCARD checking this for 10201
10-04 12:22:46.432 32604-32604/? I/libpersona: KNOX_SDCARD not a persona
10-04 12:22:46.436 32604-32604/? E/Zygote: accessInfo : 0
10-04 12:22:46.438 32604-32604/? W/SELinux: SELinux selinux_android_compute_policy_index : Policy Index[2], Con:u:r:zygote:s0 RAM:SEPF_SECMOBILE_7.0_0009, [-1 -1 -1 -1 0 1]
10-04 12:22:46.440 32604-32604/? I/SELinux: SELinux: seapp_context_lookup: seinfo=untrusted, level=s0:c512,c768, pkgname=com.vishalsri007.firstEventAppV1
10-04 12:22:46.457 32604-32604/? I/art: Late-enabling -Xcheck:jni
10-04 12:22:46.482 32604-32604/? D/TimaKeyStoreProvider: TimaSignature is unavailable
10-04 12:22:46.483 32604-32604/? D/ActivityThread: Added TimaKeyStore provider
10-04 12:22:46.516 32604-32604/com.vishalsri007.firstEventAppV1 W/System: ClassLoader referenced unknown path: /data/app/com.vishalsri007.firstEventAppV1-1/lib/arm64
10-04 12:22:46.535 32604-32604/com.vishalsri007.firstEventAppV1 D/ContextRelationMgrBrdg: loadKlass() : caller=com.samsung.android.bridge.multiscreen.common.ContextRelationManagerBridge.:28 android.app.LoadedApk.makeApplication:833
10-04 12:22:46.553 32604-32604/com.vishalsri007.firstEventAppV1 I/CordovaLog: Changing log level to DEBUG(3)
10-04 12:22:46.553 32604-32604/com.vishalsri007.firstEventAppV1 I/CordovaActivity: Apache Cordova native platform version 6.0.0 is starting
10-04 12:22:46.553 32604-32604/com.vishalsri007.firstEventAppV1 D/CordovaActivity: CordovaActivity.onCreate()
10-04 12:22:46.561 32604-32604/com.vishalsri007.firstEventAppV1 W/System: ClassLoader referenced unknown path: /system/app/Chrome/lib/arm64
10-04 12:22:46.565 32604-32604/com.vishalsri007.firstEventAppV1 I/WebViewFactory: Loading com.android.chrome version 56.0.2924.87 (code 292408752)
10-04 12:22:46.594 32604-32604/com.vishalsri007.firstEventAppV1 I/cr_LibraryLoader: Time to load native libraries: 3 ms (timestamps 7334-7337)
10-04 12:22:46.594 32604-32604/com.vishalsri007.firstEventAppV1 I/cr_LibraryLoader: Expected native library version number “56.0.2924.87”, actual native library version number "56.0.2924.87"
10-04 12:22:46.607 32604-32604/com.vishalsri007.firstEventAppV1 I/cr_LibraryLoader: Expected native library version number “56.0.2924.87”, actual native library version number "56.0.2924.87"
10-04 12:22:46.607 32604-32604/com.vishalsri007.firstEventAppV1 I/chromium: [INFO:library_loader_hooks.cc(163)] Chromium logging enabled: level = 0, default verbosity = 0
10-04 12:22:46.613 32604-32604/com.vishalsri007.firstEventAppV1 I/cr_BrowserStartup: Initializing chromium process, singleProcess=true
10-04 12:22:46.631 32604-32604/com.vishalsri007.firstEventAppV1 I/Adreno: QUALCOMM build : 5451aae, I25dc76dc3f
Build Date : 01/02/17
OpenGL ES Shader Compiler Version: XE031.09.00.03
Local Branch :
Remote Branch : refs/tags/AU_LINUX_ANDROID_LA.UM.5.5.R1.07.00.00.269.013
Remote Branch : NONE
Reconstruct Branch : NOTHING
10-04 12:22:46.720 32604-32604/com.vishalsri007.firstEventAppV1 D/SystemWebViewEngine: CordovaWebView is running on device made by: samsung
10-04 12:22:46.727 32604-32604/com.vishalsri007.firstEventAppV1 D/PluginManager: init()
10-04 12:22:46.740 32604-32604/com.vishalsri007.firstEventAppV1 D/FileUtils: Unrecognized extra filesystem identifier: assets
10-04 12:22:46.740 32604-32604/com.vishalsri007.firstEventAppV1 D/CordovaWebViewImpl: >>> loadUrl(file:///android_asset/www/index.html)
10-04 12:22:46.745 32604-32604/com.vishalsri007.firstEventAppV1 I/cr_Ime: ImeThread is enabled.
10-04 12:22:46.755 32604-32644/com.vishalsri007.firstEventAppV1 W/cr_media: Requires BLUETOOTH permission
10-04 12:22:46.760 32604-32604/com.vishalsri007.firstEventAppV1 D/CordovaActivity: Started the activity.
10-04 12:22:46.763 32604-32604/com.vishalsri007.firstEventAppV1 D/CordovaActivity: Resumed the activity.
10-04 12:22:46.775 32604-32604/com.vishalsri007.firstEventAppV1 D/InputTransport: Input channel constructed: fd=109
10-04 12:22:46.776 32604-32604/com.vishalsri007.firstEventAppV1 D/ViewRootImpl@cd5d50c[MainActivity]: setView = DecorView@13d8e55[MainActivity] touchMode=true
10-04 12:22:46.790 32604-32658/com.vishalsri007.firstEventAppV1 E/libEGL: validate_display:99 error 3008 (EGL_BAD_DISPLAY)
10-04 12:22:46.803 32604-32657/com.vishalsri007.firstEventAppV1 I/OpenGLRenderer: Initialized EGL, version 1.4
10-04 12:22:46.803 32604-32657/com.vishalsri007.firstEventAppV1 D/OpenGLRenderer: Swap behavior 1
10-04 12:22:46.805 32604-32658/com.vishalsri007.firstEventAppV1 W/AudioCapabilities: Unsupported mime audio/mpeg-L1
10-04 12:22:46.806 32604-32658/com.vishalsri007.firstEventAppV1 W/AudioCapabilities: Unsupported mime audio/mpeg-L2
10-04 12:22:46.806 32604-32604/com.vishalsri007.firstEventAppV1 D/ViewRootImpl@cd5d50c[MainActivity]: MSG_RESIZED_REPORT: ci=Rect(0, 72 - 0, 0) vi=Rect(0, 72 - 0, 0) or=1
10-04 12:22:46.807 32604-32657/com.vishalsri007.firstEventAppV1 D/libGLESv1: STS_GLApi : DTS is not allowed for Package : com.vishalsri007.firstEventAppV1
10-04 12:22:46.807 32604-32604/com.vishalsri007.firstEventAppV1 D/ViewRootImpl@cd5d50c[MainActivity]: MSG_WINDOW_FOCUS_CHANGED 1
10-04 12:22:46.807 32604-32604/com.vishalsri007.firstEventAppV1 V/InputMethodManager: Starting input: tba=android.view.inputmethod.EditorInfo@b9135f8 nm : com.vishalsri007.firstEventAppV1 ic=null
10-04 12:22:46.807 32604-32604/com.vishalsri007.firstEventAppV1 I/InputMethodManager: [IMM] startInputInner - mService.startInputOrWindowGainedFocus
10-04 12:22:46.811 32604-32617/com.vishalsri007.firstEventAppV1 D/InputTransport: Input channel constructed: fd=115
10-04 12:22:46.817 32604-32658/com.vishalsri007.firstEventAppV1 W/AudioCapabilities: Unsupported mime audio/x-ms-wma
10-04 12:22:46.818 32604-32658/com.vishalsri007.firstEventAppV1 W/AudioCapabilities: Unsupported mime audio/x-ima
10-04 12:22:46.819 32604-32658/com.vishalsri007.firstEventAppV1 W/VideoCapabilities: Unrecognized profile 2130706433 for video/avc
10-04 12:22:46.819 32604-32658/com.vishalsri007.firstEventAppV1 W/VideoCapabilities: Unrecognized profile 2130706434 for video/avc
10-04 12:22:46.823 32604-32604/com.vishalsri007.firstEventAppV1 D/CordovaWebViewImpl: onPageDidNavigate(file:///android_asset/www/index.html)
10-04 12:22:46.823 32604-32604/com.vishalsri007.firstEventAppV1 V/InputMethodManager: Starting input: tba=android.view.inputmethod.EditorInfo@3d26936 nm : com.vishalsri007.firstEventAppV1 ic=null
10-04 12:22:46.828 32604-32658/com.vishalsri007.firstEventAppV1 W/VideoCapabilities: Unrecognized profile 2130706433 for video/avc
10-04 12:22:46.828 32604-32658/com.vishalsri007.firstEventAppV1 W/VideoCapabilities: Unrecognized profile 2130706434 for video/avc
10-04 12:22:46.829 32604-32658/com.vishalsri007.firstEventAppV1 W/VideoCapabilities: Unrecognized profile 2130706433 for video/avc
10-04 12:22:46.829 32604-32658/com.vishalsri007.firstEventAppV1 W/VideoCapabilities: Unrecognized profile 2130706434 for video/avc
10-04 12:22:46.834 32604-32658/com.vishalsri007.firstEventAppV1 W/VideoCapabilities: Unsupported mime video/wvc1
10-04 12:22:46.835 32604-32658/com.vishalsri007.firstEventAppV1 W/VideoCapabilities: Unsupported mime video/x-ms-wmv
10-04 12:22:46.849 32604-32658/com.vishalsri007.firstEventAppV1 W/VideoCapabilities: Unrecognized profile/level 1/32 for video/mp4v-es
10-04 12:22:46.849 32604-32658/com.vishalsri007.firstEventAppV1 W/VideoCapabilities: Unrecognized profile/level 32768/2 for video/mp4v-es
10-04 12:22:46.849 32604-32658/com.vishalsri007.firstEventAppV1 W/VideoCapabilities: Unrecognized profile/level 32768/64 for video/mp4v-es
10-04 12:22:46.851 32604-32658/com.vishalsri007.firstEventAppV1 W/VideoCapabilities: Unsupported mime video/wvc1
10-04 12:22:46.852 32604-32658/com.vishalsri007.firstEventAppV1 W/VideoCapabilities: Unsupported mime video/x-ms-wmv
10-04 12:22:46.853 32604-32658/com.vishalsri007.firstEventAppV1 W/VideoCapabilities: Unsupported mime video/x-ms-wmv7
10-04 12:22:46.855 32604-32658/com.vishalsri007.firstEventAppV1 W/VideoCapabilities: Unsupported mime video/x-ms-wmv8
10-04 12:22:46.856 32604-32658/com.vishalsri007.firstEventAppV1 W/VideoCapabilities: Unsupported mime video/mp43
10-04 12:22:46.869 32604-32658/com.vishalsri007.firstEventAppV1 I/VideoCapabilities: Unsupported profile 4 for video/mp4v-es
10-04 12:22:46.884 32604-32658/com.vishalsri007.firstEventAppV1 W/VideoCapabilities: Unsupported mime video/sorenson
10-04 12:22:46.897 32604-32658/com.vishalsri007.firstEventAppV1 D/libGLESv2: STS_GLApi : DTS is not allowed for Package : com.vishalsri007.firstEventAppV1
10-04 12:22:46.909 32604-32604/com.vishalsri007.firstEventAppV1 W/cr_BindingManager: Cannot call determinedVisibility() - never saw a connection for the pid: 32604
10-04 12:22:48.044 32604-32604/com.vishalsri007.firstEventAppV1 D/JsMessageQueue: Set native->JS mode to EvalBridgeMode
10-04 12:22:48.546 32604-32604/com.vishalsri007.firstEventAppV1 W/cr_BindingManager: Cannot call determinedVisibility() - never saw a connection for the pid: 32604
10-04 12:22:48.558 32604-32604/com.vishalsri007.firstEventAppV1 D/CordovaWebViewImpl: onPageFinished(file:///android_asset/www/index.html#/app/landingPage)
10-04 12:22:48.783 32604-32604/com.vishalsri007.firstEventAppV1 D/SystemWebChromeClient: file:///android_asset/www/js/landing.js: Line 12 : Hi landing page ctrl
10-04 12:22:48.783 32604-32604/com.vishalsri007.firstEventAppV1 I/chromium: [INFO:CONSOLE(12)] “Hi landing page ctrl”, source: file:///android_asset/www/js/landing.js (12)
10-04 12:22:48.785 32604-32604/com.vishalsri007.firstEventAppV1 D/SystemWebChromeClient: file:///android_asset/www/js/landing.js: Line 19 : Hi landing page ctrl After local storage selectedLanguage
10-04 12:22:48.785 32604-32604/com.vishalsri007.firstEventAppV1 I/chromium: [INFO:CONSOLE(19)] “Hi landing page ctrl After local storage selectedLanguage”, source: file:///android_asset/www/js/landing.js (19)
10-04 12:22:51.374 32604-32743/com.vishalsri007.firstEventAppV1 I/App: WARNING: Back Button Default Behavior will be overridden. The backbutton event will be fired!
10-04 12:22:51.402 32604-32604/com.vishalsri007.firstEventAppV1 D/ViewRootImpl@cd5d50c[MainActivity]: MSG_WINDOW_FOCUS_CHANGED 0
10-04 12:22:51.404 32604-32604/com.vishalsri007.firstEventAppV1 D/CordovaActivity: Paused the activity.
10-04 12:22:51.408 32604-32743/com.vishalsri007.firstEventAppV1 W/PluginManager: THREAD WARNING: exec() call to CoreAndroid.exitApp blocked the main thread for 30ms. Plugin should use CordovaInterface.getThreadPool().
10-04 12:22:51.630 32604-32604/com.vishalsri007.firstEventAppV1 D/InputTransport: Input channel destroyed: fd=115
10-04 12:22:51.988 32604-32604/com.vishalsri007.firstEventAppV1 D/CordovaActivity: Stopped the activity.
10-04 12:22:51.988 32604-32604/com.vishalsri007.firstEventAppV1 D/CordovaActivity: CordovaActivity.onDestroy()
10-04 12:22:51.989 32604-32604/com.vishalsri007.firstEventAppV1 D/CordovaWebViewImpl: >>> loadUrl(about:blank)
10-04 12:22:51.989 32604-32604/com.vishalsri007.firstEventAppV1 W/cr_AwContents: WebView.destroy() called while WebView is still attached to window.
10-04 12:22:51.999 32604-32604/com.vishalsri007.firstEventAppV1 D/ViewRootImpl@cd5d50c[MainActivity]: dispatchDetachedFromWindow
10-04 12:22:52.007 32604-32604/com.vishalsri007.firstEventAppV1 D/InputTransport: Input channel destroyed: fd=109

Please assist.

Thanks,
Vishal