Android 模拟器 12306 Application Error

Repro Steps

Actual Results (Error Image)

Android Version Info

Exception/Log/CallStack

06-07 08:40:44.426      291-344/system_process E/SoundPool error loading /system/media/audio/ui/Effect_Tick.ogg
06-07 08:40:44.435      291-344/system_process E/SoundPool error loading /system/media/audio/ui/Effect_Tick.ogg
06-07 08:40:44.445      291-344/system_process E/SoundPool error loading /system/media/audio/ui/Effect_Tick.ogg
06-07 08:40:44.445      291-344/system_process E/SoundPool error loading /system/media/audio/ui/Effect_Tick.ogg
06-07 08:40:44.445      291-344/system_process E/SoundPool error loading /system/media/audio/ui/Effect_Tick.ogg
06-07 08:40:44.455      291-344/system_process E/SoundPool error loading /system/media/audio/ui/KeypressStandard.ogg
06-07 08:40:44.465      291-344/system_process E/SoundPool error loading /system/media/audio/ui/KeypressSpacebar.ogg
06-07 08:40:44.535      291-344/system_process E/SoundPool error loading /system/media/audio/ui/KeypressDelete.ogg
06-07 08:40:44.585      291-344/system_process E/SoundPool error loading /system/media/audio/ui/KeypressReturn.ogg
06-07 08:40:51.695    1960-1960/com.MobileTicket E/xxxx 11111_ start .......
06-07 08:40:51.695    1960-1960/com.MobileTicket E/TEXT text: abcdef
06-07 08:40:51.695    1960-1960/com.MobileTicket E/xxxx 222222_ end ......
06-07 08:41:02.626    1960-1998/com.MobileTicket E/cutils-trace Error opening trace file: No such file or directory (2)
06-07 08:41:09.735      407-730/com.android.phone E/DatabaseUtils Writing exception to parcel
    java.lang.SecurityException: No permission to write APN settings: Neither user 10053 nor current process has android.permission.WRITE_APN_SETTINGS.
            at android.app.ContextImpl.enforce(ContextImpl.java:1575)
            at android.app.ContextImpl.enforceCallingOrSelfPermission(ContextImpl.java:1604)
            at com.android.providers.telephony.TelephonyProvider.checkPermission(TelephonyProvider.java:784)
            at com.android.providers.telephony.TelephonyProvider.query(TelephonyProvider.java:511)
            at android.content.ContentProvider.query(ContentProvider.java:744)
            at android.content.ContentProvider$Transport.query(ContentProvider.java:199)
            at android.content.ContentProviderNative.onTransact(ContentProviderNative.java:114)
            at android.os.Binder.execTransact(Binder.java:388)
            at dalvik.system.NativeStart.run(Native Method)
06-07 08:41:10.018      407-430/com.android.phone E/DatabaseUtils Writing exception to parcel
    java.lang.SecurityException: No permission to write APN settings: Neither user 10053 nor current process has android.permission.WRITE_APN_SETTINGS.
            at android.app.ContextImpl.enforce(ContextImpl.java:1575)
            at android.app.ContextImpl.enforceCallingOrSelfPermission(ContextImpl.java:1604)
            at com.android.providers.telephony.TelephonyProvider.checkPermission(TelephonyProvider.java:784)
            at com.android.providers.telephony.TelephonyProvider.query(TelephonyProvider.java:511)
            at android.content.ContentProvider.query(ContentProvider.java:744)
            at android.content.ContentProvider$Transport.query(ContentProvider.java:199)
            at android.content.ContentProviderNative.onTransact(ContentProviderNative.java:114)
            at android.os.Binder.execTransact(Binder.java:388)
            at dalvik.system.NativeStart.run(Native Method)
06-07 08:41:10.955      407-551/com.android.phone E/DatabaseUtils Writing exception to parcel
    java.lang.SecurityException: No permission to write APN settings: Neither user 10053 nor current process has android.permission.WRITE_APN_SETTINGS.
            at android.app.ContextImpl.enforce(ContextImpl.java:1575)
            at android.app.ContextImpl.enforceCallingOrSelfPermission(ContextImpl.java:1604)
            at com.android.providers.telephony.TelephonyProvider.checkPermission(TelephonyProvider.java:784)
            at com.android.providers.telephony.TelephonyProvider.query(TelephonyProvider.java:511)
            at android.content.ContentProvider.query(ContentProvider.java:744)
            at android.content.ContentProvider$Transport.query(ContentProvider.java:199)
            at android.content.ContentProviderNative.onTransact(ContentProviderNative.java:114)
            at android.os.Binder.execTransact(Binder.java:388)
            at dalvik.system.NativeStart.run(Native Method)
