找不到可接受的模块。 FaceDetector.Builder中的本地版本为0,远程版本为0

时间:2019-01-21 19:15:17

标签: android face-detection vision google-play-services

应用程序抛出此错误

Error Loading module com.google.android.gms.dynamite.DynamiteModule$LoadingException: No acceptable module found. Local version is 0 and remote version is 0

当尝试配置Google-vision FaceDetector时,我目前正在使用 android 7.0 中的'com.google.android.gms: play-services-base: 16.1.0''com.google.android.gms: play- services-vision: 17.0.2 '以及设备上的Google Play服务版本是 14.7.99

这是logcat的输出:

2019-01-22 16:19:41.682 21333-21333/com.nowfloats.camera I/DynamiteModule: Considering local module com.google.android.gms.vision.dynamite.face:0 and remote module com.google.android.gms.vision.dynamite.face:0
2019-01-22 16:19:41.683 21333-21333/com.nowfloats.camera D/FaceNativeHandle: Cannot load feature, fall back to load whole module.
2019-01-22 16:19:41.684 21333-21333/com.nowfloats.camera W/DynamiteModule: Local module descriptor class for com.google.android.gms.vision.dynamite not found.
2019-01-22 16:19:41.689 21333-21333/com.nowfloats.camera I/DynamiteModule: Considering local module com.google.android.gms.vision.dynamite:0 and remote module com.google.android.gms.vision.dynamite:1800
2019-01-22 16:19:41.689 21333-21333/com.nowfloats.camera I/DynamiteModule: Selected remote version of com.google.android.gms.vision.dynamite, version >= 1800
2019-01-22 16:19:41.690 21333-21333/com.nowfloats.camera V/DynamiteModule: Dynamite loader version >= 2, using loadModule2NoCrashUtils
2019-01-22 16:19:41.695 21333-21333/com.nowfloats.camera W/DynamiteModule: Local module descriptor class for com.google.android.gms.vision.dynamite.face not found.
2019-01-22 16:19:41.705 21333-21333/com.nowfloats.camera I/Vision: Loading library libmobile_vision_face.so
2019-01-22 16:19:41.706 21333-21333/com.nowfloats.camera I/Vision: libmobile_vision_face.so library load status: true
2019-01-22 16:19:41.721 21333-21333/com.nowfloats.camera W/DynamiteModule: Local module descriptor class for com.google.android.gms.vision.dynamite.face not found.
2019-01-22 16:19:41.726 21333-21333/com.nowfloats.camera I/DynamiteModule: Considering local module com.google.android.gms.vision.dynamite.face:0 and remote module com.google.android.gms.vision.dynamite.face:0

1 个答案:

答案 0 :(得分:-1)

从设置中清除Google Play服务的数据和缓存。