Hi,
I developed an app that is crashing on startup, anything is displayed but the message “sorry, …” when executing on a device.
I installed a blank app on device and It’s working. So I guess it’s not about configuration of ionic or cordova and it’s about my code but I do not know what to do to find out the problem.
If I type adb logcat in my terminal I can see there’s an error:
W/System.err( 1014): android.content.pm.PackageManager$NameNotFoundException: com.lge.pa
W/System.err( 1014): at android.app.ApplicationPackageManager.getApplicationInfo(ApplicationPackageManager.java:227)
W/System.err( 1014): at com.lge.systemui.Utils.isDisabledPackage(Utils.java:425)
W/System.err( 1014): at com.lge.quicksettings.QuickSettingsItemList.checkItemAvailable(QuickSettingsItemList.java:962)
W/System.err( 1014): at com.lge.quicksettings.QuickSettingsItemList.updateQVoiceLabel(QuickSettingsItemList.java:1187)
W/System.err( 1014): at com.lge.quicksettings.QuickSettingsItemList.updateButtons(QuickSettingsItemList.java:97)
W/System.err( 1014): at com.lge.quicksettings.QuickSettings.updateButtons(QuickSettings.java:327)
W/System.err( 1014): at com.lge.quicksettings.QuickSettings$2.addOrRemoveItem(QuickSettings.java:227)
W/System.err( 1014): at com.lge.quicksettings.QuickSettings$2.onReceive(QuickSettings.java:185)
W/System.err( 1014): at android.app.LoadedApk$ReceiverDispatcher$Args.run(LoadedApk.java:778)
W/System.err( 1014): at android.os.Handler.handleCallback(Handler.java:733)
W/System.err( 1014): at android.os.Handler.dispatchMessage(Handler.java:95)
W/System.err( 1014): at android.os.Looper.loop(Looper.java:136)
W/System.err( 1014): at android.app.ActivityThread.main(ActivityThread.java:5103)
W/System.err( 1014): at java.lang.reflect.Method.invokeNative(Native Method)
W/System.err( 1014): at java.lang.reflect.Method.invoke(Method.java:515)
W/System.err( 1014): at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:788)
W/System.err( 1014): at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:604)
W/System.err( 1014): at dalvik.system.NativeStart.main(Native Method)
W/System.err( 1014): android.content.pm.PackageManager$NameNotFoundException: com.lge.p2p
W/System.err( 1014): at android.app.ApplicationPackageManager.getApplicationInfo(ApplicationPackageManager.java:227)
W/System.err( 1014): at com.lge.systemui.Utils.isDisabledPackage(Utils.java:425)
W/System.err( 1014): at com.lge.quicksettings.QuickSettingsItemList.checkItemAvailable(QuickSettingsItemList.java:962)
W/System.err( 1014): at com.lge.quicksettings.QuickSettingsItemList.updateQPairLabel(QuickSettingsItemList.java:1203)
W/System.err( 1014): at com.lge.quicksettings.QuickSettingsItemList.updateButtons(QuickSettingsItemList.java:98)
W/System.err( 1014): at com.lge.quicksettings.QuickSettings.updateButtons(QuickSettings.java:327)
W/System.err( 1014): at com.lge.quicksettings.QuickSettings$2.addOrRemoveItem(QuickSettings.java:227)
W/System.err( 1014): at com.lge.quicksettings.QuickSettings$2.onReceive(QuickSettings.java:185)
W/System.err( 1014): at android.app.LoadedApk$ReceiverDispatcher$Args.run(LoadedApk.java:778)
W/System.err( 1014): at android.os.Handler.handleCallback(Handler.java:733)
W/System.err( 1014): at android.os.Handler.dispatchMessage(Handler.java:95)
W/System.err( 1014): at android.os.Looper.loop(Looper.java:136)
W/System.err( 1014): at android.app.ActivityThread.main(ActivityThread.java:5103)
W/System.err( 1014): at java.lang.reflect.Method.invokeNative(Native Method)
W/System.err( 1014): at java.lang.reflect.Method.invoke(Method.java:515)
W/System.err( 1014): at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:788)
W/System.err( 1014): at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:604)
W/System.err( 1014): at dalvik.system.NativeStart.main(Native Method)
If anyone could help me…
Thank you,