06-07 08:41:11.065       36-124/? E/SurfaceFlinger ro.sf.lcd_density must be defined as a build property
06-07 08:41:12.485      407-730/com.android.phone E/DatabaseUtils Writing exception to parcel
    java.lang.SecurityException: No permission to write APN settings: Neither user 10053 nor current process has android.permission.WRITE_APN_SETTINGS.
            at android.app.ContextImpl.enforce(ContextImpl.java:1575)
            at android.app.ContextImpl.enforceCallingOrSelfPermission(ContextImpl.java:1604)
            at com.android.providers.telephony.TelephonyProvider.checkPermission(TelephonyProvider.java:784)
            at com.android.providers.telephony.TelephonyProvider.query(TelephonyProvider.java:511)
            at android.content.ContentProvider.query(ContentProvider.java:744)
            at android.content.ContentProvider$Transport.query(ContentProvider.java:199)
            at android.content.ContentProviderNative.onTransact(ContentProviderNative.java:114)
            at android.os.Binder.execTransact(Binder.java:388)
            at dalvik.system.NativeStart.run(Native Method)
06-07 08:41:26.495    1960-1960/com.MobileTicket E/CordovaWebView CordovaWebView: TIMEOUT ERROR!
06-07 08:41:38.125      407-730/com.android.phone E/DatabaseUtils Writing exception to parcel
    java.lang.SecurityException: No permission to write APN settings: Neither user 10053 nor current process has android.permission.WRITE_APN_SETTINGS.
            at android.app.ContextImpl.enforce(ContextImpl.java:1575)
            at android.app.ContextImpl.enforceCallingOrSelfPermission(ContextImpl.java:1604)
            at com.android.providers.telephony.TelephonyProvider.checkPermission(TelephonyProvider.java:784)
            at com.android.providers.telephony.TelephonyProvider.query(TelephonyProvider.java:511)
            at android.content.ContentProvider.query(ContentProvider.java:744)
            at android.content.ContentProvider$Transport.query(ContentProvider.java:199)
            at android.content.ContentProviderNative.onTransact(ContentProviderNative.java:114)
            at android.os.Binder.execTransact(Binder.java:388)
            at dalvik.system.NativeStart.run(Native Method)
06-07 08:41:38.409      407-430/com.android.phone E/DatabaseUtils Writing exception to parcel
    java.lang.SecurityException: No permission to write APN settings: Neither user 10053 nor current process has android.permission.WRITE_APN_SETTINGS.
            at android.app.ContextImpl.enforce(ContextImpl.java:1575)
            at android.app.ContextImpl.enforceCallingOrSelfPermission(ContextImpl.java:1604)
            at com.android.providers.telephony.TelephonyProvider.checkPermission(TelephonyProvider.java:784)
            at com.android.providers.telephony.TelephonyProvider.query(TelephonyProvider.java:511)
            at android.content.ContentProvider.query(ContentProvider.java:744)
            at android.content.ContentProvider$Transport.query(ContentProvider.java:199)
            at android.content.ContentProviderNative.onTransact(ContentProviderNative.java:114)
            at android.os.Binder.execTransact(Binder.java:388)
            at dalvik.system.NativeStart.run(Native Method)
06-07 08:41:38.446      407-966/com.android.phone E/DatabaseUtils Writing exception to parcel
    java.lang.SecurityException: No permission to write APN settings: Neither user 10053 nor current process has android.permission.WRITE_APN_SETTINGS.
            at android.app.ContextImpl.enforce(ContextImpl.java:1575)
            at android.app.ContextImpl.enforceCallingOrSelfPermission(ContextImpl.java:1604)
            at com.android.providers.telephony.TelephonyProvider.checkPermission(TelephonyProvider.java:784)
            at com.android.providers.telephony.TelephonyProvider.query(TelephonyProvider.java:511)
            at android.content.ContentProvider.query(ContentProvider.java:744)
            at android.content.ContentProvider$Transport.query(ContentProvider.java:199)
            at android.content.ContentProviderNative.onTransact(ContentProviderNative.java:114)
            at android.os.Binder.execTransact(Binder.java:388)
            at dalvik.system.NativeStart.run(Native Method)
