Skip to content

@xml/file_paths怎么配置? #51

@Aaron-the-coder

Description

@Aaron-the-coder

<manifest xmlns:android="http://schemas.android.com/apk/res/android" xmlns:tools="http://schemas.android.com/tools" package="com.flutter.laomeng.flutter_upgrade_example"> <application android:name="io.flutter.app.FlutterApplication" android:icon="@mipmap/ic_launcher" android:label="flutter_upgrade_example"> ... <provider android:name="androidx.core.content.FileProvider" android:authorities="com.flutter.laomeng.flutter_upgrade_example.fileprovider" android:exported="false" android:grantUriPermissions="true"> <meta-data android:name="android.support.FILE_PROVIDER_PATHS" tools:replace="android:resource" android:resource="@xml/file_paths" /> </provider> </application> </manifest>
添加provider后,替换authorities为包名,name和resource仍然报错,请问该怎么设置?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions