首页 > 解决方案 > 当我尝试从我的应用程序打开一个 excel 文件到默认的手机 excel 阅读器时,会生成此错误

问题描述

当我尝试从我的应用程序打开一个 excel 文件到默认的手机 excel 阅读器时,会生成此错误,我什至在 android 清单中进行了更改

<provider
            android:name="androidx.core.content.FileProvider"
            android:authorities="${applicationId}.fileProvider"
            android:exported="false"
            android:grantUriPermissions="true">
            <meta-data
                android:name="android.support.FILE_PROVIDER_PATHS"
                android:resource="@xml/provider_path"/>

并且还在android的res文件夹中创建了provider_path.xml文件

MissingPluginException (MissingPluginException(No implementation found for method viewExcel on channel launchFile))

标签: javaflutterkotlinandroid-manifestflutter-dependencies

解决方案


推荐阅读