LaoMengFlutter / flutter-do

包含350多个组件用法、组件继承关系图、40多个 loading 组件,App升级、验证码、弹幕、音乐字幕 4个插件,一个小而全完整的App项目。
http://laomengit.com/
Apache License 2.0
2.62k stars 538 forks source link

编译报错 #9

Closed fangyong1003 closed 4 years ago

fangyong1003 commented 4 years ago
`<application
        android:name="io.flutter.app.FlutterApplication"
        android:label="浙农小贷"
        android:icon="@mipmap/ic_launcher">
        <activity
            android:name=".MainActivity"
            android:launchMode="singleTop"
            android:theme="@style/LaunchTheme"
            android:configChanges="orientation|keyboardHidden|keyboard|screenSize|smallestScreenSize|locale|layoutDirection|fontScale|screenLayout|density|uiMode"
            android:hardwareAccelerated="true"
            android:windowSoftInputMode="adjustResize">
            <intent-filter>
                <action android:name="android.intent.action.MAIN"/>
                <category android:name="android.intent.category.LAUNCHER"/>
            </intent-filter>
        </activity>
        <!-- Don't delete the meta-data below.
             This is used by the Flutter tool to generate GeneratedPluginRegistrant.java -->
        <meta-data
            android:name="flutterEmbedding"
            android:value="2" />
        <provider
            android:name="androidx.core.content.FileProvider"
            android:authorities="com.znjf33.znjf_app"
            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>`

Execution failed for task ':app:processDebugManifest'.

Manifest merger failed : Attribute provider#androidx.core.content.FileProvider@authorities value=(com.znjf33.znjf_app) from AndroidManifest.xml:38:13-54 is also present at [:flutter_webview_plugin] AndroidManifest.xml:11:13-64 value=(com.znjf33.znjf_app.fileprovider). Suggestion: add 'tools:replace="android:authorities"' to element at AndroidManifest.xml to override.

91demo commented 4 years ago

这个你解决了吗?我的也是同样的错误,使用的flutter 1.17.2