It's so annoying when logcat shows errors which are not related to my app at all. I turned off my app in the emulator and still this error will print after every 15-20 seconds
06-08 18:22:50.685 2350-14664/com.google.android.googlequicksearchbox:search W/ErrorProcessor: onFatalError, processing error from engine(4)
com.google.android.apps.gsa.shared.speech.a.g: Error reading from input stream
at com.google.android.apps.gsa.staticplugins.recognizer.i.a.a(SourceFile:342)
at com.google.android.apps.gsa.staticplugins.recognizer.i.a$1.run(SourceFile:1367)
at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:428)
at java.util.concurrent.FutureTask.run(FutureTask.java:237)
at com.google.android.apps.gsa.shared.util.concurrent.a.ak.run(SourceFile:66)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1133)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:607)
at java.lang.Thread.run(Thread.java:761)
at com.google.android.apps.gsa.shared.util.concurrent.a.ad$1.run(SourceFile:85)
Caused by: com.google.android.apps.gsa.shared.exception.GsaIOException: Error code: 393238 | Buffer overflow, no available space.
at com.google.android.apps.gsa.speech.audio.Tee.g(SourceFile:2531)
at com.google.android.apps.gsa.speech.audio.ap.read(SourceFile:555)
at java.io.InputStream.read(InputStream.java:101)
at com.google.android.apps.gsa.speech.audio.al.run(SourceFile:362)
at com.google.android.apps.gsa.speech.audio.ak$1.run(SourceFile:471)
at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:428)
at java.util.concurrent.FutureTask.run(FutureTask.java:237)
at com.google.android.apps.gsa.shared.util.concurrent.a.ak.run(SourceFile:66)
at com.google.android.apps.gsa.shared.util.concurrent.a.ax.run(SourceFile:139)
at com.google.android.apps.gsa.shared.util.concurrent.a.ax.run(SourceFile:139)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1133)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:607)
at java.lang.Thread.run(Thread.java:761)
at com.google.android.apps.gsa.shared.util.concurrent.a.ad$1.run(SourceFile:85)
It makes debugging a bit tedious and I really want to do something about it.
EDIT-Even after using the filter I get random googlequicksearchbox errors
06-08 18:20:34.728 2350-14241/com.google.android.googlequicksearchbox:search E/AudioRecord: AudioFlinger could not create record track, status: -1
06-08 18:20:34.732 2350-14241/com.google.android.googlequicksearchbox:search E/AudioRecord-JNI: Error creating AudioRecord instance: initialization check failed with status -1.
06-08 18:20:34.732 2350-14241/com.google.android.googlequicksearchbox:search E/android.media.AudioRecord: Error code -20 when initializing native AudioRecord object.
06-08 18:20:34.732 2350-14241/com.google.android.googlequicksearchbox:search E/ActivityThread: Failed to find provider info for com.google.android.apps.gsa.testing.ui.audio.recorded
06-08 18:20:39.760 1306-3296/? E/audio_hw_generic: Error opening input stream format 1, channel_mask 0010, sample_rate 16000
06-08 18:20:39.762 1306-1691/? E/AudioFlinger: openRecord() permission denied: recording not allowed
PS: I am not using any voice related stuff in my app.
You Go To File menu on Android studio they have a option invalidate cache and restart and press this option .
when You invalidate cache and restart then . Approx Your Problem solved
You could use pidcat (https://github.com/JakeWharton/pidcat) - Pidcat is a colored logcat script which only shows log entries for a specific application package.
Related
im using webrtc for calling, but it's crash in China rom device mostly but also some others(even samsung). here is the crash log:
2021-09-12 18:29:31.899 1218-14625/? E/OMX-VDEC-1080P: Omx_vdec::Comp Init Returning failure, errno 12
2021-09-12 18:29:31.899 1218-14625/? E/OMX-VDEC-1080P: eventfd_write failed for fd: -1, errno = 9, force stop async_thread
2021-09-12 18:29:31.899 1218-14625/? E/OMX-VDEC-1080P: Invalid input: -1
2021-09-12 18:29:31.913 1218-14625/? E/android.hardware.media.omx#1.0-service: Failed to allocate omx component 'OMX.qcom.video.decoder.vp8' err=InsufficientResources(0x80001000)
2021-09-12 18:29:31.916 3298-27657/com.civix.link E/ACodec: Unable to instantiate codec 'OMX.qcom.video.decoder.vp8' with err 0xfffffff4.
2021-09-12 18:29:31.916 3298-27657/com.civix.link E/ACodec: signalError(omxError 0xfffffff4, internalError -12)
2021-09-12 18:29:31.918 3298-27656/com.civix.link E/MediaCodec: Codec reported err 0xfffffff4, actionCode 0, while in state 1
2021-09-12 18:29:31.924 1195-32507/? E/ResourceManagerService: getLowestPriorityBiggestClient_l: lowest priority 0 vs caller priority 0
2021-09-12 18:29:31.925 3298-25911/com.civix.link W/MediaCodec-JNI: try to release MediaCodec from JMediaCodec::~JMediaCodec()...
2021-09-12 18:29:31.925 3298-25911/com.civix.link W/MediaCodec-JNI: done releasing MediaCodec from JMediaCodec::~JMediaCodec().
2021-09-12 18:29:31.925 3298-25911/com.civix.link W/System.err: android.media.MediaCodec$CodecException: Failed to initialize OMX.qcom.video.decoder.vp8, error 0xfffffff4
2021-09-12 18:29:31.925 3298-25911/com.civix.link W/System.err: at android.media.MediaCodec.native_setup(Native Method)
2021-09-12 18:29:31.925 3298-25911/com.civix.link W/System.err: at android.media.MediaCodec.<init>(MediaCodec.java:1912)
2021-09-12 18:29:31.925 3298-25911/com.civix.link W/System.err: at android.media.MediaCodec.createByCodecName(MediaCodec.java:1890)
2021-09-12 18:29:31.925 3298-25911/com.civix.link W/System.err: at org.webrtc.HardwareVideoDecoder.initDecodeInternal(HardwareVideoDecoder.java:173)
2021-09-12 18:29:31.925 3298-25911/com.civix.link W/System.err: at org.webrtc.HardwareVideoDecoder.initDecode(HardwareVideoDecoder.java:150)
2021-09-12 18:29:31.925 3298-25911/com.civix.link E/rtc: #
# Fatal error in: gen/sdk/android/generated_base_jni/jni/../../../../../../../../../usr/local/google/home/sakal/code/webrtc-aar-release/src/sdk/android/src/jni/jni_generator_helper.h, line 37
# last system error: 0
# Check failed: !env->ExceptionCheck()
#
I have some device work normally, but in some device(even Samsung) it crash after 1 minute -> 30 minutes running call.
About my webrtc, im using default all:
peerConnectionFactory = PeerConnectionFactory.builder()
.setOptions(options)
.setVideoEncoderFactory(new DefaultVideoEncoderFactory(MeetingClient.mRootEglBase.getEglBaseContext(), true, true))
.setVideoDecoderFactory(new DefaultVideoDecoderFactory(MeetingClient.mRootEglBase.getEglBaseContext()))
.createPeerConnectionFactory();
Can someone tech me how to solve this? Thanks
I have a problem with HLS streams on devices Android 22 Api and below for cameras with high definition 2688x1520 and bitrate 5812 - stream can't play. I use ExoPlayer version 2.9.6 (also testing with 2.10.4). On other devices and other cameras - all ok. Please help me to resolve this issue.
Short logs:
D: NoSupport [codec.profileLevel, avc1.4D4032, video/avc] [OMX.google.h264.decoder, video/avc] [generic_x86_64, Android SDK built for x86_64, unknown, 22]
I: Using client-side OMX mux.
E: [OMX.google.h264.decoder] storeMetaDataInBuffers failed w/ err -1010
E: [OMX.google.h264.decoder] ERROR(0x80001001)
E: signalError(omxError 0x80001001, internalError -2147483648)
E: Codec reported err 0x80001001, actionCode 0, while in state 6
E: Internal runtime error.
java.lang.IllegalStateException
at android.media.MediaCodec.native_dequeueOutputBuffer(Native Method)
at android.media.MediaCodec.dequeueOutputBuffer(MediaCodec.java:1033)
at com.google.android.exoplayer2.mediacodec.MediaCodecRenderer.drainOutputBuffer(MediaCodecRenderer.java:1287)
at com.google.android.exoplayer2.mediacodec.MediaCodecRenderer.render(MediaCodecRenderer.java:663)
at com.google.android.exoplayer2.ExoPlayerImplInternal.doSomeWork(ExoPlayerImplInternal.java:536)
at com.google.android.exoplayer2.ExoPlayerImplInternal.handleMessage(ExoPlayerImplInternal.java:303)
at android.os.Handler.dispatchMessage(Handler.java:98)
at android.os.Looper.loop(Looper.java:135)
at android.os.HandlerThread.run(HandlerThread.java:61)
E: Stop failed.
java.lang.IllegalStateException
at android.media.MediaCodec.native_stop(Native Method)
at android.media.MediaCodec.stop(MediaCodec.java:628)
at com.google.android.exoplayer2.mediacodec.MediaCodecRenderer.releaseCodec(MediaCodecRenderer.java:608)
at com.google.android.exoplayer2.video.MediaCodecVideoRenderer.releaseCodec(MediaCodecVideoRenderer.java:508)
at com.google.android.exoplayer2.mediacodec.MediaCodecRenderer.onDisabled(MediaCodecRenderer.java:562)
at com.google.android.exoplayer2.video.MediaCodecVideoRenderer.onDisabled(MediaCodecVideoRenderer.java:377)
at com.google.android.exoplayer2.BaseRenderer.disable(BaseRenderer.java:153)
at com.google.android.exoplayer2.ExoPlayerImplInternal.disableRenderer(ExoPlayerImplInternal.java:983)
at com.google.android.exoplayer2.ExoPlayerImplInternal.resetInternal(ExoPlayerImplInternal.java:771)
at com.google.android.exoplayer2.ExoPlayerImplInternal.stopInternal(ExoPlayerImplInternal.java:742)
at com.google.android.exoplayer2.ExoPlayerImplInternal.handleMessage(ExoPlayerImplInternal.java:358)
at android.os.Handler.dispatchMessage(Handler.java:98)
at android.os.Looper.loop(Looper.java:135)
at android.os.HandlerThread.run(HandlerThread.java:61)
D: java.lang.IllegalStateException
Link issue on github with full bug report
https://github.com/google/ExoPlayer/issues/6433
NoSupport [codec.profileLevel, avc1.4D4032, video/avc]
Your video uses H.264 Main Profile (avc1.4D) which is not supported by these particular devices. The minimum requirement for Main Profile is 6.0+. You could check if there's another software decoder available (see MediaCodecSelector), although ExoPlayer will pick the best one.
I have tried all possible options. When i am trying to run the app the app is woking fine with all functionality .However the below messages are coming in android monitor which is very annoying.Please help me in finding the reason why it is coming.
08-04 00:19:53.038 2322-2322/com.google.android.googlequicksearchbox:search I/MicroDetectionWorker: Micro detection mode: [mDetectionMode: [1]].
08-04 00:19:53.039 2322-2322/com.google.android.googlequicksearchbox:search I/AudioController: Using mInputStreamFactoryBuilder
08-04 00:19:53.058 2322-7024/com.google.android.googlequicksearchbox:search I/MicroRecognitionRunner: Starting detection.
08-04 00:19:53.059 2322-2473/com.google.android.googlequicksearchbox:search I/MicrophoneInputStream: mic_starting com.google.android.apps.gsa.staticplugins.z.c#136a5d5
08-04 00:19:53.061 1308-1333/? W/APM_AudioPolicyManager: getInputForAttr() failed opening input: samplingRate 16000, format 1, channelMask 10
08-04 00:19:53.062 2322-2473/com.google.android.googlequicksearchbox:search E/AudioRecord: Could not get audio input for session 993, record source 1999, sample rate 16000, format 0x1, channel mask 0x10, flags 0
08-04 00:19:53.064 2322-2473/com.google.android.googlequicksearchbox:search E/AudioRecord-JNI: Error creating AudioRecord instance: initialization check failed with status -22.
08-04 00:19:53.064 2322-2473/com.google.android.googlequicksearchbox:search E/android.media.AudioRecord: Error code -20 when initializing native AudioRecord object.
08-04 00:19:53.064 2322-2473/com.google.android.googlequicksearchbox:search I/MicrophoneInputStream: mic_started com.google.android.apps.gsa.staticplugins.z.c#136a5d5
08-04 00:19:53.067 2322-2473/com.google.android.googlequicksearchbox:search E/ActivityThread: Failed to find provider info for com.google.android.apps.gsa.testing.ui.audio.recorded
08-04 00:19:53.069 2322-2322/com.google.android.googlequicksearchbox:search I/MicroDetectionWorker: onReady
08-04 00:19:53.099 2322-2473/com.google.android.googlequicksearchbox:search I/MicrophoneInputStream: mic_close com.google.android.apps.gsa.staticplugins.z.c#136a5d5
08-04 00:19:53.099 2322-7024/com.google.android.googlequicksearchbox:search I/MicroRecognitionRunner: Detection finished
08-04 00:19:53.099 2322-7024/com.google.android.googlequicksearchbox:search W/ErrorReporter: reportError [type: 211, code: 524300]: Error reading from input stream
08-04 00:19:53.100 2322-6584/com.google.android.googlequicksearchbox:search I/MicroRecognitionRunner: Stopping hotword detection.
08-04 00:19:53.101 2322-7024/com.google.android.googlequicksearchbox:search W/ErrorProcessor: onFatalError, processing error from engine(4)
com.google.android.apps.gsa.shared.speech.a.g: Error reading from input stream
at com.google.android.apps.gsa.staticplugins.recognizer.i.a.a(SourceFile:342)
at com.google.android.apps.gsa.staticplugins.recognizer.i.a$1.run(SourceFile:1367)
at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:428)
at java.util.concurrent.FutureTask.run(FutureTask.java:237)
at com.google.android.apps.gsa.shared.util.concurrent.a.ak.run(SourceFile:66)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1133)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:607)
at java.lang.Thread.run(Thread.java:761)
at com.google.android.apps.gsa.shared.util.concurrent.a.ad$1.run(SourceFile:85)
Caused by: com.google.android.apps.gsa.shared.exception.GsaIOException: Error code: 393238 | Buffer overflow, no available space.
at com.google.android.apps.gsa.speech.audio.Tee.g(SourceFile:2531)
at com.google.android.apps.gsa.speech.audio.ap.read(SourceFile:555)
at java.io.InputStream.read(InputStream.java:101)
at com.google.android.apps.gsa.speech.audio.al.run(SourceFile:362)
at com.google.android.apps.gsa.speech.audio.ak$1.run(SourceFile:471)
at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:428)
at java.util.concurrent.FutureTask.run(FutureTask.java:237)
at com.google.android.apps.gsa.shared.util.concurrent.a.ak.run(SourceFile:66)
at com.google.android.apps.gsa.shared.util.concurrent.a.ax.run(SourceFile:139)
at com.google.android.apps.gsa.shared.util.concurrent.a.ax.run(SourceFile:139)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1133)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:607)
at java.lang.Thread.run(Thread.java:761)
at com.google.android.apps.gsa.shared.util.concurrent.a.ad$1.run(SourceFile:85)
08-04 00:19:53.101 2322-7024/com.google.android.googlequicksearchbox:search I/AudioController: internalShutdown
08-04 00:19:53.106 2322-2322/com.google.android.googlequicksearchbox:search I/MicroDetector: Keeping mic open: false
08-04 00:19:53.106 2322-2322/com.google.android.googlequicksearchbox:search I/MicroDetectionWorker: #onError(false)
08-04 00:19:53.106 2322-7023/com.google.android.googlequicksearchbox:search I/DeviceStateChecker: DeviceStateChecker cancelled
I am new to Android Studio and Android programming and am attempting to follow a how to lesson. I am having a lot of trouble following Android Studio Logcat because it is not as straightforward to me as any IDEs have used. Could someone please decode what things mean in my errors? I need to learn how to use Logcat since the explanations I see online are too simplified and do not cover much.
What exactly is:"2359-13990/"?
How do I find the place in the code that caused the errors?
What exactly does my error output from Logcat mean?
Due to the space limit, I have changed my post and now have only errors instead of verbose. Here are my errors in Logcat:
06-21 21:11:46.347 2359-13990/com.google.android.googlequicksearchbox:search E/AudioRecord: Could not get audio input for session 3105, record source 1999, sample rate 16000, format 0x1, channel mask 0x10, flags 0
06-21 21:11:46.348 2359-13990/com.google.android.googlequicksearchbox:search E/AudioRecord-JNI: Error creating AudioRecord instance: initialization check failed with status -22.
06-21 21:11:46.348 2359-13990/com.google.android.googlequicksearchbox:search E/android.media.AudioRecord: Error code -20 when initializing native AudioRecord object.
06-21 21:11:46.349 2359-13990/com.google.android.googlequicksearchbox:search E/ActivityThread: Failed to find provider info for com.google.android.apps.gsa.testing.ui.audio.recorded
06-21 21:11:47.142 29992-29992/? E/cutils-trace: Error opening trace file: Permission denied (13)
06-21 21:11:47.185 29992-29992/? E/memtrack: Couldn't load memtrack module (No such file or directory)
06-21 21:11:47.185 29992-29992/? E/android.os.Debug: failed to load memtrack module: -2
06-21 21:11:47.398 30006-30006/? E/cutils-trace: Error opening trace file: Permission denied (13)
06-21 21:11:47.440 30006-30006/? E/memtrack: Couldn't load memtrack module (No such file or directory)
06-21 21:11:47.440 30006-30006/? E/android.os.Debug: failed to load memtrack module: -2
06-21 21:11:47.770 30029-30029/? E/cutils-trace: Error opening trace file: Permission denied (13)
06-21 21:11:47.811 30029-30029/? E/memtrack: Couldn't load memtrack module (No such file or directory)
06-21 21:11:47.812 30029-30029/? E/android.os.Debug: failed to load memtrack module: -2
06-21 21:11:49.172 30041-30041/? E/cutils-trace: Error opening trace file: Permission denied (13)
06-21 21:11:49.227 30046-30046/? E/cutils-trace: Error opening trace file: Permission denied (13)
06-21 21:11:49.229 30041-30041/? E/memtrack: Couldn't load memtrack module (No such file or directory)
06-21 21:11:49.229 30041-30041/? E/android.os.Debug: failed to load memtrack module: -2
06-21 21:11:49.279 30046-30046/? E/memtrack: Couldn't load memtrack module (No such file or directory)
06-21 21:11:49.279 30046-30046/? E/android.os.Debug: failed to load memtrack module: -2
06-21 21:11:49.331 30063-30070/? E/art: Failed sending reply to debugger: Broken pipe
06-21 21:11:52.997 30063-30063/com.example.android.sunshine E/AndroidRuntime: FATAL EXCEPTION: main
Process: com.example.android.sunshine, PID: 30063
java.lang.RuntimeException: Unable to start activity ComponentInfo{com.example.android.sunshine/com.example.android.sunshine.MainActivity}: java.lang.NullPointerException: Attempt to invoke virtual method 'void android.widget.ProgressBar.setVisibility(int)' on a null object reference
at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2665)
at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2726)
at android.app.ActivityThread.-wrap12(ActivityThread.java)
at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1477)
at android.os.Handler.dispatchMessage(Handler.java:102)
at android.os.Looper.loop(Looper.java:154)
at android.app.ActivityThread.main(ActivityThread.java:6119)
at java.lang.reflect.Method.invoke(Native Method)
at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:886)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:776)
Caused by: java.lang.NullPointerException: Attempt to invoke virtual method 'void android.widget.ProgressBar.setVisibility(int)' on a null object reference
at com.example.android.sunshine.MainActivity$FetchWeatherTask.onPreExecute(MainActivity.java:97)
at android.os.AsyncTask.executeOnExecutor(AsyncTask.java:620)
at android.os.AsyncTask.execute(AsyncTask.java:567)
at com.example.android.sunshine.MainActivity.loadWeatherData(MainActivity.java:74)
at com.example.android.sunshine.MainActivity.onCreate(MainActivity.java:63)
at android.app.Activity.performCreate(Activity.java:6679)
at android.app.Instrumentation.callActivityOnCreate(Instrumentation.java:1118)
at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2618)
at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2726)
at android.app.ActivityThread.-wrap12(ActivityThread.java)
at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1477)
at android.os.Handler.dispatchMessage(Handler.java:102)
at android.os.Looper.loop(Looper.java:154)
at android.app.ActivityThread.main(ActivityThread.java:6119)
at java.lang.reflect.Method.invoke(Native Method)
at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:886)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:776)
06-21 21:11:53.668 2359-13990/com.google.android.googlequicksearchbox:search E/AudioRecord: Could not get audio input for session 3113, record source 1999, sample rate 16000, format 0x1, channel mask 0x10, flags 0
06-21 21:11:53.669 2359-13990/com.google.android.googlequicksearchbox:search E/AudioRecord-JNI: Error creating AudioRecord instance: initialization check failed with status -22.
06-21 21:11:53.669 2359-13990/com.google.android.googlequicksearchbox:search E/android.media.AudioRecord: Error code -20 when initializing native AudioRecord object.
06-21 21:11:53.669 2359-13990/com.google.android.googlequicksearchbox:search E/ActivityThread: Failed to find provider info for com.google.android.apps.gsa.testing.ui.audio.recorded
06-21 21:11:58.689 2359-13990/com.google.android.googlequicksearchbox:search E/AudioRecord: Could not get audio input for session 3121, record source 1999, sample rate 16000, format 0x1, channel mask 0x10, flags 0
06-21 21:11:58.689 2359-13990/com.google.android.googlequicksearchbox:search E/AudioRecord-JNI: Error creating AudioRecord instance: initialization check failed with status -22.
06-21 21:11:58.689 2359-13990/com.google.android.googlequicksearchbox:search E/android.media.AudioRecord: Error code -20 when initializing native AudioRecord object.
06-21 21:11:58.690 2359-13990/com.google.android.googlequicksearchbox:search E/ActivityThread: Failed to find provider info for com.google.android.apps.gsa.testing.ui.audio.recorded
06-21 21:12:03.709 2359-13990/com.google.android.googlequicksearchbox:search E/AudioRecord: Could not get audio input for session 3129, record source 1999, sample rate 16000, format 0x1, channel mask 0x10, flags 0
06-21 21:12:03.711 2359-13990/com.google.android.googlequicksearchbox:search E/AudioRecord-JNI: Error creating AudioRecord instance: initialization check failed with status -22.
06-21 21:12:03.712 2359-13990/com.google.android.googlequicksearchbox:search E/android.media.AudioRecord: Error code -20 when initializing native AudioRecord object.
06-21 21:12:03.712 2359-13990/com.google.android.googlequicksearchbox:search E/ActivityThread: Failed to find provider info for com.google.android.apps.gsa.testing.ui.audio.recorded
06-21 21:12:08.742 2359-13990/com.google.android.googlequicksearchbox:search E/AudioRecord: Could not get audio input for session 3137, record source 1999, sample rate 16000, format 0x1, channel mask 0x10, flags 0
06-21 21:12:08.742 2359-13990/com.google.android.googlequicksearchbox:search E/AudioRecord-JNI: Error creating AudioRecord instance: initialization check failed with status -22.
06-21 21:12:08.742 2359-13990/com.google.android.googlequicksearchbox:search E/android.media.AudioRecord: Error code -20 when initializing native AudioRecord object.
06-21 21:12:08.742 2359-13990/com.google.android.googlequicksearchbox:search E/ActivityThread: Failed to find provider info for com.google.android.apps.gsa.testing.ui.audio.recorded
06-21 21:12:13.764 2359-13990/com.google.android.googlequicksearchbox:search E/AudioRecord: Could not get audio input for session 3145, record source 1999, sample rate 16000, format 0x1, channel mask 0x10, flags 0
06-21 21:12:13.764 2359-13990/com.google.android.googlequicksearchbox:search E/AudioRecord-JNI: Error creating AudioRecord instance: initialization check failed with status -22.
06-21 21:12:13.765 2359-13990/com.google.android.googlequicksearchbox:search E/android.media.AudioRecord: Error code -20 when initializing native AudioRecord object.
06-21 21:12:13.765 2359-13990/com.google.android.googlequicksearchbox:search E/ActivityThread: Failed to find provider info for com.google.android.apps.gsa.testing.ui.audio.recorded
06-21 21:12:18.790 2359-13990/com.google.android.googlequicksearchbox:search E/AudioRecord: Could not get audio input for session 3153, record source 1999, sample rate 16000, format 0x1, channel mask 0x10, flags 0
06-21 21:12:18.790 2359-13990/com.google.android.googlequicksearchbox:search E/AudioRecord-JNI: Error creating AudioRecord instance: initialization check failed with status -22.
06-21 21:12:18.790 2359-13990/com.google.android.googlequicksearchbox:search E/android.media.AudioRecord: Error code -20 when initializing native AudioRecord object.
06-21 21:12:18.791 2359-13990/com.google.android.googlequicksearchbox:search E/ActivityThread: Failed to find provider info for com.google.android.apps.gsa.testing.ui.audio.recorded
06-21 21:12:23.808 2359-13990/com.google.android.googlequicksearchbox:search E/AudioRecord: Could not get audio input for session 3161, record source 1999, sample rate 16000, format 0x1, channel mask 0x10, flags 0
06-21 21:12:23.808 2359-13990/com.google.android.googlequicksearchbox:search E/AudioRecord-JNI: Error creating AudioRecord instance: initialization check failed with status -22.
06-21 21:12:23.808 2359-13990/com.google.android.googlequicksearchbox:search E/android.media.AudioRecord: Error code -20 when initializing native AudioRecord object.
06-21 21:12:23.808 2359-13990/com.google.android.googlequicksearchbox:search E/ActivityThread: Failed to find provider info for com.google.android.apps.gsa.testing.ui.audio.recorded
You look for your package name (if you have not selected your project in the dropdown for logging). In you case I suppose its "com.example.android.sunshine".
Just after your package name you will find the exception and more details.
ComponentInfo{com.example.android.sunshine/com.example.android.sunshine.MainActivity}: java.lang.NullPointerException: Attempt to invoke virtual method 'void'
Below that you can find stacktrace. In that stacktrace again find your package name and you will find exact line where error occurred.
com.example.android.sunshine.MainActivity$FetchWeatherTask.onPreExecute(MainActivity.java:97)
When I run my application I get frosen some operation. I get logs. But there is nothing form my app but there are many times same logs:
01-22 11:58:32.085 562 562 D STATUSBAR-NetworkController: refreshSignalCluster: data=0 bt=false
01-22 11:58:33.695 458 512 E DirEncryptConnector: Communications error: java.io.IOException: No such file or directory
01-22 11:58:33.695 458 512 E DirEncryptConnector: Error in NativeDaemonConnector: java.io.IOException: No such file or directory
01-22 11:58:34.105 562 562 D STATUSBAR-NetworkController: refreshSignalCluster: data=0 bt=false
What is DirEncryptConnector?
For more details, take a look here, is the Android source code:
http://gitorious.org/ginger/frameworks-base/blobs/2435a927f30efe38c673bfaed64a9880028da9e8/services/java/com/android/server/NativeDaemonConnector.java
Inside, you can se when those logs are written, for example, you have
log.e(TAG, "Error in NativeDaemonConnector", e);
on line 85.