本机图像捕获问题

时间:2018-12-12 12:13:03

标签: angular6 nativescript nativescript-angular nativescript-plugin

我正在为应用程序使用本机脚本angular。我需要相机和文件浏览功能。

我已经尝试了以下两个用于相机功能的插件

  1. https://github.com/nstudio/nativescript-camera-plus

  2. https://www.npmjs.com/package/nativescript-camera

但是我不支持。它引发以下错误

enter image description here

我用以下内容修改了App_Resources / AndroidManifest.xml文件,在某些论坛上我已经看到了此解决方案。但这还不能解决。

<provider android:name="android.support.v4.content.FileProvider" android:authorities="com.*.*.fileprovider" android:exported="false" android:grantUriPermissions="true" tools:replace="android:authorities" > <meta-data android:name="android.support.FILE_PROVIDER_PATHS" android:resource="@xml/file_paths" tools:replace="android:resource" ></provider>

请建议我解决此问题。

13 / Dec / 18

仍然让我陷入困境。

enter image description here

0 个答案:

没有答案
相关问题