Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

@xml/file_paths怎么配置? #51

Open
Aaron-the-coder opened this issue Jan 21, 2021 · 0 comments
Open

@xml/file_paths怎么配置? #51

Aaron-the-coder opened this issue Jan 21, 2021 · 0 comments

Comments

@Aaron-the-coder
Copy link

Aaron-the-coder commented Jan 21, 2021

<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仍然报错,请问该怎么设置?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant