Я пытаюсь включить Google Play Services 7.8 Face API в моем приложении, но каждый раз, когда я пытаюсь обнаружить лицо он дает мне ошибку:FaceDetectorHandle: Родной детектор лица еще не доступен. Откат к не-оп обнаружению
FaceDetectorHandle﹕ Native face detector not yet available. Reverting to no-op detection
По дну сообщения Android-er Face Detection, эта проблема возникает на устройствах, работающих на Lollipop или позже. В частности, они заявили, что он работает на «RedMi 2» под управлением Android 4.4.4 с установленными сервисами Google Play версии 7.8.99, но не на Nexus 7 2012 (без фронтальной камеры) под управлением Android 5.1.1 с той же Google Play услуг версии 7.8.99 ». Он также не работает на моем OnePlus One 5.0.2. Кто-нибудь знает причину или исправить? Смог ли он в конечном итоге установить библиотеку и работать?
Редактировать: Вот несколько журналов. Я только что скопировал предупреждения журналов и выше в то время, когда использовался детектор лица, поэтому он может быть не совсем релевантным.
08-19 17:29:17.828 W/ResourcesManager(25536): Asset path '/system/framework/com.android.media.remotedisplay.jar' does not exist or contains no resources.
08-19 17:29:17.828 W/ResourcesManager(25536): Asset path '/system/framework/com.android.location.provider.jar' does not exist or contains no resources.
08-19 17:29:17.908 W/FaceDetectorHandle(25536): Native face detector not yet available. Reverting to no-op detection.
08-19 17:29:18.060 W/ResourcesManager(25536): Asset path '/system/framework/com.android.media.remotedisplay.jar' does not exist or contains no resources.
08-19 17:29:18.060 W/ResourcesManager(25536): Asset path '/system/framework/com.android.location.provider.jar' does not exist or contains no resources.
08-19 17:29:20.267 W/LatinIME(1645): Deprecated private IME option specified: nm,com.google.android.inputmethod.latin.noGestureFloatingPreview
08-19 17:29:20.267 W/LatinIME(1645): Use com.google.android.inputmethod.latin.noMicrophoneKey instead
08-19 17:29:20.294 E/EntSec ( 923): [QSB ] [QSB_CLIENT ] No connection with the NQS
08-19 17:29:20.306 E/EntSec ( 923): [QSB ] [QSB_CLIENT ] No connection with the NQS
08-19 17:29:20.317 E/EntSec ( 923): [QSB ] [QSB_CLIENT ] No connection with the NQS
08-19 17:29:20.532 E/EntSec ( 923): [QSB ] [QSB_CLIENT ] No connection with the NQS
08-19 17:29:20.655 W/OpenGLRenderer(1814): Incorrectly called buildLayer on View: CoreSuggestionView, destroying layer...
08-19 17:29:20.655 W/OpenGLRenderer(1814): Incorrectly called buildLayer on View: CoreSuggestionView, destroying layer...
08-19 17:29:20.655 W/OpenGLRenderer(1814): Incorrectly called buildLayer on View: CoreSuggestionView, destroying layer...
08-19 17:29:20.655 W/OpenGLRenderer(1814): Incorrectly called buildLayer on View: NowProgressBar, destroying layer...
08-19 17:29:20.655 W/OpenGLRenderer(1814): Incorrectly called buildLayer on View: CrossfadingWebImageView, destroying layer...
08-19 17:29:20.655 W/OpenGLRenderer(1814): Incorrectly called buildLayer on View: ew, destroying layer...
08-19 17:29:20.912 W/LatinIME(1645): Deprecated private IME option specified: nm,com.google.android.inputmethod.latin.noGestureFloatingPreview
08-19 17:29:20.912 W/LatinIME(1645): Use com.google.android.inputmethod.latin.noMicrophoneKey instead
08-19 17:29:20.924 E/EntSec ( 923): [QSB ] [QSB_CLIENT ] No connection with the NQS
08-19 17:29:20.934 W/Search.SearchUrlHelper(1969): URL param or header with a key: "oq" has an empty value.
08-19 17:29:20.941 E/EntSec ( 923): [QSB ] [QSB_CLIENT ] No connection with the NQS
08-19 17:29:20.956 E/EntSec ( 923): [QSB ] [QSB_CLIENT ] No connection with the NQS
08-19 17:29:21.038 W/IInputConnectionWrapper(1814): performPrivateCommand on inactive InputConnection
08-19 17:29:21.085 W/BindingManager(1969): Cannot call determinedVisibility() - never saw a connection for the pid: 1969
08-19 17:29:21.764 W/VelvetPresenter(1969): Still observing while not the active client
08-19 17:29:21.765 W/VelvetPresenter(1969): Still observing while not the active client
08-19 17:29:22.067 W/BindingManager(1969): Cannot call determinedVisibility() - never saw a connection for the pid: 1969
08-19 17:29:22.250 W/WebViewRenderState(1969): resultsPageEnd: not current commit, new=27, committed=0
08-19 17:29:22.344 W/SurfaceFlinger( 243): couldn't log to binary event log: overflow.
08-19 17:29:22.371 W/OpenGLRenderer(1814): Incorrectly called buildLayer on View: ew, destroying layer...
08-19 17:29:22.462 E/WebViewWorkerImpl(1969): onShowedSrp: No SearchResult found being shown in WebView.
08-19 17:29:26.635 W/FaceDetector(25536): FaceDetector was not released with FaceDetector.release()
Вы можете разместить журналы? – KayAnn
Готово. Дайте мне знать, хотите ли вы больше или что-то еще. –