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

依赖了最新版本的包之后出现manifests文件合并出错 #44

Open
AdisonXu opened this issue Oct 31, 2018 · 1 comment
Open

Comments

@AdisonXu
Copy link

image

@JamesLiAndroid
Copy link

    <!-- 解决provider部分在库manifest文件merge时的问题 -->
    <provider
        android:name="android.support.v4.content.FileProvider"
        android:authorities="${applicationId}.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>

参考下这个方案,出处我忘了,我这么添加的可用。

记住是添加在你的app module下

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

2 participants