Application is crashing on Android


#1

My application is crashing on android. I am building the android application with the usual command:

>ionic add platform android
>ionic build platform android
>ionic run android

My phone is of course connected and when the application is starting it automatically crash displaying an error message
I deleted the whole platform folder and edited my config.xml and repeat the same process but still getting the same result.
I also noticed that the application folder is not present in my android files tough I successfully installed the program.
I used the ADT emulator with

>ionic emulate android

but still crashing.
I exported the project on my mac and try all the ios build and run command everything is working perfectly.
Finally I build and run android on the mac and emulate it , but the app is still crashing


#2

What error message do you get?

Try using:

ionic run android -c -s

to get console (-c) and server (-s) output from the app as it runs. This might help you get a more descriptive error message.


#3

Thanks, but I did try what you recommended am not getting any error message in the console but on the phone the alert message error is unfortunately " app name " has stop.
Is there any explication why I can not see the com.company.appname folder in my files on android.
I have to say that I recently updated my Android Development Tools


#4

I’m sorry Jean, but I’ve exhausted my troubleshooting capabilities. I think you’ll have to look to someone else for an answer to this one. Good luck!


#5

Hi @jeanPokou,

What happens when you create and install a blank / fresh application?:

ionic start ExampleProject blank
cd ExampleProject
ionic platform add android
ionic build android
adb install -r platforms/android/ant-build/ExampleProject-debug.apk

If the above works without error we can safely say it is something to do with your code, not your Ionic / Cordova / Android configuration.

It will provide a good starting point for troubleshooting.

Regards,


#6

Yes I tried created another blank project , and it built and run correctly on the android.
What part of my code can I blame , when everything is working in the browser as well as on ios platform.


#7

Hi @jeanPokou,

We have two options:

  1. Upload your code so we can have a look
  2. Run ‘adb logcat’ and provide us the crash stack-trace so we can get a better idea on what is actually happening

Since we’ve narrowed down the problem to your code or project setup, we would need more information on what you’re trying to do.

Regards,


#8

thanks @nicraboy, I run ‘adb logcat’ and here is the lines I am getting:

