raksas 2019-07-03 10:37 采纳率: 0%
浏览 1676

修改xml文件后,app就闪退了

我修改了layou下的xml文件,然后app就闪退了。

代码添加了“”android:id="@+id/order_sales_percentage_layout"“”
android:id="@+id/order_sales_percentage_layout"
style="@style/activity_content_table_relativelayout_attrs"
android:layout_height="wrap_content" >
android:id="@+id/order_sales_percentage_textv"
style="@style/activity_content_table_row_title_attrs"
android:text="@string/order_sales_percentage" />

log:
D/NativeCrypto(9949): ssl=0xee46e000 info_callback ignored
D/NativeCrypto(9949): doing handshake -- ret=1
D/NativeCrypto(9949): ssl=0xee46e000 NativeCrypto_SSL_get_certificate => NULL
I/System.out(9949): gba_cipher_suite:TLS_DHE_RSA_WITH_AES_256_GCM_SHA384
I/System.out(9949): >doSendRequest
D/NativeCrypto(9949): ssl=0xee46e000 sslWrite buf=0xee5d3000 len=389 write_timeout_millis=0
D/NativeCrypto(9949): ssl=0xee46e000 sslWrite buf=0xee486200 len=380 write_timeout_millis=0
I/System.out(9949): <doSendRequest
D/NativeCrypto(9949): ssl=0xee46e000 sslRead buf=0xee5d3000 len=8192,timeo=10000
D/UsbDeviceManager(918): onReceive - BATTERY_CHANGED - mPlugType: 2, mSettingUsbCharging: false, mConnected: true, mSettingUsbBicr: false
D/WifiService(918): onReceive, action:android.intent.action.BATTERY_CHANGED
D/PSD(377): Prox is far ps 206 als 229 highlight 0 crosstalk 205
D/OpenGLRenderer(9949): Flushing caches (mode 0)
D/Surface(9949): Surface::disconnect(this=0xf49cc400,api=1)
D/OpenGLRenderer(9949): Flushing caches (mode 0)
V/WindowManager(918): Changing focus from Window{1b3780a2 u0 cn.com.antika.business/com.GlamourPromise.Beauty.Business.LoginActivity EXITING} to Window{3eae745 u0 cn.com.antika.business/com.GlamourPromise.Beauty.Business.LoginActivity} Callers=com.android.server.wm.WindowManagerService.removeWindowLocked:3238 com.android.server.wm.WindowManagerService.removeWindow:3174 com.android.server.wm.Session.remove:193 android.view.IWindowSession$Stub.onTransact:233
I/WindowManager(918): Gaining focus: Window{3eae745 u0 cn.com.antika.business/com.GlamourPromise.Beauty.Business.LoginActivity}
I/WindowManager(918): Losing focus: Window{1b3780a2 u0 cn.com.antika.business/com.GlamourPromise.Beauty.Business.LoginActivity EXITING}
I/ActivityManager(918): START u0 {cmp=cn.com.xxxx.business/com.xxx.xxx.Business.CompanySelectActivity (has extras)} from uid 10126 from pid 9949 on display 0
I/SafeCenter.AppProtectService(27567): activityStarting() intent: Intent { cmp=cn.com.antika.business/com.GlamourPromise.Beauty.Business.CompanySelectActivity (has extras) }
V/WindowManager(918): addAppToken: AppWindowToken{3d016c25 token=Token{290a481c ActivityRecord{1f3cd8f u0 cn.com.antika.business/com.GlamourPromise.Beauty.Business.CompanySelectActivity t130}}} to stack=1 task=130 at 1
I/libPerfService(918): 1: set freq: 1001000, 1508000
I/libPerfService(918): 1: set: 4, 4
I/libPerfService(918): 1: set vcore level: 3
0V/InputMethodManager(9949): onWindowFocus: android.widget.EditText{1a4a3e58 VFED..C. .F...... 70,380-650,462 #7f0a0330 app:id/login_password_edit_text} softInputMode=32 first=false flags=#1810100
V/InputMethodManagerService(918): windowGainedFocus: android.os.BinderProxy@46afcb7 controlFlags=#3 softInputMode=#20 windowFlags=#1810100
W/InputMethodManagerService(918): Window already focused, ignoring focus gain of: com.android.internal.view.IInputMethodClient$Stub$Proxy@322c81fa attribute=null, token = android.os.BinderProxy@314e3bbc
I/PPS(918): [PPSNotifyAppState] nPackNum:1, pack:cn.com.antika.business, com:com.GlamourPromise.Beauty.Business.CompanySelectActivity, state:1, pid:0, last_boost_tid:-1
D/ActivityManager(918): Delay resumeKeyDispatchingLocked() to avoid deadlock.
I/PPS(918): [PPSNotifyAppState] nPackNum:1, pack:cn.com.antika.business, com:com.GlamourPromise.Beauty.Business.LoginActivity, state:0, pid:0, last_boost_tid:-1
D/AbsListView(9949): checkAbsListViewlLogProperty get invalid command
V/PhoneWindow(9949): DecorView setVisiblity: visibility = 4 ,Parent =null, this =com.android.internal.policy.impl.PhoneWindow$DecorView{2b63a461 I.E..... R.....ID 0,0-0,0}
D/ViewRootImpl(9949): hardware acceleration is enabled, this = ViewRoot{19e37adf cn.com.antika.business/com.GlamourPromise.Beauty.Business.CompanySelectActivity,ident = 4}
V/WindowManager(918): Adding window Window{2281ca08 u0 cn.com.antika.business/com.GlamourPromise.Beauty.Business.CompanySelectActivity} at 7 of 14 (after Window{1b3780a2 u0 cn.com.antika.business/com.GlamourPromise.Beauty.Business.LoginActivity EXITING})
V/PhoneWindow(9949): DecorView setVisiblity: visibility = 0 ,Parent =ViewRoot{19e37adf cn.com.antika.business/com.GlamourPromise.Beauty.Business.CompanySelectActivity,ident = 4}, this =com.android.internal.policy.impl.PhoneWindow$DecorView{2b63a461 V.E..... R.....ID 0,0-0,0}
V/WindowManager(918): Changing focus from Window{3eae745 u0 cn.com.antika.business/com.GlamourPromise.Beauty.Business.LoginActivity} to Window{2281ca08 u0 cn.com.antika.business/com.GlamourPromise.Beauty.Business.CompanySelectActivity} Callers=com.android.server.wm.WindowManagerService.relayoutWindow:3993 com.android.server.wm.Session.relayout:203 android.view.IWindowSession$Stub.onTransact:273 com.android.server.wm.Session.onTransact:136
I/WindowManager(918): Gaining focus: Window{2281ca08 u0 cn.com.antika.business/com.GlamourPromise.Beauty.Business.CompanySelectActivity}
D/OpenGLRenderer(9949): CanvasContext() 0xf48971c0 initialize 0xf49ca108
D/Surface(9949): Surface::connect(this=0xf49ca100,api=1)
D/mali_winsys(9949): new_window_surface returns 0x3000
D/Surface(9949): Surface::allocateBuffers(this=0xf49ca100)
D/AbsListView(9949): onSizeChanged w=700, h=1049, oldw=0, oldh=0, getChildCount=0, mSyncPosition=0, mNeedSync=false, mSyncMode=0, mAdapterandroid.widget.ExpandableListConnector@3cc5732c, this=android.widget.ExpandableListView{3dcd67d1 VFED.VC. ......I. 10,195-710,1244 #7f0a018f app:id/company_list}, callstack=android.widget.ListView.onSizeChanged:1156 android.view.View.sizeChange:16199 android.view.View.setFrame:16164 android.widget.AbsListView.setFrame:2308 android.view.View.layout:16055 android.view.ViewGroup.layout:5234 android.widget.LinearLayout.setChildFrame:1959 android.widget.LinearLayout.layoutVertical:1813 android.widget.LinearLayout.onLayout:1722 android.view.View.layout:16065
D/AndroidRuntime(9949): Shutting down VM
I/Process(9949): Sending signal. PID: 9949 SIG: 9
D/PSD(377): set_ps_threshold: low_threshold 268 high_threshold 288 ps_average 208 algo_state 1
E/LIGHT(918): AmbiLightSensor: get als value 235
E/LIGHT(918): AmbiLightSensor: report als event
E/PROXIMITY(918): ProximitySensor: unknown event (type=3, code=0)
E/PROXIMITY(918): ProximitySensor: invalid EV_SYN
D/SurfaceFlinger(328): Skip composition.
D/SurfaceFlinger(328): Skip composition.
E/JavaBinder(918): !!! FAILED BINDER TRANSACTION !!!
E/JavaBinder(918): !!! FAILED BINDER TRANSACTION !!!
D/GuiExt(384): [GuiExtS] binder of dump tunnel(RB-0xdd4f3380) died
I/WindowState(918): WIN DEATH: Window{3eae745 u0 cn.com.antika.business/com.GlamourPromise.Beauty.Business.LoginActivity}
I/SurfaceFlinger(328): EventThread Client Pid (9949) disconnected by (328)
I/SurfaceFlinger(328): EventThread Client Pid (9949) disconnected by (328)
W/ADB_SERVICES(9929): terminating JDWP 9949 connection: Try again
I/WindowState(918): WIN DEATH: Window{2281ca08 u0 cn.com.antika.business/com.GlamourPromise.Beauty.Business.CompanySelectActivity}
W/ADB_SERVICES(9929): terminating JDWP 9949 connection: Try again
I/WindowState(918): WIN DEATH: Window{2281ca08 u0 cn.com.antika.business/com.GlamourPromise.Beauty.Business.CompanySelectActivity}

继续贴日志
V/WindowManager(918): Changing focus from Window{2281ca08 u0 cn.com.antika.business/com.GlamourPromise.Beauty.Business.CompanySelectActivity EXITING} to null Callers=com.android.server.wm.WindowManagerService.removeWindowLocked:3238 com.android.server.wm.WindowState$DeathRecipient.binderDied:1168 android.os.BinderProxy.sendDeathNotice:559
I/WindowManager(918): Losing focus: Window{2281ca08 u0 cn.com.antika.business/com.GlamourPromise.Beauty.Business.CompanySelectActivity EXITING}
D/PerfServiceManager(918): [PerfService] MESSAGE_TIMEOUT:107
I/libPerfService(918): [perfScnDisable] scn:1, scn_root_cluster:-1
I/libPerfService(918): [perfScnDisable] scn:6, scn_root_cluster:-1
I/libPerfService(918): 7: set vcore level: 3
D/PerfServiceManager(918): [PerfService] set utilization:0.8
D/SurfaceFlinger(328): Skip composition.
I/ActivityManager(918): Process cn.com.antika.business (pid 9949) has died
Calling a method in the system process without a qualified user: android.app.ContextImpl.sendBroadcast:1517 com.android.server.am.OppoExtraActivityManagerService.setKeyLockModeNormal:47 com.android.server.am.ActivityManagerService.appDiedLocked:6305 com.android.server.am.ActivityManagerService$AppDeathRecipient.binderDied:1441 android.os.BinderProxy.sendDeathNotice:559
D/ActivityManager(918): SVC-handleAppDiedLocked: app = ProcessRecord{701a5a1 9949:cn.com.antika.business/u0a126}, app.pid = 9949
I/PPS(918): [PPSNotifyAppState] nPackNum:1, pack:cn.com.antika.business, com:(null), state:3, pid:0, last_boost_tid:-1
D/ForegroundUtils(2208): Process died; UID 10126 PID 9949
W/ActivityManager(918): Force removing ActivityRecord{1f3cd8f u0 cn.com.antika.business/com.GlamourPromise.Beauty.Business.CompanySelectActivity t130}: app died, no saved state
D/ForegroundUtils(2208): Foreground changed, PID: 9949 UID: 10126 foreground: false
V/NetworkStats(918): setKernelCounterSet uid=10126 set=0
D/ForegroundUtils(2208): Foreground UID/PID combinations:
D/ConnectivityService(918): onUidRulesChanged(uid=10126, uidRules=0)
D/ActivityManager(918): [BMW] moveNextFloatingStackToTopLocked next = null curTop = ActivityStack{34190215 stackId=1, 14 tasks}
D/WindowManager(918): notifyActivityDrawnForKeyguard: waiting=false Callers=com.android.server.wm.WindowManagerService.handleAppTransitionReadyLocked:10689 com.android.server.wm.WindowManagerService.performLayoutAndPlaceSurfacesLockedInner:11319 com.android.server.wm.WindowManagerService.performLayoutAndPlaceSurfacesLockedLoop:10058 com.android.server.wm.WindowManagerService.performLayoutAndPlaceSurfacesLocked:10000 com.android.server.wm.WindowManagerService.moveStackWindowsLocked:6068
W/ContextImpl(918): Calling a method in the system process without a qualified user: android.app.ContextImpl.sendBroadcast:1517 com.android.server.am.OppoProtectEyeManagerService.sendProtectEyeBroadcast:170 com.android.server.am.OppoProtectEyeManagerService.handleProtectEyeMode:154 com.android.server.am.ActivityStack.resumeTopActivityInnerLocked:2234 com.android.server.am.ActivityStack.resumeTopActivityLocked:1790
I/libPerfService(918): perfSetFavorPid - pid:2360, 938
I/PPS(918): [PPSNotifyAppState] nPackNum:1, pack:com.oppo.launcher, com:.Launcher, state:1, pid:0, last_boost_tid:-1
I/OppoPhoneWindowManager(918): KeyLockModeReceiver KeyLockMode: 0 ProcessName: cn.com.antika.business
D/ForegroundUtils(2208): Foreground changed, PID: 2360 UID: 10063 foreground: true
V/NetworkStats(918): setKernelCounterSet uid=10063 set=1
D/ForegroundUtils(2208): Foreground UID/PID combinations:
D/ConnectivityService(918): onUidRulesChanged(uid=10063, uidRules=0)
D/ForegroundUtils(2208): UID: 10063 PID: 2360
D/OpenGLRenderer(2360): Flushing caches (mode 0)
D/OpenGLRenderer(2360): Flushing caches (mode 0)
D/SurfaceFlinger(328): Skip composition.
I/SurfaceFlinger(328): [SF client] DEL(0x7fa3c1d6c0) for (918:system_server)
D/SurfaceFlinger(328): remove: cn.com.antika.business/com.GlamourPromise.Beauty.Business.LoginActivity
D/SurfaceFlinger(328): remove: cn.com.antika.business/com.GlamourPromise.Beauty.Business.CompanySelectActivity
V/PhoneWindow(2360): DecorView setVisiblity: visibility = 0 ,Parent =ViewRoot{213cf907 com.oppo.launcher/com.oppo.launcher.Launcher,ident = 0}, this =com.android.internal.policy.impl.PhoneWindow$DecorView{50d63f8 V.E..... R.....ID 0,0-720,1280}
V/WindowManager(918): Changing focus from null to Window{3d235d75 u0 com.oppo.launcher/com.oppo.launcher.Launcher} Callers=com.android.server.wm.WindowManagerService.relayoutWindow:3993 com.android.server.wm.Session.relayout:203 android.view.IWindowSession$Stub.onTransact:273 com.android.server.wm.Session.onTransact:136
I/WindowManager(918): Gaining focus: Window{3d235d75 u0 com.oppo.launcher/com.oppo.launcher.Launcher}
D/OpenGLRenderer(2360): CanvasContext() 0x7f8eb387c0 initialize 0x7f8ea72610
D/Surface(2360): Surface::connect(this=0x7f8ea72600,api=1)
D/mali_winsys(2360): new_window_surface returns 0x3000
D/Surface(2360): Surface::allocateBuffers(this=0x7f8ea72600)
V/InputMethodManager(2360): onWindowFocus: null softInputMode=304 first=true flags=#5900100
V/InputMethodManager(2360): START INPUT: com.android.internal.policy.impl.PhoneWindow$DecorView{50d63f8 V.E..... R.....ID 0,0-720,1280} ic=null tba=android.view.inputmethod.EditorInfo@1ed6e15d controlFlags=#104
V/InputMethodManagerService(918): windowGainedFocus: android.os.BinderProxy@a099631 controlFlags=#104 softInputMode=#130 windowFlags=#5900100
D/InputMethodManagerService(918): unbindCurrentClient send MSG_SET_ACTIVE active: false , to client:ClientState{3d9a3942 uid 10126 pid 9949}
D/InputMethodManagerService(918): case MSG_SET_ACTIVE, active:false
W/InputMethodManagerService(918): Got RemoteException sending setActive(false) notification to pid 9949 uid 10126
D/InputMethodManagerService(918): startInputUnchecked send MSG_SET_ACTIVE active:true, to client:null
D/InputMethodManagerService(918): case MSG_SET_ACTIVE, active:true
D/InputMethodManager(2360): receive service's setActive call, active:true
I/InputMethodManager(2360): handleMessage: MSG_SET_ACTIVE true, was false
D/SurfaceFlinger(328): Skip composition.
V/WallpaperService(27833): Visibility change in com.android.systemui.ImageWallpaper$DrawableEngine@20ab8bb1: 1
I/OppoBroadcastManager(918): oppo Broadcast intent Intent { act=com.nav.color flg=0x10 (has extras) } on background queue
V/WallpaperService(27833): onVisibilityChanged(true): com.android.systemui.ImageWallpaper$DrawableEngine@20ab8bb1
V/WallpaperService(27833): Offsets change in com.android.systemui.ImageWallpaper$DrawableEngine@20ab8bb1: 0.0,0.0
D/WindowManager(918): notifyActivityDrawnForKeyguard: waiting=false Callers=com.android.server.wm.WindowManagerService.handleAppTransitionReadyLocked:10689 com.android.server.wm.WindowManagerService.performLayoutAndPlaceSurfacesLockedInner:11319 com.android.server.wm.WindowManagerService.performLayoutAndPlaceSurfacesLockedLoop:10058 com.android.server.wm.WindowManagerService.performLayoutAndPlaceSurfacesLocked:10000 com.android.server.wm.WindowManagerService.access$900:216
D/BluetoothAdapter(27833): 870302359: getState() : mService = null. Returning STATE_OFF
D/BluetoothAdapter(27833): 870302359: getState() : mService = null. Returning STATE_OFF
I/WifiStateMachine(918): fetchRssiLinkSpeedAndFrequencyNative, newRssi:-32, newLinkSpeed:65, SSID:"TP-LINK_CWMD"
D/NetworkLinkMonitor(918): RSSI_PKTCNT_FETCH_SUCCEEDED--dtotal= 13

  • 写回答

3条回答

  • 你好好呀! 2019-07-03 15:47
    关注

    日志贴的很多 但是没有看到关键部分 最终导致闪退的log没贴出来

    评论

报告相同问题?

悬赏问题

  • ¥30 这是哪个作者做的宝宝起名网站
  • ¥60 版本过低apk如何修改可以兼容新的安卓系统
  • ¥25 由IPR导致的DRIVER_POWER_STATE_FAILURE蓝屏
  • ¥50 有数据,怎么建立模型求影响全要素生产率的因素
  • ¥50 有数据,怎么用matlab求全要素生产率
  • ¥15 TI的insta-spin例程
  • ¥15 完成下列问题完成下列问题
  • ¥15 C#算法问题, 不知道怎么处理这个数据的转换
  • ¥15 YoloV5 第三方库的版本对照问题
  • ¥15 请完成下列相关问题!