Android运行过程中一点小问题

Android运行时显示了一堆的错误,关于Audio的错误可以看到是没有给予权限,在Manifest里面注册一下,

后面就不显示相关的错误。

2019-09-01 09:10:48.552 2733-3139/com.google.android.gms.persistent E/ctxmgr: [NetworkUtil]No active synchronizable contexts. [CONTEXT service_id=47 ]
2019-09-01 09:10:49.678 1615-2407/? E/AudioPolicyIntefaceImpl: getInputForAttr permission denied: recording not allowed for uid 10033 pid 3450
2019-09-01 09:10:49.678 1615-2407/? E/AudioFlinger: createRecord() checkRecordThread_l failed
2019-09-01 09:10:49.678 3450-4634/com.google.android.googlequicksearchbox:search E/IAudioFlinger: createRecord returned error -22
2019-09-01 09:10:49.678 3450-4634/com.google.android.googlequicksearchbox:search E/AudioRecord: AudioFlinger could not create record track, status: -22
2019-09-01 09:10:49.679 3450-4634/com.google.android.googlequicksearchbox:search E/AudioRecord-JNI: Error creating AudioRecord instance: initialization check failed with status -22.
2019-09-01 09:10:49.681 3450-4634/com.google.android.googlequicksearchbox:search E/android.media.AudioRecord: Error code -20 when initializing native AudioRecord object.
2019-09-01 09:10:48.014 3006-3006/com.google.android.apps.nexuslauncher E/SchedPolicy: set_timerslack_ns write failed: Operation not permitted
2019-09-01 09:10:49.682 3450-4634/com.google.android.googlequicksearchbox:search E/ActivityThread: Failed to find provider info for com.google.android.apps.gsa.testing.ui.audio.recorded
2019-09-01 09:10:49.990 3450-4636/com.google.android.googlequicksearchbox:search E/PlaceStateUpdater: Received no places
2019-09-01 09:10:50.012 3450-4636/com.google.android.googlequicksearchbox:search E/PlaceStateUpdater: Received no places
2019-09-01 09:10:50.615 1844-2289/? E/installd: Failed to delete /data/app/vmdl1344279523.tmp: No such file or directory
2019-09-01 09:10:52.220 1838-1854/? E/SurfaceFlinger: ro.sf.lcd_density must be defined as a build property
2019-09-01 09:10:52.384 1838-1854/? E/SurfaceFlinger: ro.sf.lcd_density must be defined as a build property
2019-09-01 09:11:01.406 2733-4665/com.google.android.gms.persistent E/GCM: Missing checkin config file
2019-09-01 09:11:01.437 4249-4345/com.google.android.youtube E/FirebaseInstanceId: Token retrieval failed: AUTHENTICATION_FAILED
 

 

 

后面还是显示如下错误:

2019-09-01 09:58:31.738 2218-4877/system_process E/memtrack: Couldn't load memtrack module
2019-09-01 09:58:35.284 1852-1910/? E/storaged: getDiskStats failed with result NOT_SUPPORTED and size 0
2019-09-01 09:58:48.407 2733-5934/com.google.android.gms.persistent E/GCM: Missing checkin config file
2019-09-01 09:58:48.414 2733-5934/com.google.android.gms.persistent E/GCM: Missing checkin config file
2019-09-01 09:58:48.426 2733-5934/com.google.android.gms.persistent E/WakeLock: GCM_HB_ALARM release without a matched acquire!
2019-09-01 09:58:49.073 2733-5939/com.google.android.gms.persistent E/GCM: Missing checkin config file
2019-09-01 09:58:49.079 2733-5939/com.google.android.gms.persistent E/GCM: Missing checkin config file
2019-09-01 09:58:49.092 2733-5939/com.google.android.gms.persistent E/WakeLock: GCM_HB_ALARM release without a matched acquire!
2019-09-01 09:59:27.687 1936-1936/? E/netmgr: Failed to open QEMU pipe 'qemud:network': Invalid argument
2019-09-01 09:59:27.687 1936-1936/? E/netmgr: WifiForwarder unable to open QEMU pipe: Invalid argument
2019-09-01 09:59:31.805 2218-3555/system_process E/memtrack: Couldn't load memtrack module
2019-09-01 09:59:35.286 1852-1910/? E/storaged: getDiskStats failed with result NOT_SUPPORTED and size 0
2019-09-01 10:00:27.690 1936-1936/? E/netmgr: Failed to open QEMU pipe 'qemud:network': Invalid argument
2019-09-01 10:00:27.690 1936-1936/? E/netmgr: WifiForwarder unable to open QEMU pipe: Invalid argument

重新换一个image,新建一个模拟器,就可以了。

你可能感兴趣的:(android,小问题)