Comments (12)
Hi~@huycozy
1.My Internet is working
2.With the use of VPN, access to google, gradle plug-ins are normal.Turning off the VPN also fails to download the plugin properly
3.flutter has set Chinese mirror
“dev.flutter.flutter-gradle-plugin” " Where can I find this plugin? This link displays resource 404.
https://plugins.gradle.org/m2/dev/flutter/flutter-gradle-plugin/dev.flutter.flutter-gradle-plugin.gradle.plugin/1.0.0/dev.flutter.flutter-gradle-plugin.gradle.plugin-1.0.0.pom
Thank you very much for your reply!
from flutter.
Other colleagues can also run my projec, Changing phone's hotspot won't work either... ah~
from flutter.
Hi @ChenZeFengHi
This issue seems related to your network, please ensure you have a working internet connection. There is a checklist you can use for this:
- Is the network stable and fast?
- Do you use any proxy server?
- Are you using https://flutter.dev/community/china#configuring-flutter-to-use-a-mirror-site?
- It may be useful for troubleshooting the issue: https://dart.dev/tools/pub/troubleshoot#pub-get-fails-from-behind-a-corporate-firewall
from flutter.
Could you share the error trace in text file that will help to investigate further? Also, which Flutter version are you using? (please provide the output of flutter doctor -v
)
from flutter.
flutter_android_log.log
@huycozy This is the error log~
from flutter.
A snippet of logs above:
- What went wrong:
Plugin [id: 'dev.flutter.flutter-gradle-plugin', version: '1.0.0', apply: false] was not found in any of the following sources:
- Gradle Core Plugins (plugin is not in 'org.gradle' namespace)
- Plugin Repositories (could not resolve plugin artifact 'dev.flutter.flutter-gradle-plugin:dev.flutter.flutter-gradle-plugin.gradle.plugin:1.0.0')
Could you check if the issue appears on a newly created Flutter project? If it's only on your project, could you share your gradle files below or a minimal sample project so that I can try it on my end?
- android/settings.gradle
- /android/build.gradle
- /android/gradle/wrapper/gradle-wrapper.properties
- /android/app/build.gradle
2.With the use of VPN, access to google, gradle plug-ins are normal.Turning off the VPN also fails to download the plugin properly
Does that mean the issue will not occur if you enable VPN?
from flutter.
The newly created flutter project will also have problems.
new_flutter_project.zip
This is my newly created project.
Start the VPN can visit "https://plugins.gradle.org" ,But cannot download "dev.flutter.flutter-gradle-plugin".
@huycozy
from flutter.
I can run your project normally. I still doubt this is a network issue. I would recommend you switch to another network and retry.
from flutter.
Thanks for checking. I will label the issue for other's input.
from flutter.
From triage: dev.flutter.flutter-gradle-plugin
is not part of plugins.gradle.org
; it is hosted as part of Flutter. Please try updating your Flutter version.
from flutter.
@yaakovschectman The Flutter version is already up to date
from flutter.
I encountered a similar issue. Later, I found that the corresponding operations in the flutter directory had been updated. It seems like some IDE suggestions automatically modified them. You should navigate to the flutter directory,
run
git reset --hard HEAD
,
and then try compiling again. It should work.
from flutter.
Related Issues (20)
- Switching branches in the engine invalidates builds (RBE?) HOT 7
- linux-62 lost external connection phone device. HOT 1
- mac-29 lost external connection phone device. HOT 1
- [Impeller] Potentially poor performance with Vulkan on Motorola Edge 30. HOT 9
- [Impeller] Jank when scrolling in ListView with impeller on iOS HOT 3
- Switch has some padding that leads to uncentered UI HOT 5
- [iOS] native asset framework is missing MinimumOSVersion HOT 2
- flutter tool devices --machine prints non-machine parseable messages HOT 3
- DisplayListBuilder sets the opacity peephole flag despite conflicting saveLayer properties
- mac-2 low on disk space. HOT 1
- Add `bodyFontFamily` and `displayFontFamily` to `TextTheme.apply()`
- [tool_crash] StateError: Bad state: No element HOT 1
- linux-18 lost external connection phone device. HOT 1
- Updated layout information required for RenderIndexedSemantics#1efe6 relayoutBoundary=up3 NEEDS-LAYOUT NEEDS-PAINT to calculate semantics. HOT 3
- Make it easy to use `clangd` (i.e. an IDE) with the engine (especially post-RBE) HOT 2
- after updating to `Flutter Channel stable, 3.22.0` `flutter build` works but the build using the Xcode project doesn't work anymore. HOT 1
- [camera_android_camerax] Setting exposure compensation index was canceled due to the camera being closed or a new request being submitted HOT 2
- Wasm export loads both js and wasm. HOT 1
- Clang tidy not picking up all diagnostics in some code HOT 2
- Collapsing the software keyboard doesn't lose the focus from textfield in 3.22.0, while it worked in 3.19.6 HOT 15
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from flutter.