flutter 添加第三方插件报错
来源:14-4 如何甄选Flutter包和插件
moses_wang123
2020-06-18
Couldn't read file LocalFile: 'D:lutter_windows_v1.12.13+hotfix.8-stablelutter.pub-cachehostedpub.flutter-io.cnluttertoast-3.1.3androidsrcmainjavaiogithubponnamkarthik oastluttertoastFluttertoastPlugin.java' even though it exists. Please verify that this file has read permission and try again.![图片描述](http://img1.sycdn.imooc.com/szimg/5eeb1e7f09533c7613280591.jpg
本人使用 androidStudio 4.0
```android { compileSdkVersion 28 compileOptions { sourceCompatibility 1.8 targetCompatibility 1.8 } defaultConfig { applicationId "com.example.car_analyzef.host" minSdkVersion 16 targetSdkVersion 28 versionCode 1 versionName "1.0" testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner" } buildTypes { profile { initWith debug } release { // TODO: Add your own signing config for the release build. // Signing with the debug keys for now, so `flutter run --release` works. signingConfig signingConfigs.debug } }}```
```buildscript { repositories { google() jcenter() } dependencies { classpath 'com.android.tools.build:gradle:3.5.0' }}allprojects { repositories { google() jcenter() }}task clean(type: Delete) { delete rootProject.buildDir}```
1回答
-
CrazyCodeBoy
2020-06-19
执行下flutter clean然后在试下
022020-06-23
相似问题