Ambareesh B
Ambareesh B

Reputation: 529

Vision library detector.isOperational() = false always

My device is Samsung, SM-T561.

I am running sample for face tracker from Official Sample

Play service version is 'com.google.android.gms:play-services-vision:9.4.0+'

LogCat:

01-15 00:53:00.560 5022-5067/com.google.android.gms.samples.vision.face.facetracker I/Vision: Loading library libmobile_vision_face.so
01-15 00:53:00.570 5022-5067/com.google.android.gms.samples.vision.face.facetracker I/Vision: libmobile_vision_face.so library load status: false

So my doubt is regarding the issue: Issue 98 Does this issue is still open?

Upvotes: 0

Views: 1251

Answers (1)

Ambareesh B
Ambareesh B

Reputation: 529

<application>
    <meta-data
        android:name="com.google.android.gms.version"
        android:value="@integer/google_play_services_version" />

    <meta-data
        android:name="com.google.android.gms.vision.DEPENDENCIES"
        android:value="face" />
<activity>
...
...
</acivity>
</application>

The documentation says if we use any of the API's detector.isOperational(), gms will install necessary libraries.

But in some devices the manifest meta data is a must requirement for the download to happen.

Happy coding :)

Upvotes: 1

Related Questions