Android 一旦我开始我的活动,申请就会终止
我的应用程序在某些设备上运行正常,但当我将其加载到其他设备上时,它会打开,但当我开始一项活动时(也需要Android 一旦我开始我的活动,申请就会终止,android,compiler-errors,Android,Compiler Errors,我的应用程序在某些设备上运行正常,但当我将其加载到其他设备上时,它会打开,但当我开始一项活动时(也需要screenOrientation=“肖像”),它会终止。有什么想法吗 02-06 11:47:52.390 D/SensorManager(19387): unregisterListener:: Listener= android.view.OrientationEventListener$SensorEventListenerImpl@41fa8a60 02-06 11:47:52.39
screenOrientation=“肖像”
),它会终止。有什么想法吗
02-06 11:47:52.390 D/SensorManager(19387): unregisterListener:: Listener= android.view.OrientationEventListener$SensorEventListenerImpl@41fa8a60
02-06 11:47:52.390 D/Sensors (19387): Remain listener = Sending .. normal delay 200ms
02-06 11:47:52.390 I/Sensors (19387): sendDelay --- 200000000
02-06 11:47:52.390 D/SensorManager(19387): JNI - sendDelay
02-06 11:47:52.390 I/SensorManager(19387): Set normal delay = true
02-06 11:47:52.545 D/dalvikvm(19387): GC_CONCURRENT freed 288K, 9% free 13814K/15175K, paused 12ms+2ms, total 29ms
02-06 11:47:52.575 D/SensorManager(19387): registerListener :: handle = 0 name= LSM330DLC 3-axis Accelerometer delay= 200000 Listener= android.view.OrientationEventListener$SensorEventListenerImpl@41e23990
02-06 11:47:52.670 W/IInputConnectionWrapper(19387): getSelectedText on inactive InputConnection
02-06 11:47:52.755 W/IInputConnectionWrapper(19387): setComposingText on inactive InputConnection
02-06 11:47:52.755 W/IInputConnectionWrapper(19387): getExtractedText on inactive Input
Connection
02-06 11:47:52.830 W/IInputConnectionWrapper(19387): finishComposingText on inactive InputConnection
02-06 11:47:52.955 D/dalvikvm(19387): GC_CONCURRENT freed 361K, 9% free 13938K/15175K, paused 2ms+13ms, total 32ms
02-06 11:47:54.450 D/SensorManager(19387): unregisterListener:: Listener= android.view.OrientationEventListener$SensorEventListenerImpl@41e23990
02-06 11:47:54.450 D/Sensors (19387): Remain listener = Sending .. normal delay 200ms
02-06 11:47:54.450 I/Sensors (19387): sendDelay --- 200000000
02-06 11:47:54.450 D/SensorManager(19387): JNI - sendDelay
02-06 11:47:54.450 I/SensorManager(19387): Set normal delay = true
02-06 11:47:54.720 W/IInputConnectionWrapper(19387): showStatusIcon on inactive InputConnection
您的屏幕方向信息集在哪里
如果按程序设置,可能会出现问题。您可以在标记中设置AndroidManifest文件。发布相关的日志。您可以尝试根据应用程序对其进行筛选。在LogCat中搜索红线:)我不明白您的意思Rajesh.log与注销侦听器相关。当崩溃发生时,请与我们分享一些代码,以及在另一个屏幕上写的内容。我不知道崩溃发生在哪里,这是一个着色游戏,在下一个屏幕上,错误发生在哪里,着色事件发生了,以及“日志与注销侦听器相关”是什么意思是?我在AndroidManifest文件中设置它:handle=0 name=LSM330 DLC三轴加速计延迟=200000监听器=android.view.OrientationEventListener$SensorEventListenerImpl@41e23990This错误传感器方向错误。因为方向和传感器一起运行。请检查活动类。你们有并没有在“活动”中配置更改覆盖方法?我并没有对“活动”中的方向进行任何更改。你们有并没有布局端口和布局土地文件?如果您只有布局端口文件,这将是一个问题。