flutter-do icon indicating copy to clipboard operation
flutter-do copied to clipboard

运行报错!

Open momtboy opened this issue 4 years ago • 2 comments

flutterSDK: 1.19.0-4.3.pre

`FAILURE: Build failed with an exception.

  • What went wrong: Execution failed for task ':app:generateDebugBuildConfig'.

org.xml.sax.SAXParseException; systemId: file:/D:/workspace/code/flutter_app/flutter_eoms_app/eoms_app/android/app/src/main/AndroidManifest.xml; lineNumber: 107; columnNumber: 54; ��Ԫ������ "meta-data" ����������� "tools:replace" ��ǰ׺ "tools" δ�󶨡�

  • Try: Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output. Run with --scan to get full insights.

  • Get more help at https://help.gradle.org

BUILD FAILED in 8s Exception: Gradle task assembleDebug failed with exit code 1 `

momtboy avatar Jul 31 '20 08:07 momtboy

<provider android:name="androidx.core.content.FileProvider" android:authorities="com.example.eoms_app.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>

momtboy avatar Jul 31 '20 08:07 momtboy

修改AndroidManifest.xml内的<manifest xmlns:android="http://schemas.android.com/apk/res/android" xmlns:tools="http://schemas.android.com/tools" package="cn.bohaisoft.demo">

hujian1031 avatar Aug 12 '20 03:08 hujian1031