nexus-5x

Cannot get Camera2 API touch to focus to work

ぃ、小莉子 提交于 2019-12-11 15:16:26
问题 I'm unable to get the touch to focus to work properly on Camera2 API. On touching I just seem to focus for a second and then it becomes extremely blurred. The phone is a Nexus 5X. Here is my code for touch to focus. private void refocus(MotionEvent event, View view){ //Handler for autofocus callback CameraCaptureSession.CaptureCallback captureCallbackHandler = new CameraCaptureSession.CaptureCallback() { @Override public void onCaptureCompleted(CameraCaptureSession session, CaptureRequest

Emulator: cannot find ram.img on ubuntu

自作多情 提交于 2019-12-07 04:29:23
问题 I simply set up a Nexus 5x device with API 27 in the default emulator in Android Studio 3.5. When I was trying to boot the device, the device just closed after the first 'Google' sign. The event log there's the following output: Emulator: statvfs('/home/qiufeng/.android/avd/Nexus_5X_API_27.avd/snapshots/default_boot/ram.img') failed: No such file or directory Emulator: Process finished with exit code 139 (interrupted by signal 11: SIGSEGV) However, the ram.img exists. I also changed the

Emulator: cannot find ram.img on ubuntu

穿精又带淫゛_ 提交于 2019-12-05 13:56:10
I simply set up a Nexus 5x device with API 27 in the default emulator in Android Studio 3.5. When I was trying to boot the device, the device just closed after the first 'Google' sign. The event log there's the following output: Emulator: statvfs('/home/qiufeng/.android/avd/Nexus_5X_API_27.avd/snapshots/default_boot/ram.img') failed: No such file or directory Emulator: Process finished with exit code 139 (interrupted by signal 11: SIGSEGV) However, the ram.img exists. I also changed the permission of the whole directory and files and It didn't work. I've tried cold booting it... And that broke

Activity class does not exist (Error type 3)

天大地大妈咪最大 提交于 2019-11-28 11:48:04
I have a device nexus5x with android O and i develop an app in my laptop and also in another computer. But when i want to start the app in another computer after i have started it in my laptop i always get error described below. Error while executing: am start -n "com.safetylink.android.safetylinkheartbeatapp/com.application.aware.safetylink.auth.SplashScreenActivity" -a android.intent.action.MAIN -c android.intent.category.LAUNCHER Starting: Intent { act=android.intent.action.MAIN cat=[android.intent.category.LAUNCHER] cmp=com.safetylink.android.safetylinkheartbeatapp/com.application.aware

Activity class does not exist (Error type 3)

↘锁芯ラ 提交于 2019-11-27 06:23:30
问题 I have a device nexus5x with android O and i develop an app in my laptop and also in another computer. But when i want to start the app in another computer after i have started it in my laptop i always get error described below. Error while executing: am start -n "com.safetylink.android.safetylinkheartbeatapp/com.application.aware.safetylink.auth.SplashScreenActivity" -a android.intent.action.MAIN -c android.intent.category.LAUNCHER Starting: Intent { act=android.intent.action.MAIN cat=