小编imi*_*imi的帖子

android中的人脸识别认证

类似于应用程序的指纹身份验证,我试图在我的一个Android应用程序中实现面部识别身份验证.任何人都可以指导我如何使用任何库或任何东西实现相同.

security authentication android biometrics face-recognition

8
推荐指数
2
解决办法
1万
查看次数

classnotfoundException 获取如果我在成功下载后启动动态模块中的活动

通过内部测试,我可以下载动态功能模块。成功下载后,我正在使用包名称打开动态模块中的活动,但我遇到了类未找到异常。我检查了 APK 大小,但大小没有增加。下面是我的代码。请帮忙

下面是我下载模块的代码。我使用的是 Playstore 中提供的内部测试。

     public void loadFeatureTwo() {
    // Builds a request to install the feature1 module
    SplitInstallRequest request =
            SplitInstallRequest
                    .newBuilder()
                    // You can download multiple on demand modules per
                    // request by invoking the following method for each
                    // module you want to install.
                    .addModule("feature2")
                    .build();

    // Begin the installation of the feature1 module and handle success/failure
    splitInstallManager
            .startInstall(request)
            .addOnSuccessListener(new OnSuccessListener<Integer>() {
                @Override
                public void onSuccess(Integer integer) {
                    // Module download successful
                   /* Intent intent = …
Run Code Online (Sandbox Code Playgroud)

java android android-app-bundle

2
推荐指数
1
解决办法
1376
查看次数