>>> loadUrl(file:///android_asset/www/index.html) D/PluginManager( 1059): init() W/System.err( 1059): java.lang.ClassNotFoundException: org.apache.cordova.file.FileUtils W/System.err( 1059): at java.lang.Class.classForName(Native Method) W/System.err( 1059): at java.lang.Class.forName(Class.java:251) W/System.err( 1059): at java.lang.Class.forName(Class.java:216) W/System.err( 1059): at org.apache.cordova.PluginManager.instantiatePlugin(PluginManager.java:345) W/System.err( 1059): at org.apache.cordova.PluginManager.getPlugin(PluginManager.java:189) W/System.err( 1059): at org.apache.cordova.PluginManager.startupPlugins(PluginManager.java:114) W/System.err( 1059): at org.apache.cordova.PluginManager.init(PluginManager.java:92) W/System.err( 1059): at org.apache.cordova.CordovaWebView.loadUrlIntoView(CordovaWebView.java:383) W/System.err( 1059): at org.apache.cordova.CordovaWebView.loadUrlIntoView(CordovaWebView.java:368) W/System.err( 1059): at org.apache.cordova.CordovaWebView.loadUrl(CordovaWebView.java:363) W/System.err( 1059): at org.apache.cordova.CordovaActivity.loadUrl(CordovaActivity.java:372) W/System.err( 1059): at com.ionicframework.ebolaSurveyor.EbolaSurveyor.onCreate(EbolaSurveyor.java:32) W/System.err( 1059): at android.app.Activity.performCreate(Activity.java:5231) W/System.err( 1059): at android.app.Instrumentation.callActivityOnCreate(Instrumentation.java:1087) W/System.err( 1059): at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2159) W/System.err( 1059): at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2245) W/System.err( 1059): at android.app.ActivityThread.access$800(ActivityThread.java:135) W/System.err( 1059): at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1196) W/System.err( 1059): at android.os.Handler.dispatchMessage(Handler.java:102) W/System.err( 1059): at android.os.Looper.loop(Looper.java:136) W/System.err( 1059): at android.app.ActivityThread.main(ActivityThread.java:5017) W/System.err( 1059): at java.lang.reflect.Method.invokeNative(Native Method) W/System.err( 1059): at java.lang.reflect.Method.invoke(Method.java:515) W/System.err( 1059): at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:779) W/System.err( 1059): at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:595) W/System.err( 1059): at dalvik.system.NativeStart.main(Native Method) W/System.err( 1059): Caused by: java.lang.NoClassDefFoundError: org/apache/cordova/file/FileUtils W/System.err( 1059): ... 26 more W/System.err( 1059): Caused by: java.lang.ClassNotFoundException: Didn't find class "org.apache.cordova.file.FileUtils" on path: DexPathList[[zip file "/data/app/com.ionicframework.ebolaSurveyor-1.apk"],nativeLibraryDirectories=[/data/app-lib/com.ionicframework.ebolaSurveyor-1, /system/lib]] W/System.err( 1059): at dalvik.system.BaseDexClassLoader.findClass(BaseDexClassLoader.java:56) W/System.err( 1059): at java.lang.ClassLoader.loadClass(ClassLoader.java:497) W/System.err( 1059): at java.lang.ClassLoader.loadClass(ClassLoader.java:457) W/System.err( 1059): ... 26 more I/System.out( 1059): Error adding plugin org.apache.cordova.file.FileUtils. D/AndroidRuntime( 1059): Shutting down VM W/dalvikvm( 1059): threadid=1: thread exiting with uncaught exception (group=0xb1ad7ba8) E/AndroidRuntime( 1059): FATAL EXCEPTION: main E/AndroidRuntime( 1059): Process: com.ionicframework.ebolaSurveyor, PID: 1059 E/AndroidRuntime( 1059): java.lang.RuntimeException: Unable to start activity ComponentInfo{com.ionicframework.ebolaSurveyor/com.ionicframework.ebolaSurveyor.EbolaSurveyor}: java.lang.NullPointerException E/AndroidRuntime( 1059): at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2195) E/AndroidRuntime( 1059): at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2245) E/AndroidRuntime( 1059): at android.app.ActivityThread.access$800(ActivityThread.java:135) E/AndroidRuntime( 1059): at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1196) E/AndroidRuntime( 1059): at android.os.Handler.dispatchMessage(Handler.java:102) E/AndroidRuntime( 1059): at android.os.Looper.loop(Looper.java:136) E/AndroidRuntime( 1059): at android.app.ActivityThread.main(ActivityThread.java:5017) E/AndroidRuntime( 1059): at java.lang.reflect.Method.invokeNative(Native Method) E/AndroidRuntime( 1059): at java.lang.reflect.Method.invoke(Method.java:515) E/AndroidRuntime( 1059): at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:779) E/AndroidRuntime( 1059): at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:595) E/AndroidRuntime( 1059): at dalvik.system.NativeStart.main(Native Method) E/AndroidRuntime( 1059): Caused by: java.lang.NullPointerException E/AndroidRuntime( 1059): at org.apache.cordova.PluginManager.getPlugin(PluginManager.java:191) E/AndroidRuntime( 1059): at org.apache.cordova.PluginManager.startupPlugins(PluginManager.java:114) E/AndroidRuntime( 1059): at org.apache.cordova.PluginManager.init(PluginManager.java:92) E/AndroidRuntime( 1059): at org.apache.cordova.CordovaWebView.loadUrlIntoView(CordovaWebView.java:383) E/AndroidRuntime( 1059): at org.apache.cordova.CordovaWebView.loadUrlIntoView(CordovaWebView.java:368) E/AndroidRuntime( 1059): at org.apache.cordova.CordovaWebView.loadUrl(CordovaWebView.java:363) E/AndroidRuntime( 1059): at org.apache.cordova.CordovaActivity.loadUrl(CordovaActivity.java:372) E/AndroidRuntime( 1059): at com.ionicframework.ebolaSurveyor.EbolaSurveyor.onCreate(EbolaSurveyor.java:32) E/AndroidRuntime( 1059): at android.app.Activity.performCreate(Activity.java:5231) E/AndroidRuntime( 1059): at android.app.Instrumentation.callActivityOnCreate(Instrumentation.java:1087) E/AndroidRuntime( 1059): at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2159) E/AndroidRuntime( 1059): ... 11 more W/ActivityManager( 394): Force finishing activity com.ionicframework.ebolaSurveyor/.EbolaSurveyor
Thanks


#9

Hi @jeanPokou,

The following line is what we want:

I could be wrong, but I’m going to take a wild guess that you’re using ngCordova and are trying to access the file system.

You may be suffering from one of the following:

  • You forgot to include the Apache Cordova File plugin
  • The plugin got mangled in your Android build. Maybe try removing the plugin and then re-adding if this is the case.
  • The plugin needs to be used only after the onDeviceReady has fired
  • The plugin itself has a bug and you need to contact the developer

Your stack-trace doesn’t show what line the code is failing at, so I can’t help you determine if it is bad code. See if you can get me more information relating to the bullet items I listed.

Regards,


#10

Thanks @nicraboy , you were right I used ngCordova and I think they made some updates on the file and ionic keyboard plugins.
I didn’t have the correct ones on my cordova plugin ls or mine got corrupted, anyway I can run or emulate my project on android after removing and installing the plugins.
thanks also for this useful debug command.

ADB logcat

I didn’t know such useful tools was out there.
Thanks


#11

My app crashes on Android.

Here is what I get in logcat:

W/dalvikvm(24234): Invalid indirect reference 0x42882c30 in decodeIndirectRef
I/dalvikvm(24234): “pool-3-thread-1” prio=5 tid=27 RUNNABLE
I/dalvikvm(24234): | group=“main” sCount=0 dsCount=0 obj=0x42d0a6c0 self=0x61ff2a40
I/dalvikvm(24234): | sysTid=24451 nice=0 sched=0/0 cgrp=apps handle=1880670864
I/dalvikvm(24234): | state=R schedstat=( 16873800 1336668 53 ) utm=0 stm=1 core=1
I/dalvikvm(24234): at android.webkit.CookieManagerClassic.nativeGetCookie(Native Method)
I/dalvikvm(24234): at android.webkit.CookieManagerClassic.getCookie(CookieManagerClassic.java:91)
I/dalvikvm(24234): at android.webkit.CookieManagerClassic.getCookie(CookieManagerClassic.java:78)
I/dalvikvm(24234): at org.apache.cordova.filetransfer.FileTransfer.getCookies(FileTransfer.java:238)

Any idea what could be amiss?


#12

usually this kind of bug are related to the Cordova plugins API, in your case the FileTranfer plugin might be causing the bugs, try to reinstall all the plugin using cordova command.


#13

might have lots of reason for this but how I fixed this that -->>
I was using contact plugin and in my phone have some blank contact with No Names are present in my phone which was sync from one of mail Id.
so I have deleted all the blank contact and remove the mail account due to this Problem is solved .

so my point is this your phone might be responsible for crashing the app. try with different model of android/iPhone.


#14

Hi nicraboy,
I am having trouble to run ionic1 app on android. My app is working fine with IOS and testflight.
App loads landing page and close the app on real device. Ionic view on android is also not working.

Please assist me, or let me know if you need more information.

Thanks,
Vishal


#15

Hi Nicraboy,
I also tried below suggested code, on android 7, and its working. So looks like there is some issue with app code. Please assist.

ionic start ExampleProject blank
cd ExampleProject
ionic platform add android
ionic build android
adb install -r platforms/android/ant-build/ExampleProject-debug.apk

Thanks,
Vishal


#16

Hi Nicraboy,

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