Coder Social home page Coder Social logo

Comments (3)

AnyLifeZLB avatar AnyLifeZLB commented on July 20, 2024

@WuGangAHa 麻烦按照这个模版 (https://github.com/AnyLifeZLB/FaceVerificationSDK/issues/1) 填写一下问题详细信息 #1

from faceverificationsdk.

AnyLifeZLB avatar AnyLifeZLB commented on July 20, 2024

Google 一下 大概

android {
...
aaptOptions {
noCompress '你不需要压缩的资源文件'
}
}

from faceverificationsdk.

AnyLifeZLB avatar AnyLifeZLB commented on July 20, 2024

用友移动开发的朋友大家升级到官方最新的构建方式就OK了。

集成方案是:
1、使用的混合开发,H5的UI , 通过以前的apicloud(现在是用友收购了,叫移动开发)打包成apk的
2、通过用友移动插件的开发文档,来集成你的SDK,大概流程就是:H5里面调用原生插件,用友移动开发做了一个中转,H5能够通过JS的方式传递参数给原生插件和使用原生插件的功能

现在遇到的问题:
我按照用友移动插件文档开发好了插件,集成到了我的H5项目中,在通过JS调用原生插件功能时,发起调用相机请求,相机能够正常打开,也能够加载出像你demo的那个“更换底片”功能的人脸采集 界面(我是按照你的demo做的),但是1秒左右,app就直接闪退,通过查日志发现就是我在 Issues 中提交的那个 采集人脸时报错 的问题。然后我们排查可能是不是 assets 文件夹未打包到aar的原因,同时也按照你在 Issues 中的回复,添加了 build.gradle 的配置。依然还是报 【java.io.FileNotFoundException: This file can not be opened as a file descriptor; it is probably compressed】这个错误

目前分析可能的原因是
1、用友移动开发 这边的 打包把 assets 文件夹给压缩了,但官方还不能解决(已经解决,Done,升级到最新)

from faceverificationsdk.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.