My app is working well on other phones without errors.
I recently tested my app on an actual Samsung S4 and all of my canvas drawings are messed up. Some times they draw and sometimes they don't, it seems completely random. No errors are thrown regarding the canvas draw commands. I am not using any transitions.
After reading many posts I disabled hardware acceleration by using
super.appView.setLayerType(View.LAYER_TYPE_SOFTWARE, null);
And I also used the following to ensure the viewport wouldn't be skewed due to the higher resolution
<meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, target-densitydpi=medium-dpi, user-scalable=0" />
Now when I run the app I do see some strange errors that are not seen when testing on other phones. I searched the net but didn't learn too much about them.
E/SELinux(23616): selinux_android_seapp_context_reload: seapp_contexts file is loaded from /seapp_contexts
E/ViewRootImpl(23616): sendUserActionEvent() mView == null
E/SpannableStringBuilder(23616): SPAN_EXCLUSIVE_EXCLUSIVE spans cannot have a zero length
E/SpannableStringBuilder(23616): SPAN_EXCLUSIVE_EXCLUSIVE spans cannot have a zero length
I have no idea what these errors mean. sendUserActionEvent? I am not sending any action events. SPAN_EXCLUSIVE_EXCLUSIVE? I do not have any spans...
Are there any other tips on getting Phonegap to run well on the S4???
Here is my full log
10-29 19:11:22.189:
E/SELinux(23616): selinux_android_seapp_context_reload: seapp_contexts file is loaded from /seapp_contexts
10-29 19:11:22.189: D/dalvikvm(23616): Late-enabling CheckJNI
10-29 19:11:22.279: D/CordovaActivity(23616): Setting integer properties in CordovaActivity will be deprecated in 3.0 on July 2013, please use config.xml
10-29 19:11:22.289: I/CordovaLog(23616): Changing log level to DEBUG(3)
10-29 19:11:22.289: D/CordovaActivity(23616): CordovaActivity.onCreate()
10-29 19:11:22.289: D/CordovaActivity(23616): Setting integer properties in CordovaActivity will be deprecated in 3.0 on July 2013, please use config.xml
10-29 19:11:22.349: I/webclipboard(23616): clipservice: android.sec.clipboard.ClipboardExManager#422752e8
10-29 19:11:22.379: D/CordovaWebView(23616): CordovaWebView is running on device made by: samsung
10-29 19:11:22.389: D/JsMessageQueue(23616): Set native->JS mode to 2
10-29 19:11:22.389: D/CordovaActivity(23616): CordovaActivity.init()
10-29 19:11:22.409: V/webkit(23616): BrowserFrame constructor: this=Handler (android.webkit.BrowserFrame) {4226f018}
10-29 19:11:22.459: D/dalvikvm(23616): GC_FOR_ALLOC freed 325K, 8% free 18099K/19532K, paused 25ms, total 25ms
10-29 19:11:22.459: I/dalvikvm-heap(23616): Grow heap (frag case) to 21.387MB for 2764816-byte allocation
10-29 19:11:22.479: D/dalvikvm(23616): GC_FOR_ALLOC freed 3K, 7% free 20796K/22236K, paused 13ms, total 13ms
10-29 19:11:22.489: D/dalvikvm(23616): GC_CONCURRENT freed 1K, 7% free 20807K/22236K, paused 3ms+2ms, total 17ms
10-29 19:11:22.499: D/CordovaWebView(23616): loadUrlIntoView(file:///android_asset/www/splash.html, 10000)
10-29 19:11:22.499: D/CordovaActivity(23616): onMessage(splashscreen,show)
10-29 19:11:22.499: D/CordovaWebView(23616): >>> loadUrl(file:///android_asset/www/splash.html)
10-29 19:11:22.499: D/PluginManager(23616): init()
10-29 19:11:22.509: D/CordovaWebView(23616): >>> loadUrlNow()
10-29 19:11:22.509: D/WebView(23616): loadUrlImpl: called
10-29 19:11:22.509: D/webcore(23616): CORE loadUrl: called
10-29 19:11:22.509: D/webkit(23616): Firewall not null
10-29 19:11:22.509: D/webkit(23616): euler: isUrlBlocked = false
10-29 19:11:22.509: I/CordovaLog(23616): Found start page location: splash.html
10-29 19:11:22.509: I/CordovaLog(23616): Changing log level to DEBUG(3)
10-29 19:11:22.509: D/CordovaActivity(23616): Resuming the App
10-29 19:11:22.509: D/CordovaActivity(23616): CB-3064: The errorUrl is null
10-29 19:11:22.549: D/libEGL(23616): loaded /system/lib/egl/libEGL_adreno200.so
10-29 19:11:22.549: D/libEGL(23616): loaded /system/lib/egl/libGLESv1_CM_adreno200.so
10-29 19:11:22.549: D/libEGL(23616): loaded /system/lib/egl/libGLESv2_adreno200.so
10-29 19:11:22.549: I/Adreno200-EGL(23616): <qeglDrvAPI_eglInitialize:265>: EGL 1.4 QUALCOMM build: (CL3579225)
10-29 19:11:22.549: I/Adreno200-EGL(23616): Build Date: 04/22/13 Mon
10-29 19:11:22.549: I/Adreno200-EGL(23616): Local Branch: adreno_sba_20130419
10-29 19:11:22.549: I/Adreno200-EGL(23616): Remote Branch:
10-29 19:11:22.549: I/Adreno200-EGL(23616): Local Patches:
10-29 19:11:22.549: I/Adreno200-EGL(23616): Reconstruct Branch:
10-29 19:11:22.619: D/OpenGLRenderer(23616): Enabling debug mode 0
10-29 19:11:22.619: D/SoftKeyboardDetect(23616): Ignore this event
10-29 19:11:22.629: D/WebView(23616): onSizeChanged - w:1080 h:1920
10-29 19:11:22.629: D/CordovaActivity(23616): onMessage(onPageStarted,file:///android_asset/www/splash.html)
10-29 19:11:22.760: D/SoftKeyboardDetect(23616): Ignore this event
10-29 19:11:22.770: D/SoftKeyboardDetect(23616): Ignore this event
10-29 19:11:23.400: I/Web Console(23616): BUILD TITLE: height: 480 width: 1080:135
10-29 19:11:23.410: D/skia(23616): new locale
10-29 19:11:23.420: I/GATE(23616): <GATE-M>DEV_ACTION_COMPLETED</GATE-M>
10-29 19:11:23.420: D/CordovaWebViewClient(23616): onPageFinished(file:///android_asset/www/splash.html)
10-29 19:11:23.420: D/CordovaActivity(23616): onMessage(onPageFinished,file:///android_asset/www/splash.html)
10-29 19:11:23.470: D/CordovaActivity(23616): onMessage(spinner,stop)
10-29 19:11:23.470: D/CordovaNetworkManager(23616): Connection Type: wifi
10-29 19:11:23.480: D/TilesManager(23616): Starting TG #0, 0x6d237b38
10-29 19:11:23.480: D/TilesManager(23616): new EGLContext from framework: 40fc0920
10-29 19:11:23.480: D/GLWebViewState(23616): Reinit shader
10-29 19:11:23.490: D/CordovaActivity(23616): onMessage(splashscreen,hide)
10-29 19:11:23.490: I/App(23616): WARNING: Back Button Default Behaviour will be overridden. The backbutton event will be fired!
10-29 19:11:23.680: D/GLWebViewState(23616): Reinit transferQueue
10-29 19:11:23.721: D/CordovaNetworkManager(23616): Connection Type: wifi
10-29 19:11:23.721: D/CordovaActivity(23616): onMessage(networkconnection,wifi)
10-29 19:11:23.821:
E/ViewRootImpl(23616): sendUserActionEvent() mView == null
E/SpannableStringBuilder(23616): SPAN_EXCLUSIVE_EXCLUSIVE spans cannot have a zero length
E/SpannableStringBuilder(23616): SPAN_EXCLUSIVE_EXCLUSIVE spans cannot have a zero length
10-29 19:11:25.432: D/CordovaActivity(23616): onMessage(spinner,stop)
10-29 19:12:00.266: D/CordovaActivity(23616): Paused the application!
10-29 19:12:00.266: D/CordovaWebView(23616): Handle the pause
10-29 19:12:00.266: D/WebView(23616): loadUrlImpl: called
10-29 19:12:00.266: D/webcore(23616): CORE loadUrl: called
10-29 19:12:00.266: D/webkit(23616): Firewall not null
10-29 19:12:00.266: D/webkit(23616): euler: isUrlBlocked = false
10-29 19:12:00.837: W/IInputConnectionWrapper(23616): setComposingText on inactive InputConnection
Related
Model : JP5 MINI
CPU : 2x ARM Cortex-A9 912Mhz
GPU : Mali-400 MP2*
Screen : 480x272
RAM : 1024MB
OS: Android 4.2
Ratio : 16:9
PPI : 128.3PPI
DISPLAY SIZE : 3.74" x 2.12" = 7.93in² ( 9.5cm x 5.38cm = 51.17cm² ) at 128.3 PPI,
0.198mm dot pitch, 16462 PPI²
02-18 07:29:18.940: D/AudioHardware(92): AudioHardware pcm playback is exiting standby.
02-18 07:29:18.940: D/AudioHardware(92): openPcmOut_l() mPcmOpenCnt: 0
02-18 07:29:18.940: D/alsa_pcm(92): pcm_open(0x0003f000)
02-18 07:29:18.940: D/alsa_pcm(92): pcm_open() period sz multiplier 16
02-18 07:29:18.940: D/alsa_pcm(92): pcm_open() period cnt 6
02-18 07:29:18.940: D/alsa_pcm(92): pcm_open() period_cnt 6 period_sz 1024 channels 2
02-18 07:29:18.940: I/alsa_mix(92): -->Playback Path access 3
02-18 07:29:18.950: I/ActivityManager(343): START u0 {act=android.intent.action.MAIN cat= [android.intent.category.LAUNCHER] flg=0x10200000 cmp=com.WhyCreative.ITENO/com.unity3d.player.UnityPlayerActivity} from pid 541
02-18 07:29:19.000: I/ActivityManager(343): Start proc com.WhyCreative.ITENO for activity com.WhyCreative.ITENO/com.unity3d.player.UnityPlayerActivity: pid=4837 uid=10074 gids={50074, 1015, 1028, 3003}
02-18 07:29:19.040: I/InputReader(343): Reconfiguring input devices. changes=0x00000004
02-18 07:29:19.040: I/InputReader(343): Device reconfigured: id=2, name='gslX680', size 480x272, orientation 3, mode 1, display id 0
02-18 07:29:19.040: I/ActivityManager(343): Config changes=1480 {1.0 ?mcc?mnc en_US ldltr sw600dp w544dp h912dp 80dpi lrg long port finger -keyb/v/h -nav/h s.16}
02-18 07:29:19.110: D/PhoneApp(530): updateProximitySensorMode: state = IDLE
02-18 07:29:19.120: D/PhoneApp(530): updateProximitySensorMode: lock already released.
02-18 07:29:19.160: I/qtaguid(343): Failed write_ctrl(s 1 10074) res=-1 errno=1
02-18 07:29:19.160: W/NetworkManagementSocketTagger(343): setKernelCountSet(10074, 1) failed with errno -1
02-18 07:29:19.230: D/dalvikvm(4837): Trying to load lib /mnt/asec/com.WhyCreative.ITENO- 2/lib/libmain.so 0x41e10600
02-18 07:29:19.230: D/dalvikvm(4837): Added shared lib /mnt/asec/com.WhyCreative.ITENO- 2/lib/libmain.so 0x41e10600
02-18 07:29:19.240: D/WallpaperManager(417): LOAD DEFAULT WALLPAPER ......false
02-18 07:29:19.280: D/dalvikvm(417): GC_FOR_ALLOC freed 1328K, 57% free 4099K/9348K, paused 30ms, total 35ms
02-18 07:29:19.290: I/dalvikvm-heap(417): Grow heap (frag case) to 8.073MB for 4096016-byte allocation
02-18 07:29:19.330: D/dalvikvm(417): GC_FOR_ALLOC freed 206K, 41% free 7892K/13352K, paused 44ms, total 44ms
02-18 07:29:19.420: W/IInputConnectionWrapper(541): showStatusIcon on inactive InputConnection
02-18 07:29:19.420: I/ActivityManager(343): Displayed com.WhyCreative.ITENO/com.unity3d.player.UnityPlayerActivity: +439ms
02-18 07:29:19.450: D/dalvikvm(417): GC_CONCURRENT freed 1K, 41% free 7890K/13352K, paused 6ms+25ms, total 113ms
02-18 07:29:19.450: E/dalvikvm(4837): Could not find class 'java.lang.invoke.MethodHandles$Lookup', referenced from method bitter.jnibridge.JNIBridge$a.<init>
02-18 07:29:19.450: W/dalvikvm(4837): VFY: unable to resolve const-class 269 (Ljava/lang/invoke/MethodHandles$Lookup;) in Lbitter/jnibridge/JNIBridge$a;
02-18 07:29:19.450: D/dalvikvm(4837): VFY: replacing opcode 0x1c at 0x000b
02-18 07:29:19.450: E/dalvikvm(4837): Could not find class 'java.lang.invoke.MethodHandles$Lookup', referenced from method bitter.jnibridge.JNIBridge$a.a
02-18 07:29:19.450: W/dalvikvm(4837): VFY: unable to resolve check-cast 269 (Ljava/lang/invoke/MethodHandles$Lookup;) in Lbitter/jnibridge/JNIBridge$a;
02-18 07:29:19.450: D/dalvikvm(4837): VFY: replacing opcode 0x1f at 0x001b
02-18 07:29:19.500: I/Unity(4837): SystemInfo CPU = ARMv7 VFPv3 NEON, Cores = 2, Memory = 1024mb
02-18 07:29:19.500: I/Unity(4837): SystemInfo ARM big.LITTLE configuration: 2 big (mask: 0x3), 0 little (mask: 0x0)
02-18 07:29:19.500: I/Unity(4837): ApplicationInfo com.WhyCreative.ITENO version 1.0 build 360b0e55- e22b-42f3-ae7a-8314418d164f
02-18 07:29:19.500: I/Unity(4837): Built from '2019.1/release' branch, Version '2019.1.2f1 (3e18427e571f)', Build type 'Release', Scripting Backend 'mono', CPU 'armeabi-v7a', Stripping 'Disabled'
02-18 07:29:20.100: D/libEGL(4837): loaded /system/lib/egl/libEGL_mali.so
02-18 07:29:20.100: D/libEGL(4837): loaded /system/lib/egl/libGLESv1_CM_mali.so
02-18 07:29:20.100: D/libEGL(4837): loaded /system/lib/egl/libGLESv2_mali.so
02-18 07:29:20.130: D/Unity(4837): GL_EXT_debug_marker GL_OES_texture_npot GL_OES_compressed_ETC1_RGB8_texture GL_OES_standard_derivatives GL_OES_EGL_image GL_OES_depth24 GL_ARM_rgba8 GL_ARM_mali_shader_binary GL_OES_depth_texture GL_OES_packed_depth_stencil GL_EXT_texture_format_BGRA8888 GL_EXT_blend_minmax GL_OES_EGL_image_external GL_OES_EGL_sync GL_OES_rgb8_rgba8 GL_EXT_multisampled_render_to_texture GL_EXT_discard_framebuffer GL_OES_get_program_binary GL_ARM_mali_program_binary GL_EXT_shader_texture_lod GL_EXT_robustness
02-18 07:29:21.690: D/dalvikvm(343): GC_EXPLICIT freed 239K, 40% free 7247K/11996K, paused 4ms+7ms, total 80ms
02-18 07:29:22.740: V/xzj(343): Predicted: tiltAngle=-40, orientationAngle=86, predictedRotation=1, predictedRotationAgeMS=0.0
02-18 07:29:50.350: W/ThrottleService(343): unable to find stats for iface rmnet0
02-18 07:32:25.590: I/EventLogService(636): Aggregate from 1298016145449 (log), 1298016145449 (data)
02-18 07:32:25.630: W/DropBoxManagerService(343): Dropping: event_data (39 > 0 bytes)
02-18 07:39:30.280: D/dalvikvm(530): GC_CONCURRENT freed 380K, 15% free 3296K/3856K, paused 2ms+9ms, total 83ms
02-18 07:39:50.350: W/ThrottleService(343): unable to find stats for iface rmnet0
Every time i log in with facebook in my app it get closed without any error...
But, this is the log i get when the app calls the loginfacebook dialog.
Help! and thanks.
D/OpenGLRenderer: GL error from OpenGLRenderer: 0x501
E/OpenGLRenderer: GL_INVALID_VALUE
E/ViewRootImpl: sendUserActionEvent() mView == null
I/v_gralloc: Self allocation
I/v_gralloc: Self allocation
I/v_gralloc: Self allocation
I/v_gralloc: Self allocation
D/dalvikvm: GC_FOR_ALLOC freed 499K, 29% free 8575K/11996K, paused 23ms, total > 23ms
I/v_gralloc: Self allocation
W/IInputConnectionWrapper: getCursorCapsMode on inactive InputConnection
I/v_gralloc: Self allocation
I/v_gralloc: Self allocation
W/IInputConnectionWrapper: getSelectedText on inactive InputConnection
W/IInputConnectionWrapper: getTextBeforeCursor on inactive InputConnection
W/IInputConnectionWrapper: getTextAfterCursor on inactive InputConnection
W/IInputConnectionWrapper: getCursorCapsMode on inactive InputConnection
D/dalvikvm: GC_FOR_ALLOC freed 645K, 29% free 8565K/11996K, paused 17ms, total > 17ms
I/v_gralloc: Self allocation
I/v_gralloc: Self allocation
I/v_gralloc: Self allocation
I/Choreographer: Skipped 38 frames! The application may be doing too much work on its main thread
E/ViewRootImpl: sendUserActionEvent() mView == null
I/chromium: [INFO:CONSOLE(0)] "event.returnValue is deprecated. Please use the > standard event.preventDefault() instead.", source: (0)
W/chromium: [WARNING:spdy_session.cc(2388)] Received WINDOW_UPDATE for invalid > stream 13
W/chromium: [WARNING:spdy_session.cc(2388)] Received WINDOW_UPDATE for invalid > stream 15
I/v_gralloc: Self allocation
I/v_gralloc: Self allocation
I/v_gralloc: Self allocation
I/v_gralloc: Self allocation
I/v_gralloc: Self allocation
I/v_gralloc: Self allocation
I/v_gralloc: Self allocation
D/dalvikvm: GC_FOR_ALLOC freed 590K, 29% free 8605K/11996K, paused 54ms, total > 54ms
E/ViewRootImpl: sendUserActionEvent() mView == null
E/ViewRootImpl: sendUserActionEvent() mView == null
E/ViewRootImpl: sendUserActionEvent() mView == null
help!
This happens because your application is doing too much processing in UI thread
So do work with high processing on a different thread try implementing Async Tasks
check out below link
AsyncTask Android example
I had android:noHistory="true" on my manifest file for the Activity. So whenever the facebook activity was being loaded the login activity was being destroyed.
changing to "false" solved it
I've implemented an app that streams audio and video. The app also has chromecast support. Here's my issue: If I'm streaming audio to a connected bluetooth device, then I browse to an activity that attempts to discover chromecast devices, the bluetooth connection gets into a bad state (playback switches back to my device but the bluetooth connection says the bluetooth device is still connected). If I comment out the code that does chromecast device discovery, the bluetooth connection is fine. Here's the line of code that, when uncommented, causes the connect to terminate:
mMediaRouter.addCallback(mMediaRouteSelector, mMediaRouterCallback,
MediaRouter.CALLBACK_FLAG_REQUEST_DISCOVERY);
Here's what I'm seeing in the logs:
10-29 18:30:31.098 843-10255/? D/NetlinkSocketObserver﹕ NeighborEvent{elapsedMs=1128444524, 10.0.0.1, [CCA4620B2A21], RTM_NEWNEIGH, NUD_REACHABLE}
10-29 18:30:31.429 843-1680/? W/ActivityManager﹕ Permission Denial: Accessing service ComponentInfo{com.google.android.music/com.google.android.music.dial.DialMediaRouteProviderService} from pid=12704, uid=10386 that is not exported from uid 10060
10-29 18:30:31.436 1805-1805/? I/Keyboard.Facilitator﹕ onFinishInput()
10-29 18:30:31.450 198-14249/? I/bt_a2dp_hw﹕ out_set_parameters: state 1
10-29 18:30:31.450 198-14249/? I/str_params﹕ key: 'routing' value: '128'
10-29 18:30:31.450 198-14249/? I/str_params﹕ key: 'a2dp_sink_address' value: 'BC:85:56:38:15:B2'
10-29 18:30:31.459 12704-13205/com.testapp.android W/AudioTrack﹕ dead IAudioTrack, PCM, creating a new one from obtainBuffer()
10-29 18:30:31.470 198-835/? D/audio_hw_primary﹕ out_set_parameters: enter: usecase(1: low-latency-playback) kvpairs: routing=2
10-29 18:30:31.480 198-834/? D/audio_hw_primary﹕ select_devices: out_snd_device(2: speaker) in_snd_device(0: none)
10-29 18:30:31.480 198-834/? D/msm8974_platform﹕ platform_send_audio_calibration: sending audio calibration for snd_device(2) acdb_id(15)
10-29 18:30:31.480 198-834/? D/audio_hw_primary﹕ enable_snd_device: snd_device(2: speaker)
10-29 18:30:31.483 198-834/? D/audio_hw_primary﹕ enable_audio_route: apply and update mixer path: low-latency-playback
10-29 18:30:31.535 843-1911/? W/AudioTrack﹕ dead IAudioTrack, PCM, creating a new one from processAudioBuffer()
10-29 18:30:31.565 198-835/? D/audio_hw_primary﹕ out_set_parameters: enter: usecase(1: low-latency-playback) kvpairs: routing=2
10-29 18:30:31.961 14798-14798/? D/ChimeraCfgMgr﹕ Loading module com.google.android.gms.cast from APK com.google.android.gms
10-29 18:30:31.966 14798-14340/? D/MdnsClient﹕ Multicast lock held. Releasing
10-29 18:30:31.967 14798-14340/? D/MdnsClient﹕ #acquireLock. Multicast lock not held. Acquiring
10-29 18:30:33.424 12704-13190/com.testapp.android D/com.testapp.android.sqlite.LocalPlaybackPositionTableHelper﹕ - updated playback position to 23
10-29 18:30:34.530 198-14249/? I/bt_a2dp_hw﹕ suspend_audio_datapath: state 1
10-29 18:30:34.533 14175-14200/? E/bt_btif﹕ bta_av_str_stopped:audio_open_cnt=1, p_data ab20aea4
10-29 18:30:34.533 14175-14200/? W/bt_btif﹕ bta_dm_rm_cback:2, status:6
10-29 18:30:34.576 14175-14200/? W/bt_btif﹕ bta_dm_rm_cback:2, status:6
10-29 18:30:34.584 198-14249/? I/bt_a2dp_hw﹕ skt_disconnect: fd 25
10-29 18:30:34.584 14175-14214/? E/bt_btif﹕ warning : no command pending, ignore ack
10-29 18:30:34.584 14175-14214/? W/bt_btif﹕ pcm bytes per tick 3528
10-29 18:30:34.584 14175-14193/? I/BluetoothA2dpServiceJni﹕ bta2dp_audio_state_callback
10-29 18:30:34.585 14175-14213/? D/A2dpStateMachine﹕ Connected process message: 101
10-29 18:30:34.585 14175-14213/? D/A2dpStateMachine﹕ A2DP Playing state : device: BC:85:56:38:15:B2 State:10->11
I'm testing on a Nexus 5 running Android 6.0. Any ideas? Thanks in advance!
UPDATE: So after a bunch of tests I found out that I was erroneously doing the following if no media route was selected:
mMediaRouter.selectRoute(mMediaRouter.getDefaultRoute());
This was causing the bluetooth connection to be lost.
I have cross-compiled Valgrind for android target eabi x86 with NDK R10b.
When launching my app per steps as for example here valgrind crashes.
Log
10-29 11:16:07.468: D/AndroidRuntime(2240): >>>>>> AndroidRuntime START com.android.internal.os.RuntimeInit <<<<<<
10-29 11:16:07.469: D/AndroidRuntime(2240): CheckJNI is ON
10-29 11:16:07.486: E/memtrack(2240): Couldn't load memtrack module (No such file or directory)
10-29 11:16:07.486: E/android.os.Debug(2240): failed to load memtrack module: -2
10-29 11:16:07.500: D/AndroidRuntime(2240): Calling main entry com.android.commands.am.Am
10-29 11:16:07.502: I/ActivityManager(1236): START u0 {act=android.intent.action.MAIN flg=0x10000000 cmp=...} from uid 0 on display 0
10-29 11:16:07.518: D/AndroidRuntime(2240): Shutting down VM
10-29 11:16:07.519: I/art(2240): Debugger is no longer active
10-29 11:16:07.522: E/libprocessgroup(2250): failed to make and chown /acct/uid_10053: Read-only file system
10-29 11:16:07.522: W/Zygote(2250): createProcessGroup failed, kernel missing CONFIG_CGROUP_CPUACCT?
10-29 11:16:07.523: I/art(2250): Not late-enabling -Xcheck:jni (already on)
10-29 11:16:07.524: E/art(2240): Thread attaching while runtime is shutting down: Binder_1
10-29 11:16:07.524: I/AndroidRuntime(2240): NOTE: attach of thread 'Binder_1' failed
10-29 11:16:09.746: D/AndroidRuntime(2264): >>>>>> AndroidRuntime START com.android.internal.os.RuntimeInit <<<<<<
10-29 11:16:09.848: D/AndroidRuntime(2264): CheckJNI is ON
10-29 11:16:10.278: I/art(2264): Counter: 1
10-29 11:16:10.318: I/start-valgrind.sh(2263): No [stack] line found in /proc/self/maps!
10-29 11:16:10.321: A/libc(2264): No [stack] line found in /proc/self/maps!
10-29 11:16:10.341: A/libc(2264): Fatal signal 6 (SIGABRT), code -6 in tid 2264 (...)
10-29 11:16:10.580: I/DEBUG(948): *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** ***
10-29 11:16:10.580: I/DEBUG(948): Build fingerprint: 'generic_x86/sdk_phone_x86/generic_x86:5.0/LRX09D/1504858:eng/test-keys'
10-29 11:16:10.580: I/DEBUG(948): Revision: '0'
10-29 11:16:10.580: I/DEBUG(948): ABI: 'x86'
10-29 11:16:10.580: I/DEBUG(948): pid: 2264, tid: 2264, name: ... >>> /data/local/Inst/bin/valgrind <<<
10-29 11:16:10.580: I/DEBUG(948): signal 6 (SIGABRT), code -6 (SI_TKILL), fault addr --------
10-29 11:16:10.581: I/DEBUG(948): Abort message: 'No [stack] line found in /proc/self/maps!'
10-29 11:16:10.581: I/DEBUG(948): eax 00000000 ebx 000008d8 ecx 00000006 edx 00000000
10-29 11:16:10.581: I/DEBUG(948): esi 00000000 edi 00000000
10-29 11:16:10.581: I/DEBUG(948): xcs 00000073 xds 0000007b xes 0000007b xfs 00000000 xss 0000007b
10-29 11:16:10.581: I/DEBUG(948): eip 3806dd52 ebp 00000000 esp 628cfe40 flags 00200202
10-29 11:16:10.581: I/DEBUG(948): backtrace:
10-29 11:16:10.581: I/DEBUG(948): #00 pc 0006dd52 /data/local/Inst/lib/valgrind/memcheck-x86-linux
10-29 11:16:10.583: W/NativeCrashListener(1236): Couldn't find ProcessRecord for pid 2264
10-29 11:16:10.597: I/DEBUG(948): Tombstone written to: /data/tombstones/tombstone_09
10-29 11:16:10.597: I/BootReceiver(1236): Copying /data/tombstones/tombstone_09 to DropBox (SYSTEM_TOMBSTONE)
10-29 11:16:10.637: I/start-valgrind.sh(2263): start-valgrind.sh terminated by exit(1)
10-29 11:16:10.638: I/Zygote(954): Process 2250 exited cleanly (1)
10-29 11:16:10.639: W/Zygote(954): Error reading pid from wrapped process, child may have died
10-29 11:16:10.639: W/Zygote(954): java.io.EOFException
10-29 11:16:10.639: W/Zygote(954): at libcore.io.Streams.readFully(Streams.java:83)
10-29 11:16:10.639: W/Zygote(954): at java.io.DataInputStream.readInt(DataInputStream.java:103)
10-29 11:16:10.639: W/Zygote(954): at com.android.internal.os.ZygoteConnection.handleParentProc(ZygoteConnection.java:974)
10-29 11:16:10.639: W/Zygote(954): at com.android.internal.os.ZygoteConnection.runOnce(ZygoteConnection.java:276)
10-29 11:16:10.639: W/Zygote(954): at com.android.internal.os.ZygoteInit.runSelectLoop(ZygoteInit.java:784)
10-29 11:16:10.639: W/Zygote(954): at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:690)
10-29 11:16:10.639: W/ActivityManager(1236): Slow operation: 3129ms so far, now at startProcess: returned from zygote!
10-29 11:16:10.639: W/ActivityManager(1236): Slow operation: 3129ms so far, now at startProcess: done updating battery stats
10-29 11:16:10.639: W/ActivityManager(1236): Slow operation: 3129ms so far, now at startProcess: building log message
10-29 11:16:10.639: I/ActivityManager(1236): Start proc ... for activity ...: pid=2250 uid=10053 gids={50053, 9997, 3003, 1028, 1015} abi=x86
10-29 11:16:10.640: W/ActivityManager(1236): Slow operation: 3129ms so far, now at startProcess: starting to update pids map
10-29 11:16:10.640: W/ActivityManager(1236): Slow operation: 3130ms so far, now at startProcess: done updating pids map
10-29 11:16:10.640: W/ActivityManager(1236): Slow operation: 3130ms so far, now at startProcess: done starting proc!
10-29 11:16:17.520: W/ActivityManager(1236): Launch timeout has expired, giving up wake lock!
10-29 11:16:20.650: W/ActivityManager(1236): Process ProcessRecord{1daddf3b 2250:.../u0a53} failed to attach
10-29 11:16:20.650: I/ActivityManager(1236): Killing 2250:.../u0a53 (adj -100): start timeout
this also happens to me on ARM emulator for Android 5/L
I am using ubuntu 14
manual valgrind launch such as /data/local/Inst/bin/valgrind /data/local/sample-bin works without a problem
this was working fine with the same Valgrind compilation on emulator API 18 (ARM)
I've tried remounting the file system in write-allowed mode using
adb shell mount -o remount,rw -t yaffs2 /dev/block/mtdblock0 /system
and
mount -o ro,remount /system
and
adb root && adb remount
-- none does the trick
Has anyone have any ideas what might be the problem here ?
I had a similar error from the emulator's Widget Preview app:
E/libprocessgroup﹕ failed to make and chown /acct/uid_10052: Read-only file system
After various web searches and experiments, I discovered that the emulator's /sdcard was indeed set to read-only. (You can test this by trying to touch or push a file in adb shell, or using Android Device Manager to explore the file system.)
The bug and workaround that worked are described in Issue 78434.
Workaround
Go to your ADV folder in .android folder and find your AVD's config.ini file, e.g. ~/.android/avd/Nexus5_v19.avd/config.ini.
Open it with a text editor. If you're on Windows, use a text editor that can handle Unix newlines.
Change hw.sdCard=no to hw.sdCard=yes.
Save that, re-launch the emulator, and test that /sdcard is writeable.
Okay, I've encountered this same problem and the above solution didn't work for me. I figured it out as it occurred exactly after I added Firebase Storage to my app.
Checked the build.gradle(Module:app), found Firebase different versions conflict, changed all of them to the same version, Sync Project and now it works :) Hope this help for future reference.
I'm trying to install and run the default 'hello world' app on the emulator, but whenever I try to run it I get this error on install:
[2014-07-07 16:07:07 - Test] Android Launch!
[2014-07-07 16:07:07 - Test] adb is running normally.
[2014-07-07 16:07:07 - Test] Performing com.example.test.MainActivity activity launch
[2014-07-07 16:07:18 - Test] Uploading Test.apk onto device 'emulator-5554'
[2014-07-07 16:07:27 - Test] Installing Test.apk...
[2014-07-07 16:08:22 - Test] Installation error: Unknown failure
[2014-07-07 16:08:22 - Test] Please check logcat output for more details.
[2014-07-07 16:08:24 - Test] Launch canceled!
This is the logcat output when that happens:
?:??: W/?(?): --------- beginning of main
07-07 19:36:52.410: E/logwrapper(40): executing /system/bin/e2fsck failed: No such file or directory
07-07 19:36:52.540: E/logwrapper(43): executing /system/bin/e2fsck failed: No such file or directory
07-07 19:36:54.420: I/lowmemorykiller(45): Using in-kernel low memory killer interface
07-07 19:36:55.370: I/qemu-props(48): connected to 'boot-properties' qemud service.
07-07 19:36:55.410: I/qemu-props(48): receiving..
07-07 19:36:55.410: I/qemu-props(48): received: dalvik.vm.heapsize=48m
07-07 19:36:55.710: I/qemu-props(48): receiving..
07-07 19:36:55.710: I/qemu-props(48): received: ro.config.low_ram=true
07-07 19:36:56.070: I/qemu-props(48): receiving..
07-07 19:36:56.070: I/qemu-props(48): received: qemu.sf.lcd_density=160
07-07 19:36:56.320: I/qemu-props(48): receiving..
07-07 19:36:56.370: I/qemu-props(48): received: qemu.hw.mainkeys=0
07-07 19:36:56.620: I/qemu-props(48): receiving..
07-07 19:36:56.620: I/qemu-props(48): received: qemu.sf.fake_camera=none
07-07 19:36:56.770: I/qemu-props(48): receiving..
07-07 19:36:56.770: I/qemu-props(48): exiting (5 properties set).
07-07 19:36:56.940: I/installd(54): installd firing up
07-07 19:36:57.260: I/DEBUG(50): debuggerd: Jun 23 2014 23:40:35
07-07 19:36:57.260: I/DEBUG(50): --------- beginning of system
07-07 19:36:58.370: I/Vold(47): Vold 2.1 (the revenge) firing up
07-07 19:36:58.530: D/Vold(47): Volume sdcard state changing -1 (Initializing) -> 0 (No-Media)
07-07 19:36:59.600: I/Netd(49): Netd 1.0 starting
07-07 19:36:59.800: W/InterfaceController(49): Warning (dlopen failed: library "/system/lib/libnetcmdiface.so" not found) while opening the net interface command library
07-07 19:37:04.160: D/Vold(47): Volume sdcard state changing 0 (No-Media) -> 1 (Idle-Unmounted)
07-07 19:37:07.800: I/SurfaceFlinger(51): SurfaceFlinger is starting
07-07 19:37:07.800: I/SurfaceFlinger(51): SurfaceFlinger's main thread ready to run. Initializing graphics H/W...
07-07 19:37:07.820: D/libEGL(51): Emulator without GPU support detected. Fallback to software renderer.
07-07 19:37:08.700: D/libEGL(51): loaded /system/lib/egl/libGLES_android.so
07-07 19:37:09.900: D/gralloc_goldfish(51): Emulator without GPU emulation detected.
07-07 19:37:09.990: I/gralloc(51): using (fd=14)
07-07 19:37:09.990: I/gralloc(51): id =
07-07 19:37:09.990: I/gralloc(51): xres = 320 px
07-07 19:37:09.990: I/gralloc(51): yres = 480 px
07-07 19:37:09.990: I/gralloc(51): xres_virtual = 320 px
07-07 19:37:09.990: I/gralloc(51): yres_virtual = 960 px
07-07 19:37:09.990: I/gralloc(51): bpp = 16
07-07 19:37:09.990: I/gralloc(51): r = 11:5
07-07 19:37:09.990: I/gralloc(51): g = 5:6
07-07 19:37:09.990: I/gralloc(51): b = 0:5
07-07 19:37:10.030: I/gralloc(51): width = 49 mm (165.877548 dpi)
07-07 19:37:10.030: I/gralloc(51): height = 74 mm (164.756760 dpi)
07-07 19:37:10.030: I/gralloc(51): refresh rate = 651.04 Hz
07-07 19:37:10.110: E/SurfaceFlinger(51): hwcomposer module not found
07-07 19:37:10.110: W/SurfaceFlinger(51): getting VSYNC period from fb HAL: 1536001
07-07 19:37:10.190: W/SurfaceFlinger(51): no suitable EGLConfig found, trying a simpler query
07-07 19:37:10.190: W/SurfaceFlinger(51): EGL_SLOW_CONFIG selected!
07-07 19:37:10.190: I/SurfaceFlinger(51): EGL information:
07-07 19:37:10.190: I/SurfaceFlinger(51): vendor : Android
07-07 19:37:10.190: I/SurfaceFlinger(51): version : 1.4 Android META-EGL
07-07 19:37:10.190: I/SurfaceFlinger(51): extensions: EGL_KHR_get_all_proc_addresses EGL_ANDROID_presentation_time EGL_KHR_image_base EGL_KHR_fence_sync EGL_ANDROID_image_native_buffer
07-07 19:37:10.230: I/SurfaceFlinger(51): Client API: OpenGL_ES
07-07 19:37:10.230: I/SurfaceFlinger(51): EGLSurface: 5-6-5-0, config=0x0
07-07 19:37:10.270: W/SurfaceFlinger(51): no suitable EGLConfig found, trying a simpler query
07-07 19:37:10.270: W/SurfaceFlinger(51): EGL_SLOW_CONFIG selected!
07-07 19:37:10.270: I/SurfaceFlinger(51): EGL information:
07-07 19:37:10.270: I/SurfaceFlinger(51): vendor : Android
07-07 19:37:10.270: I/SurfaceFlinger(51): version : 1.4 Android META-EGL
07-07 19:37:10.270: I/SurfaceFlinger(51): extensions: EGL_KHR_get_all_proc_addresses EGL_ANDROID_presentation_time EGL_KHR_image_base EGL_KHR_fence_sync EGL_ANDROID_image_native_buffer
07-07 19:37:10.270: I/SurfaceFlinger(51): Client API: OpenGL_ES
07-07 19:37:10.270: I/SurfaceFlinger(51): EGLSurface: 5-6-5-0, config=0x0
07-07 19:37:10.400: I/SurfaceFlinger(51): OpenGL ES informations:
07-07 19:37:10.400: I/SurfaceFlinger(51): vendor : Android
07-07 19:37:10.400: I/SurfaceFlinger(51): renderer : Android PixelFlinger 1.4
07-07 19:37:10.400: I/SurfaceFlinger(51): version : OpenGL ES-CM 1.0
07-07 19:37:10.400: I/SurfaceFlinger(51): extensions: GL_EXT_debug_marker 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_EGL_sync 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
07-07 19:37:10.450: I/SurfaceFlinger(51): GL_MAX_TEXTURE_SIZE = 4096
07-07 19:37:10.450: I/SurfaceFlinger(51): GL_MAX_VIEWPORT_DIMS = 4096
07-07 19:37:10.590: W/SurfaceFlinger(51): no suitable EGLConfig found, trying a simpler query
07-07 19:37:10.590: W/SurfaceFlinger(51): EGL_SLOW_CONFIG selected!
07-07 19:37:10.590: I/SurfaceFlinger(51): EGL information:
07-07 19:37:10.590: I/SurfaceFlinger(51): vendor : Android
07-07 19:37:10.590: I/SurfaceFlinger(51): version : 1.4 Android META-EGL
07-07 19:37:10.590: I/SurfaceFlinger(51): extensions: EGL_KHR_get_all_proc_addresses EGL_ANDROID_presentation_time EGL_KHR_image_base EGL_KHR_fence_sync EGL_ANDROID_image_native_buffer
07-07 19:37:10.590: I/SurfaceFlinger(51): Client API: OpenGL_ES
07-07 19:37:10.590: I/SurfaceFlinger(51): EGLSurface: 5-6-5-0, config=0x0
07-07 19:37:11.200: D/SurfaceFlinger(51): Screen acquired, type=0 flinger=0xb835f448
07-07 19:37:18.810: E/SurfaceFlinger(51): ro.sf.lcd_density must be defined as a build property
07-07 19:37:19.660: D/libEGL(92): Emulator without GPU support detected. Fallback to software renderer.
07-07 19:37:19.870: D/libEGL(92): loaded /system/lib/egl/libGLES_android.so
07-07 19:37:21.180: D/gralloc_goldfish(92): Emulator without GPU emulation detected.
07-07 19:37:29.930: I/ARMAssembler(92): generated scanline__00000077:03010102_00000A01_00000000 [ 9 ipp] (30 ins) at [0xb60191f0:0xb6019268] in 20000000 ns
07-07 19:37:30.000: I/ARMAssembler(92): generated scanline__00000077:03545402_00000A01_00000000 [ 31 ipp] (52 ins) at [0xb6019270:0xb6019340] in 10000000 ns
07-07 19:37:34.070: D/AndroidRuntime(52): >>>>>> AndroidRuntime START com.android.internal.os.ZygoteInit <<<<<<
07-07 19:37:35.580: D/AndroidRuntime(52): CheckJNI is ON
07-07 19:37:37.770: I/mediaserver(53): ServiceManager: 0xb722a460
07-07 19:37:37.830: I/AudioFlinger(53): Using default 3000 mSec as standby time.
07-07 19:37:38.700: I/CameraService(53): CameraService started (pid=53)
07-07 19:37:40.190: D/EmulatedCamera_QemuClient(53): Emulated camera list:
07-07 19:37:40.300: I/CameraService(53): Loaded "Emulated Camera Module" camera module
07-07 19:37:41.260: I/AudioPolicyManagerBase(53): loadAudioPolicyConfig() loaded /system/etc/audio_policy.conf
07-07 19:37:41.470: I/AudioFlinger(53): loadHwModule() Loaded primary audio interface from Default audio HW HAL (audio) handle 1
07-07 19:37:41.560: I/AudioFlinger(53): HAL output buffer size 1024 frames, normal mix buffer size 1024 frames
07-07 19:37:42.610: I/AudioMixer(53): found effect "Multichannel Downmix To Stereo" from The Android Open Source Project
07-07 19:37:42.620: I/AudioFlinger(53): Using module 1 has the primary audio interface
07-07 19:37:42.630: I/AudioFlinger(53): AudioFlinger's thread 0xb5f93008 ready to run
07-07 19:37:42.870: W/AudioFlinger(53): Thread AudioOut_2 cannot connect to the power manager service
07-07 19:37:43.020: W/AudioFlinger(53): Thread AudioOut_2 cannot connect to the power manager service
07-07 19:37:43.070: W/AudioFlinger(53): Thread AudioOut_2 cannot connect to the power manager service
07-07 19:37:43.100: E/AudioFlinger(53): no wake lock to update!
07-07 19:37:43.150: E/AudioFlinger(53): int android::load_audio_interface(const char*, audio_hw_device_t**) couldn't load audio hw module audio.r_submix (No such file or directory)
07-07 19:37:43.170: I/AudioFlinger(53): loadHwModule() error -2 loading module r_submix
07-07 19:37:43.170: W/AudioPolicyManagerBase(53): could not open HW module r_submix
07-07 19:37:43.170: I/AudioPolicyService(53): Loaded audio policy from LEGACY Audio Policy HAL (audio_policy)
07-07 19:37:47.380: D/dalvikvm(52): Trying to load lib libjavacore.so 0x0
07-07 19:37:47.680: D/dalvikvm(52): Added shared lib libjavacore.so 0x0
07-07 19:37:48.600: D/dalvikvm(52): Trying to load lib libnativehelper.so 0x0
07-07 19:37:48.620: D/dalvikvm(52): Added shared lib libnativehelper.so 0x0
07-07 19:37:48.620: D/dalvikvm(52): No JNI_OnLoad found in libnativehelper.so 0x0, skipping init
07-07 19:38:00.920: D/dalvikvm(52): Note: class Landroid/app/ActivityManagerNative; has 179 unimplemented (abstract) methods
07-07 19:38:21.340: E/memtrack(52): Couldn't load memtrack module (No such file or directory)
07-07 19:38:21.350: E/android.os.Debug(52): failed to load memtrack module: -2
07-07 19:38:28.650: I/SamplingProfilerIntegration(52): Profiling disabled.
07-07 19:38:29.360: I/Zygote(52): Preloading classes...
07-07 19:38:29.420: D/dalvikvm(52): WAIT_FOR_CONCURRENT_GC blocked 1ms
07-07 19:38:29.550: D/dalvikvm(52): GC_EXPLICIT freed 40K, 8% free 527K/568K, paused 34ms+18ms, total 121ms
07-07 19:38:30.810: D/dalvikvm(52): WAIT_FOR_CONCURRENT_GC blocked 13ms
07-07 19:38:30.910: D/dalvikvm(52): GC_EXPLICIT freed 2K, 4% free 601K/620K, paused 6ms+6ms, total 90ms
07-07 19:38:37.190: D/dalvikvm(52): GC_EXPLICIT freed 13K, 3% free 645K/664K, paused 26ms+3ms, total 145ms
07-07 19:38:39.870: D/dalvikvm(52): GC_EXPLICIT freed 13K, 3% free 702K/720K, paused 24ms+23ms, total 120ms
07-07 19:38:43.280: D/dalvikvm(52): WAIT_FOR_CONCURRENT_GC blocked 21ms
07-07 19:38:43.460: D/dalvikvm(52): GC_EXPLICIT freed 31K, 5% free 726K/760K, paused 6ms+24ms, total 172ms
07-07 19:38:52.880: D/dalvikvm(52): GC_EXPLICIT freed 9K, 2% free 777K/788K, paused 25ms+4ms, total 149ms
07-07 19:39:04.060: E/logwrapper(278): executing /system/bin/ip failed: No such file or directory
07-07 19:39:04.220: E/logwrapper(279): executing /system/bin/ip failed: No such file or directory
07-07 19:39:04.300: E/logwrapper(280): executing /system/bin/ip failed: No such file or directory
07-07 19:39:04.390: E/logwrapper(281): executing /system/bin/ip failed: No such file or directory
07-07 19:39:04.460: E/logwrapper(282): executing /system/bin/ip failed: No such file or directory
07-07 19:39:04.560: E/logwrapper(283): executing /system/bin/ip failed: No such file or directory
07-07 19:39:04.780: E/logwrapper(284): executing /system/bin/ip failed: No such file or directory
07-07 19:39:04.830: D/dalvikvm(52): GC_EXPLICIT freed 29K, 4% free 803K/836K, paused 5ms+4ms, total 294ms
07-07 19:39:11.210: D/TextLayoutCache(52): Using debug level = 0 - Debug Enabled = 0
07-07 19:39:14.760: I/dalvikvm(52): threadid=1: recursive native library load attempt (/system/lib/libmedia_jni.so)
07-07 19:39:14.850: D/MtpDeviceJNI(52): register_android_mtp_MtpDevice
07-07 19:39:14.950: I/dalvikvm(52): threadid=1: recursive native library load attempt (/system/lib/libmedia_jni.so)
07-07 19:39:15.020: I/dalvikvm(52): threadid=1: recursive native library load attempt (/system/lib/libmedia_jni.so)
07-07 19:39:15.290: D/dalvikvm(52): GC_EXPLICIT freed 9K, 2% free 851K/864K, paused 26ms+26ms, total 166ms
07-07 19:39:17.940: D/dalvikvm(52): WAIT_FOR_CONCURRENT_GC blocked 1ms
07-07 19:39:18.140: D/dalvikvm(52): GC_EXPLICIT freed 31K, 4% free 875K/908K, paused 8ms+53ms, total 196ms
07-07 19:39:19.070: D/dalvikvm(52): GC_EXPLICIT freed 12K, 2% free 935K/952K, paused 26ms+5ms, total 210ms
07-07 19:39:21.160: E/EmojiFactory_jni(52): Failed to load libemoji.so: dlopen failed: library "libemoji.so" not found
07-07 19:39:22.980: D/dalvikvm(52): GC_EXPLICIT freed 29K, 4% free 961K/992K, paused 28ms+5ms, total 194ms
07-07 19:39:28.740: D/dalvikvm(52): GC_EXPLICIT freed 30K, 4% free 984K/1020K, paused 26ms+27ms, total 212ms
07-07 19:39:36.370: D/dalvikvm(52): GC_EXPLICIT freed 27K, 3% free 1011K/1040K, paused 26ms+28ms, total 245ms
07-07 19:39:38.520: D/dalvikvm(52): GC_EXPLICIT freed 21K, 3% free 1046K/1072K, paused 17ms+5ms, total 219ms
07-07 19:39:39.320: D/dalvikvm(52): GC_EXPLICIT freed 15K, 2% free 1091K/1112K, paused 27ms+29ms, total 233ms
07-07 19:39:40.280: D/MDnsDS(49): MDnsSdListener::Hander starting up
07-07 19:39:40.300: D/MDnsDS(49): MDnsSdListener starting to monitor
07-07 19:39:40.300: D/MDnsDS(49): Going to poll with pollCount 1
07-07 19:39:40.940: D/dalvikvm(52): GC_EXPLICIT freed 79K, 7% free 1123K/1208K, paused 17ms+17ms, total 161ms
07-07 19:39:42.170: D/dalvikvm(52): WAIT_FOR_CONCURRENT_GC blocked 1ms
07-07 19:39:42.370: D/dalvikvm(52): GC_EXPLICIT freed 11K, 4% free 1169K/1208K, paused 19ms+37ms, total 183ms
07-07 19:39:43.240: D/dalvikvm(52): GC_EXPLICIT freed 44K, 4% free 1184K/1232K, paused 33ms+16ms, total 175ms
07-07 19:39:44.110: D/dalvikvm(52): GC_EXPLICIT freed 53K, 6% free 1196K/1264K, paused 19ms+20ms, total 163ms
07-07 19:39:53.340: I/System(52): Loaded time zone names for "" in 8193ms (7622ms in ICU)
07-07 19:39:57.610: I/System(52): Loaded time zone names for "en_US" in 4247ms (3773ms in ICU)
07-07 19:39:57.850: D/dalvikvm(52): GC_EXPLICIT freed 253K, 17% free 1357K/1616K, paused 26ms+19ms, total 235ms
07-07 19:40:00.590: D/dalvikvm(52): GC_FOR_ALLOC freed 238K, 13% free 1631K/1872K, paused 212ms, total 216ms
07-07 19:40:03.490: D/dalvikvm(52): GC_EXPLICIT freed 232K, 12% free 1781K/2020K, paused 21ms+18ms, total 254ms
07-07 19:40:05.910: I/Zygote(52): ...preloaded 1481 classes in 96543ms.
07-07 19:40:17.670: D/dalvikvm(52): GC_EXPLICIT freed 18K, 11% free 1800K/2020K, paused 20ms+20ms, total 246ms
07-07 19:40:17.710: I/Zygote(52): Preloading resources...
I've tried making new AVDs and cleaning my project, but it doesn't seem to help. Does anyone know what causes this/how to fix it?
edit: When I try making an AVD with the GPU box checked I get an infinite loop of this:
07-07 22:26:45.960: E/EGL_emulation(90): Failed to establish connection with the host
07-07 22:26:45.960: E/(90): Failed to connect to host (QemuPipeStream)!!!
You need to create a new virtual device and set the GPU emulation mark to true in Hardware properties.
I think you have to edit the AVD skin to use “skin with dynamic hardware controls”