06-07 08:41:38.535      407-621/com.android.phone E/DatabaseUtils Writing exception to parcel
    java.lang.SecurityException: No permission to write APN settings: Neither user 10053 nor current process has android.permission.WRITE_APN_SETTINGS.
            at android.app.ContextImpl.enforce(ContextImpl.java:1575)
            at android.app.ContextImpl.enforceCallingOrSelfPermission(ContextImpl.java:1604)
            at com.android.providers.telephony.TelephonyProvider.checkPermission(TelephonyProvider.java:784)
            at com.android.providers.telephony.TelephonyProvider.query(TelephonyProvider.java:511)
            at android.content.ContentProvider.query(ContentProvider.java:744)
            at android.content.ContentProvider$Transport.query(ContentProvider.java:199)
            at android.content.ContentProviderNative.onTransact(ContentProviderNative.java:114)
            at android.os.Binder.execTransact(Binder.java:388)
            at dalvik.system.NativeStart.run(Native Method)
06-07 08:41:39.335      407-430/com.android.phone E/DatabaseUtils Writing exception to parcel
    java.lang.SecurityException: No permission to write APN settings: Neither user 10053 nor current process has android.permission.WRITE_APN_SETTINGS.
            at android.app.ContextImpl.enforce(ContextImpl.java:1575)
            at android.app.ContextImpl.enforceCallingOrSelfPermission(ContextImpl.java:1604)
            at com.android.providers.telephony.TelephonyProvider.checkPermission(TelephonyProvider.java:784)
            at com.android.providers.telephony.TelephonyProvider.query(TelephonyProvider.java:511)
            at android.content.ContentProvider.query(ContentProvider.java:744)
            at android.content.ContentProvider$Transport.query(ContentProvider.java:199)
            at android.content.ContentProviderNative.onTransact(ContentProviderNative.java:114)
            at android.os.Binder.execTransact(Binder.java:388)
            at dalvik.system.NativeStart.run(Native Method)
06-07 08:41:41.875      407-730/com.android.phone E/DatabaseUtils Writing exception to parcel
    java.lang.SecurityException: No permission to write APN settings: Neither user 10053 nor current process has android.permission.WRITE_APN_SETTINGS.
            at android.app.ContextImpl.enforce(ContextImpl.java:1575)
            at android.app.ContextImpl.enforceCallingOrSelfPermission(ContextImpl.java:1604)
            at com.android.providers.telephony.TelephonyProvider.checkPermission(TelephonyProvider.java:784)
            at com.android.providers.telephony.TelephonyProvider.query(TelephonyProvider.java:511)
            at android.content.ContentProvider.query(ContentProvider.java:744)
            at android.content.ContentProvider$Transport.query(ContentProvider.java:199)
            at android.content.ContentProviderNative.onTransact(ContentProviderNative.java:114)
            at android.os.Binder.execTransact(Binder.java:388)
            at dalvik.system.NativeStart.run(Native Method)
06-07 08:42:51.335      291-344/system_process E/SoundPool error loading /system/media/audio/ui/Effect_Tick.ogg
06-07 08:42:51.346      291-344/system_process E/SoundPool error loading /system/media/audio/ui/Effect_Tick.ogg
06-07 08:42:51.356      291-344/system_process E/SoundPool error loading /system/media/audio/ui/Effect_Tick.ogg
06-07 08:42:51.365      291-344/system_process E/SoundPool error loading /system/media/audio/ui/Effect_Tick.ogg
06-07 08:42:51.375      291-344/system_process E/SoundPool error loading /system/media/audio/ui/Effect_Tick.ogg
06-07 08:42:51.375      291-344/system_process E/SoundPool error loading /system/media/audio/ui/KeypressStandard.ogg
06-07 08:42:51.415      291-344/system_process E/SoundPool error loading /system/media/audio/ui/KeypressSpacebar.ogg
06-07 08:42:51.425      291-344/system_process E/SoundPool error loading /system/media/audio/ui/KeypressDelete.ogg
06-07 08:42:51.465      291-344/system_process E/SoundPool error loading /system/media/audio/ui/KeypressReturn.ogg


↙↙↙阅读原文可查看相关链接,并与作者交流