总是得到“libmobile_vision_face.so库加载状态:false”

时间:2018-04-24 14:06:58

标签: android android-vision

我已根据此示例创建了一个应用程序,并在测试我的应用程序时发现了一个问题。它通常适用于我的测试设备,但不适用于用户的设备。

我试图谷歌寻求解决方案,但没有解决这个问题。

有人可以帮忙吗?

谢谢你,  大。

在Android版本上测试:6.0.1,7.x,

Google Play服务版:> = 12

互联网连接:是

追踪:

import UIKit 

class SideMenuViewController: UIViewController, SideMenuShareDelegate {

  override func viewDidLoad() {
     super.viewDidLoad()
     SideMenuView?.sideShareDelegate = self
   }

  func initiateShare(){
   //UIActivityViewController functionality goes here

     let t = "www.my-website.com"
     let textToShare = [t]

     let activityVC = UIActivityViewController(activityItems: textToShare, applicationActivities: nil)
     activityVC.popoverPresentationController?.sourceView = self.view 

     self.present(activityVC, animated:true, completion:nil)
  }
}

的AndroidManifest.xml

...
04-24 19:59:54.082 26109-27099/com.beid W/DynamiteModule: Local module descriptor class for com.google.android.gms.vision.dynamite not found.
04-24 19:59:54.100 26109-27099/com.beid I/DynamiteModule: Considering local module com.google.android.gms.vision.dynamite:0 and remote module com.google.android.gms.vision.dynamite:1702
04-24 19:59:54.100 26109-27099/com.beid I/DynamiteModule: Selected remote version of com.google.android.gms.vision.dynamite, version >= 1702
04-24 19:59:54.113 26109-27099/com.beid I/Vision: Loading library libmobile_vision_face.so
04-24 19:59:54.113 26109-27099/com.beid I/Vision: libmobile_vision_face.so library load status: false
...

的build.gradle

<?xml version="1.0" encoding="utf-8"?>
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
package="...">
...
<uses-feature android:name="android.hardware.camera" />
<uses-permission android:name="android.permission.INTERNET" />
<uses-permission android:name="android.permission.CAMERA" />
<application android:name="....">
  ...
    <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="ocr,face" />
  ...
</application>

1 个答案:

答案 0 :(得分:1)

试试这个与我合作

清除所有数据应用&gt;谷歌播放服务并清除所有数据

并在AndroidManifest.xml

中添加

我找到了解决方案,我清除了应用中的所有数据&gt; google play service

并在AndroidMnifest.xml中添加

试试这个

INSERT INTO temp 
SELECT esd, 
       'E' 
FROM   test_data_sovlp 
WHERE  esd IS NOT NULL 
  UNION ALL 
SELECT td, 
       CASE is_db 
         WHEN 0 THEN 'S' 
         WHEN 1 THEN 'H' 
       END AS FLAG 
FROM   test_data_sovlp 
WHERE  td IS NOT NULL