
我尝试在2.3,2.3.1,2.3.3和2.2 AVD上运行代码,结果相同.
*****更新*****
我尝试了一个基于旧位置的应用程序,我已经制作了,并且在几百个单元上运行得很好,这也会在发送位置更新时崩溃AVD.我想这更像是一个理解AVD位置更新出错的情况,而不是在我的代码中发现错误..?
下面是我认为有问题的代码,以防它可能是相关的:
*****结束更新*****
public class LocationHelper { public static voID getLocation(Context context) { LocationListener locationListener = new LocationListener() { @OverrIDe public voID onStatusChanged(String provIDer,int status,Bundle extras) { Log.v("LocationListener","onStatusChanged"); } @OverrIDe public voID onProvIDerEnabled(String provIDer) { Log.v("LocationListener","onProvIDerEnabled"); } @OverrIDe public voID onProvIDerDisabled(String provIDer) { Log.v("LocationListener","onProvIDerDisabled"); } @OverrIDe public voID onLocationChanged(Location location) { Log.v("LocationListener","onLocationChanged"); } }; LocationManager locationManager = (LocationManager)context.getSystemService(Service.LOCATION_SERVICE); Criteria criteria = new Criteria(); criteria.setAccuracy(Criteria.ACCURACY_FINE); String provIDer = locationManager.getBestProvIDer(criteria,true); Log.v("ProvIDer",provIDer); // FIXME: Something crashes the emulator when a GPS fix is sent through DDMS locationManager.requestSingleUpdate(provIDer,locationListener,Looper.myLooper()); }} 根据日志,我可能还会提到提供者变量设置为“gps”. LocationListener中的所有日志语句都不会被触发.
以下是logcat的输出.第一行显示我的getLocation()函数被调用.然后我通过DDMS提交gps修复,然后手机重新启动.我将日志缩短了一点,因为我正在超过30k字符边界,但我猜第一行是最相关的.
V/ProvIDer( 430): gpsI/DEBUG ( 31): *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** ***I/DEBUG ( 31): Build fingerprint: 'generic/Google_sdk/generic:2.3/GRH55/79397:eng/test-keys'I/DEBUG ( 31): pID: 68,tID: 163 >>> system_server <<<I/DEBUG ( 31): signal 11 (SIGSEGV),code 1 (SEGV_MAPERR),fault addr 00000000I/DEBUG ( 31): r0 00000000 r1 40685948 r2 4128fcbc r3 459e1c74I/DEBUG ( 31): r4 0000012d r5 00000000 r6 40685948 r7 4128fcbcI/DEBUG ( 31): r8 84301321 r9 84302240 10 00100000 fp 00000001I/DEBUG ( 31): ip 82f0e7d4 sp 459e1c60 lr 82f0ab37 pc 82f07d0e cpsr 00000030I/DEBUG ( 31): #00 pc 00007d0e /system/lib/libandroID_servers.soI/DEBUG ( 31): #01 pc 0000ab32 /system/lib/libandroID_servers.soI/DEBUG ( 31): #02 pc 000012ca /system/lib/hw/gps.goldfish.soI/DEBUG ( 31): #03 pc 000014ae /system/lib/hw/gps.goldfish.soI/DEBUG ( 31): #04 pc 00011a7c /system/lib/libc.soI/DEBUG ( 31): #05 pc 00011640 /system/lib/libc.soI/DEBUG ( 31): I/DEBUG ( 31): code around pc:I/DEBUG ( 31): 82f07cec ab04b082 9301cb04 6f646804 b00247a0 I/DEBUG ( 31): 82f07cfc bc08bc10 4718b002 b510b40c ab04b082 I/DEBUG ( 31): 82f07d0c 6804cb04 34f89301 47a06824 bc10b002 I/DEBUG ( 31): 82f07d1c b002bc08 46c04718 b510b40c ab04b082 I/DEBUG ( 31): 82f07d2c 9301cb04 34986804 47a06824 bc10b002 I/DEBUG ( 31): I/DEBUG ( 31): code around lr:I/DEBUG ( 31): 82f0ab14 91099008 f7fb6aa0 900aeb14 1c3a910b I/DEBUG ( 31): 82f0ab24 6b646b23 930c1c28 1c31940d f7fd9b0f I/DEBUG ( 31): 82f0ab34 4906f8e7 44791c28 f7ff3150 b011fe1d I/DEBUG ( 31): 82f0ab44 46c0bdf0 0000454c 000042c8 00000786 I/DEBUG ( 31): 82f0ab54 f7fbb510 bd10ec7c 4802b510 f7fb4478 I/DEBUG ( 31): I/DEBUG ( 31): stack:I/DEBUG ( 31): 459e1c20 ac710cb3 I/DEBUG ( 31): 459e1c24 40b38d0b I/DEBUG ( 31): 459e1c28 00000009 I/DEBUG ( 31): 459e1c2c 00000000 I/DEBUG ( 31): 459e1c30 0000ab90 [heap]I/DEBUG ( 31): 459e1c34 81d48bd3 /system/lib/libdvm.soI/DEBUG ( 31): 459e1c38 0000ab90 [heap]I/DEBUG ( 31): 459e1c3c 459e1c6c I/DEBUG ( 31): 459e1c40 00010004 [heap]I/DEBUG ( 31): 459e1c44 81d3761b /system/lib/libdvm.soI/DEBUG ( 31): 459e1c48 00000000 I/DEBUG ( 31): 459e1c4c afd0dcc4 /system/lib/libc.soI/DEBUG ( 31): 459e1c50 00000000 I/DEBUG ( 31): 459e1c54 459e1e00 I/DEBUG ( 31): 459e1c58 df002777 I/DEBUG ( 31): 459e1c5c e3a070ad I/DEBUG ( 31): #00 459e1c60 00000001 I/DEBUG ( 31): 459e1c64 8053bf25 /system/lib/libandroID_runtime.soI/DEBUG ( 31): 459e1c68 0000012d I/DEBUG ( 31): 459e1c6c 82f0ab37 /system/lib/libandroID_servers.soI/DEBUG ( 31): 459e1c70 4128fcbc /dev/ashmem/dalvik-linearalloc (deleted)I/DEBUG ( 31): 459e1c74 00000003 I/DEBUG ( 31): #01 459e1c78 4284dfce /system/usr/icu/icudt44l.datI/DEBUG ( 31): 459e1c7c 4042b604 /dev/ashmem/dalvik-heap (deleted)I/DEBUG ( 31): 459e1c80 92023d3a I/DEBUG ( 31): 459e1c84 40490ac3 /dev/ashmem/dalvik-heap (deleted)I/DEBUG ( 31): 459e1c88 00000000 I/DEBUG ( 31): 459e1c8c 00000000 I/DEBUG ( 31): 459e1c90 00000000 I/DEBUG ( 31): 459e1c94 00000000 I/DEBUG ( 31): 459e1c98 00000000 I/DEBUG ( 31): 459e1c9c 00000000 I/DEBUG ( 31): 459e1ca0 00000000 I/DEBUG ( 31): 459e1ca4 00000000 I/DEBUG ( 31): 459e1ca8 c4571f00 I/DEBUG ( 31): 459e1cac 0000012d I/DEBUG ( 31): 459e1cb0 459e1e56 I/DEBUG ( 31): 459e1cb4 00000003 I/DEBUG ( 31): 459e1cb8 0000000a I/DEBUG ( 31): 459e1cbc 459e1de8 I/DEBUG ( 31): 459e1cc0 00000000 I/DEBUG ( 31): 459e1cc4 459e1e6b I/DEBUG ( 31): 459e1cc8 00000001 I/DEBUG ( 31): 459e1ccc 843012cd /system/lib/hw/gps.goldfish.soI/StatusbarManagerService( 68): registerStatusbar bar=com.androID.internal.statusbar.IStatusbar$Stub$Proxy@40692170D/VoldCmdListener( 29): share status umsD/StorageNotification( 278): Startup with UMS connection false (media state mounted)I/StorageNotification( 278): UMS connection changed to false (media state mounted)D/dalvikvm( 278): GC_CONCURRENT freed 501K,55% free 2668K/5831K,external 897K/1038K,paused 9ms+6msI/ActivityManager( 68): Process com.androID.defcontainer (pID 218) has dIEd.D/Zygote ( 33): Process 68 terminated by signal (11)I/Zygote ( 33): Exit zygote because system server (68) has terminatedI/ActivityThread( 415): Removing dead content provIDer: settingsI/ServiceManager( 28): service 'batteryinfo' dIEdI/ServiceManager( 28): service 'usagestats' dIEdI/ServiceManager( 28): service 'SurfaceFlinger' dIEdI/ServiceManager( 28): service 'package' dIEdI/ServiceManager( 28): service 'sensorservice' dIEdI/ServiceManager( 28): service 'cpuinfo' dIEdI/ServiceManager( 28): service 'entropy' dIEdI/ServiceManager( 28): service 'power' dIEdI/ServiceManager( 28): service 'account' dIEdI/ServiceManager( 28): service 'telephony.registry' dIEdI/ServiceManager( 28): service 'appWidget' dIEdI/ServiceManager( 28): service 'backup' dIEdI/ServiceManager( 28): service 'permission' dIEdI/ServiceManager( 28): service 'activity' dIEdI/ServiceManager( 28): service 'meminfo' dIEdI/ServiceManager( 28): service 'diskstats' dIEdI/ServiceManager( 28): service 'content' dIEdI/ServiceManager( 28): service 'battery' dIEdI/ServiceManager( 28): service 'harDWare' dIEdI/ServiceManager( 28): service 'vibrator' dIEdI/ServiceManager( 28): service 'alarm' dIEdI/ServiceManager( 28): service 'window' dIEdI/ServiceManager( 28): service 'device_policy' dIEdI/ActivityThread( 278): Removing dead content provIDer: settingsI/ActivityThread( 125): Removing dead content provIDer: settingsI/ActivityThread( 122): Removing dead content provIDer: settingsI/ActivityThread( 430): Removing dead content provIDer: settingsE/installd( 35): eofE/installd( 35): Failed to read sizeI/installd( 35): closing connectionD/qemud ( 38): fdhandler_event: disconnect on fd 11I/ServiceManager( 28): service 'statusbar' dIEdI/ServiceManager( 28): service 'clipboard' dIEdI/ServiceManager( 28): service 'network_management' dIEdI/ServiceManager( 28): service 'input_method' dIEdI/ServiceManager( 28): service 'netstat' dIEdI/ServiceManager( 28): service 'wifi' dIEdI/ServiceManager( 28): service 'connectivity' dIEdI/ServiceManager( 28): service 'throttle' dIEdI/ServiceManager( 28): service 'accessibility' dIEdI/ServiceManager( 28): service 'mount' dIEdI/ServiceManager( 28): service 'notification' dIEdI/ServiceManager( 28): service 'devicestoragemonitor' dIEdI/ServiceManager( 28): service 'location' dIEdI/ServiceManager( 28): service 'search' dIEdI/ServiceManager( 28): service 'dropBox' dIEdI/ServiceManager( 28): service 'wallpaper' dIEdI/ServiceManager( 28): service 'audio' dIEdI/ServiceManager( 28): service 'uimode' dIEdI/ServiceManager( 28): service 'isms' dIEdI/ServiceManager( 28): service 'simphonebook' dIEdI/ServiceManager( 28): service 'iphonesubinfo' dIEdI/ServiceManager( 28): service 'phone' dIEdI/ServiceManager( 28): service 'media.audio_flinger' dIEdI/ServiceManager( 28): service 'media.audio_policy' dIEdI/ServiceManager( 28): service 'media.player' dIEdI/ServiceManager( 28): service 'media.camera' dIEdI/Netd ( 445): Netd 1.0 startingD/AndroIDRuntime( 446): D/AndroIDRuntime( 446): >>>>>> AndroIDRuntime START com.androID.internal.os.ZygoteInit <<<<<<D/AndroIDRuntime( 446): CheckJNI is ONI/ ( 444): ServiceManager: 0xad50D/AudioHarDWareInterface( 444): setMode(norMAL)I/CameraService( 444): CameraService started (pID=444)I/audioflinger( 444): audioflinger's thread 0xc650 ready to runI/SamplingProfilerIntegration( 446): Profiler is Disabled.I/Zygote ( 446): preloading classes...D/dalvikvm( 446): GC_EXPliCIT freed 47K,78% free 232K/1024K,external 0K/0K,paused 33msD/dalvikvm( 446): GC_EXPliCIT freed 1K,73% free 282K/1024K,paused 17msD/dalvikvm( 446): GC_EXPliCIT freed 22K,70% free 316K/1024K,paused 19msD/dalvikvm( 446): GC_EXPliCIT freed 17K,66% free 353K/1024K,paused 8msD/dalvikvm( 446): GC_EXPliCIT freed 26K,63% free 382K/1024K,paused 19msD/dalvikvm( 446): GC_EXPliCIT freed 20K,58% free 439K/1024K,paused 20msW/MediaProfiles( 446): Could not find media config xml fileD/dalvikvm( 446): GC_EXPliCIT freed 99K,47% free 545K/1024K,paused 24msD/dalvikvm( 446): GC_EXPliCIT freed 272K,28% free 884K/1219K,paused 45msD/dalvikvm( 446): GC_EXPliCIT freed 21K,24% free 931K/1219K,paused 41msD/RenderScript_jni( 446): RenderScript JNI library not found!D/dalvikvm( 446): GC_EXPliCIT freed 25K,19% free 998K/1219K,paused 51msD/dalvikvm( 446): GC_EXPliCIT freed 47K,5% free 1281K/1347K,paused 64msD/dalvikvm( 446): GC_EXPliCIT freed 24K,3% free 1310K/1347K,paused 72msD/dalvikvm( 446): GC_EXPliCIT freed 28K,6% free 1336K/1411K,paused 63msD/dalvikvm( 446): GC_EXPliCIT freed 14K,3% free 1376K/1411K,paused 75msD/dalvikvm( 446): GC_EXPliCIT freed 28K,5% free 1402K/1475K,paused 64msD/dalvikvm( 446): GC_EXPliCIT freed 28K,3% free 1439K/1475K,paused 78msD/dalvikvm( 446): GC_EXPliCIT freed 38K,6% free 1456K/1539K,paused 77msD/dalvikvm( 446): GC_EXPliCIT freed 40K,5% free 1471K/1539K,paused 76msD/dalvikvm( 446): GC_EXPliCIT freed 55K,8% free 1485K/1603K,paused 75msD/dalvikvm( 446): GC_FOR_MALLOC freed 2956K,58% free 2166K/5123K,paused 273msD/dalvikvm( 446): GC_EXPliCIT freed 1401K,55% free 2309K/5123K,paused 162msD/dalvikvm( 446): GC_EXPliCIT freed 141K,55% free 2355K/5123K,paused 146msD/dalvikvm( 446): GC_EXPliCIT freed 73K,54% free 2380K/5123K,paused 162msD/dalvikvm( 446): GC_EXPliCIT freed 36K,54% free 2398K/5123K,paused 139msD/dalvikvm( 446): GC_EXPliCIT freed 30K,53% free 2421K/5123K,paused 140msD/dalvikvm( 446): GC_EXPliCIT freed 38K,53% free 2444K/5123K,paused 141msI/Zygote ( 446): ...preloaded 1830 classes in 23652ms.E/Zygote ( 446): setreuID() Failed. errno: 17D/dalvikvm( 446): GC_EXPliCIT freed 18K,53% free 2442K/5123K,paused 153msI/Zygote ( 446): preloading resources...D/dalvikvm( 446): GC_EXTERNAL_ALLOC freed <1K,paused 141msW/Zygote ( 446): Preloaded drawable resource #0x1080093 (res/drawable-mdpi/sym_def_app_icon.png) that varIEs with configuration!!W/Zygote ( 446): Preloaded drawable resource #0x1080002 (res/drawable-mdpi/arrow_down_float.png) that varIEs with configuration!!W/Zygote ( 446): Preloaded drawable resource #0x10800b4 (res/drawable/btn_check.xml) that varIEs with configuration!!W/Zygote ( 446): Preloaded drawable resource #0x10800b7 (res/drawable-mdpi/btn_check_label_background.9.png) that varIEs with configuration!!W/Zygote ( 446): Preloaded drawable resource #0x10800b8 (res/drawable-mdpi/btn_check_off.png) that varIEs with configuration!!W/Zygote ( 446): Preloaded drawable resource #0x10800bd (res/drawable-mdpi/btn_check_on.png) that varIEs with configuration!!W/Zygote ( 446): Preloaded drawable resource #0x1080004 (res/drawable/btn_default.xml) that varIEs with configuration!!W/Zygote ( 446): Preloaded drawable resource #0x1080005 (res/drawable/btn_default_small.xml) that varIEs with configuration!!W/Zygote ( 446): Preloaded drawable resource #0x1080006 (res/drawable/btn_dropdown.xml) that varIEs with configuration!!W/Zygote ( 446): Preloaded drawable resource #0x1080008 (res/drawable/btn_plus.xml) that varIEs with configuration!!W/Zygote ( 446): Preloaded drawable resource #0x1080007 (res/drawable/btn_minus.xml) that varIEs with configuration!!W/Zygote ( 446): Preloaded drawable resource #0x1080009 (res/drawable/btn_radio.xml) that varIEs with configuration!!W/Zygote ( 446): Preloaded drawable resource #0x108000a (res/drawable/btn_star.xml) that varIEs with configuration!!D/dalvikvm( 446): GC_EXPliCIT freed 25K,52% free 2481K/5123K,external 408K/521K,paused 128msW/Zygote ( 446): Preloaded drawable resource #0x1080132 (res/drawable/btn_toggle.xml) that varIEs with configuration!!W/Zygote ( 446): Preloaded drawable resource #0x1080196 (res/drawable-mdpi/ic_emergency.png) that varIEs with configuration!!W/Zygote ( 446): Preloaded drawable resource #0x1080012 (res/drawable-mdpi/divIDer_horizontal_bright.9.png) that varIEs with configuration!!W/Zygote ( 446): Preloaded drawable resource #0x1080014 (res/drawable-mdpi/divIDer_horizontal_dark.9.png) that varIEs with configuration!!W/Zygote ( 446): Preloaded drawable resource #0x1080016 (res/drawable/edit_text.xml) that varIEs with configuration!!W/Zygote ( 446): Preloaded drawable resource #0x1080170 (res/drawable/expander_group.xml) that varIEs with configuration!!W/Zygote ( 446): Preloaded drawable resource #0x1080062 (res/drawable/List_selector_background.xml) that varIEs with configuration!!W/Zygote ( 446): Preloaded drawable resource #0x108022a (res/drawable-mdpi/menu_background.9.png) that varIEs with configuration!!W/Zygote ( 446): Preloaded drawable resource #0x108022b (res/drawable-mdpi/menu_background_fill_parent_wIDth.9.png) that varIEs with configuration!!W/Zygote ( 446): Preloaded drawable resource #0x108022c (res/drawable/menu_selector.xml) that varIEs with configuration!!D/dalvikvm( 446): GC_EXTERNAL_ALLOC freed 16K,52% free 2494K/5123K,external 516K/521K,paused 135msW/Zygote ( 446): Preloaded drawable resource #0x108023a (res/drawable-mdpi/panel_background.9.png) that varIEs with configuration!!W/Zygote ( 446): Preloaded drawable resource #0x1080242 (res/drawable-mdpi/popup_bottom_bright.9.png) that varIEs with configuration!!W/Zygote ( 446): Preloaded drawable resource #0x1080243 (res/drawable-mdpi/popup_bottom_dark.9.png) that varIEs with configuration!!W/Zygote ( 446): Preloaded drawable resource #0x1080244 (res/drawable-mdpi/popup_bottom_medium.9.png) that varIEs with configuration!!W/Zygote ( 446): Preloaded drawable resource #0x1080245 (res/drawable-mdpi/popup_center_bright.9.png) that varIEs with configuration!!W/Zygote ( 446): Preloaded drawable resource #0x1080246 (res/drawable-mdpi/popup_center_dark.9.png) that varIEs with configuration!!W/Zygote ( 446): Preloaded drawable resource #0x1080249 (res/drawable-mdpi/popup_full_dark.9.png) that varIEs with configuration!!W/Zygote ( 446): Preloaded drawable resource #0x108024c (res/drawable-mdpi/popup_top_bright.9.png) that varIEs with configuration!!W/Zygote ( 446): Preloaded drawable resource #0x108024d (res/drawable-mdpi/popup_top_dark.9.png) that varIEs with configuration!!W/Zygote ( 446): Preloaded drawable resource #0x108006d (res/drawable/progress_indeterminate_horizontal.xml) that varIEs with configuration!!W/Zygote ( 446): Preloaded drawable resource #0x1080253 (res/drawable/progress_small.xml) that varIEs with configuration!!W/Zygote ( 446): Preloaded drawable resource #0x1080254 (res/drawable/progress_small_Titlebar.xml) that varIEs with configuration!!W/Zygote ( 446): Preloaded drawable resource #0x1080274 (res/drawable-mdpi/scrollbar_handle_horizontal.9.png) that varIEs with configuration!!W/Zygote ( 446): Preloaded drawable resource #0x1080275 (res/drawable-mdpi/scrollbar_handle_vertical.9.png) that varIEs with configuration!!D/dalvikvm( 446): GC_EXPliCIT freed 15K,52% free 2506K/5123K,external 585K/1038K,paused 142msW/Zygote ( 446): Preloaded drawable resource #0x1080071 (res/drawable/spinner_dropdown_background.xml) that varIEs with configuration!!W/Zygote ( 446): Preloaded drawable resource #0x1080304 (res/drawable-mdpi/text_select_handle_left.png) that varIEs with configuration!!W/Zygote ( 446): Preloaded drawable resource #0x1080305 (res/drawable-mdpi/text_select_handle_mIDdle.png) that varIEs with configuration!!W/Zygote ( 446): Preloaded drawable resource #0x1080306 (res/drawable-mdpi/text_select_handle_right.png) that varIEs with configuration!!W/Zygote ( 446): Preloaded drawable resource #0x1080327 (res/drawable-mdpi/Title_bar_shadow.9.png) that varIEs with configuration!!W/Zygote ( 446): Preloaded drawable resource #0x10801d8 (res/drawable-mdpi/indicator_code_lock_drag_direction_green_up.png) that varIEs with configuration!!W/Zygote ( 446): Preloaded drawable resource #0x10801d9 (res/drawable-mdpi/indicator_code_lock_drag_direction_red_up.png) that varIEs with configuration!!W/Zygote ( 446): Preloaded drawable resource #0x10801da (res/drawable-mdpi/indicator_code_lock_point_area_default.png) that varIEs with configuration!!W/Zygote ( 446): Preloaded drawable resource #0x10801db (res/drawable-mdpi/indicator_code_lock_point_area_green.png) that varIEs with configuration!!W/Zygote ( 446): Preloaded drawable resource #0x10801dc (res/drawable-mdpi/indicator_code_lock_point_area_red.png) that varIEs with configuration!!I/Zygote ( 446): ...preloaded 51 resources in 2898ms.I/Zygote ( 446): ...preloaded 15 resources in 64ms.D/dalvikvm( 446): GC_EXPliCIT freed 23K,51% free 2514K/5123K,external 716K/1038K,paused 134msD/dalvikvm( 446): GC_EXPliCIT freed 6K,52% free 2508K/5123K,paused 128msD/dalvikvm( 446): GC_EXPliCIT freed <1K,paused 224msI/dalvikvm( 446): System server process 453 has been createdI/Zygote ( 446): Accepting command socket connectionsE/BatteryService( 453): usbOnlinePath not foundE/BatteryService( 453): batteryVoltagePath not foundE/BatteryService( 453): batteryTemperaturePath not foundI/sysproc ( 453): Entered system_init()I/sysproc ( 453): ServiceManager: 0x8fbe8I/SurfaceFlinger( 453): SurfaceFlinger is startingI/SurfaceFlinger( 453): SurfaceFlinger's main thread ready to run. Initializing graphics H/W...E/SurfaceFlinger( 453): Couldn't open /sys/power/wait_for_fb_sleep or /sys/power/wait_for_fb_wakeI/gralloc ( 453): using (fd=27)I/gralloc ( 453): ID = I/gralloc ( 453): xres = 320 pxI/gralloc ( 453): yres = 480 pxI/gralloc ( 453): xres_virtual = 320 pxI/gralloc ( 453): yres_virtual = 960 pxI/gralloc ( 453): bpp = 16I/gralloc ( 453): r = 11:5I/gralloc ( 453): g = 5:6I/gralloc ( 453): b = 0:5I/gralloc ( 453): wIDth = 49 mm (165.877548 dpi)I/gralloc ( 453): height = 74 mm (164.756760 dpi)I/gralloc ( 453): refresh rate = 60.00 HzD/libEGL ( 453): egl.cfg not found,using default configD/libEGL ( 453): loaded /system/lib/egl/libGLES_androID.soI/SurfaceFlinger( 453): EGL informations:I/SurfaceFlinger( 453): # of configs : 8I/SurfaceFlinger( 453): vendor : AndroIDI/SurfaceFlinger( 453): version : 1.4 AndroID Meta-EGLI/SurfaceFlinger( 453): extensions: EGL_KHR_image EGL_KHR_image_base EGL_KHR_image_pixmap EGL_ANDROID_image_native_buffer EGL_ANDROID_swap_rectangle I/SurfaceFlinger( 453): ClIEnt API: OpenGL ESI/SurfaceFlinger( 453): EGLSurface: 5-6-5-0,config=0x0I/SurfaceFlinger( 453): OpenGL informations:I/SurfaceFlinger( 453): vendor : AndroIDI/SurfaceFlinger( 453): renderer : AndroID PixelFlinger 1.4I/SurfaceFlinger( 453): version : OpenGL ES-CM 1.0I/SurfaceFlinger( 453): extensions: GL_OES_byte_coordinates GL_OES_fixed_point GL_OES_single_precision GL_OES_read_format GL_OES_compressed_paletted_texture GL_OES_draw_texture GL_OES_matrix_get GL_OES_query_matrix GL_OES_EGL_image GL_OES_compressed_ETC1_RGB8_texture GL_ARB_texture_compression GL_ARB_texture_non_power_of_two GL_ANDROID_user_clip_plane GL_ANDROID_vertex_buffer_object GL_ANDROID_generate_mipmap I/SurfaceFlinger( 453): GL_MAX_TEXTURE_SIZE = 4096I/SurfaceFlinger( 453): GL_MAX_VIEWPORT_Dims = 4096I/SurfaceFlinger( 453): flags = 000c0000D/SensorService( 453): nuSensorService starting...E/SensorService( 453): Couldn't open device for module sensors (InvalID argument)I/sysproc ( 453): System server: starting AndroID runtime.I/sysproc ( 453): System server: starting AndroID services.
我在清单中请求以下权限:
<uses-permission androID:name="androID.permission.ACCESS_COARSE_LOCATION" /><uses-permission androID:name="androID.permission.ACCESS_FINE_LOCATION" />解决方法 有 a bug in the 2.3 emulator导致此问题.目前没有修复. 总结
以上是内存溢出为你收集整理的android – 请求单个位置更新,AVD崩溃全部内容,希望文章能够帮你解决android – 请求单个位置更新,AVD崩溃所遇到的程序开发问题。
如果觉得内存溢出网站内容还不错,欢迎将内存溢出网站推荐给程序员好友。
欢迎分享,转载请注明来源:内存溢出
微信扫一扫
支付宝扫一扫
评论列表(0条)