当前位置:网站首页>Received status code 502 from server: Bad Gateway
Received status code 502 from server: Bad Gateway
2022-06-24 03:35:00 【moon清泉】
第一个问题
报错信息
FAILURE: Build failed with an exception.
* What went wrong:
Could not determine the dependencies of task ':app:processDebugResources'.
> Could not resolve all task dependencies for configuration ':app:debugRuntimeClasspath'.
> Could not resolve androidx.room:room-common:[2.2.5].
Required by:
project :app > project :flutter_downloader > androidx.work:work-runtime:2.4.0 > androidx.room:room-runtime:2.2.5
> Failed to list versions for androidx.room:room-common.
> Unable to load Maven meta-data from https://google.bintray.com/exoplayer/androidx/room/room-common/maven-metadata.xml.
> Could not get resource 'https://google.bintray.com/exoplayer/androidx/room/room-common/maven-metadata.xml'.
> Could not GET 'https://google.bintray.com/exoplayer/androidx/room/room-common/maven-metadata.xml'. Received status code 502 from server: Bad Gateway
* 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
FAILURE: Build failed with an exception.
* What went wrong:
Task 'assembleAarRelease' not found in root project 'amap_location_flutter_plugin'.
* Try:
Run gradlew tasks to get a list of available tasks. 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 1s
Exception: The plugin amap_location_flutter_plugin could not be built due to the issue above.
解决办法:修改gradle-wrapper.properties文件,升级distributionUrl的版本后修复
第二个问题
报错信息
FAILURE: Build failed with an exception.
* What went wrong:
Execution failed for task ':app:packageDebug'.
> A failure occurred while executing com.android.build.gradle.internal.tasks.Workers$ActionFacade
> java.io.FileNotFoundException: D:\项目路径\build\app\intermediates\signing_config\debug\out\signing-config.json ( ܾ ʡ )
* 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 1m 9s
[!] Gradle threw an error while downloading artifacts from the network. Retrying to download...
Running Gradle task 'assembleDebug'...
FAILURE: Build failed with an exception.
* What went wrong:
Execution failed for task ':app:packageDebug'.
> A failure occurred while executing com.android.build.gradle.internal.tasks.Workers$ActionFacade
> java.io.FileNotFoundException: D:\项目路径\build\app\intermediates\signing_config\debug\out\signing-config.json ( ܾ ʡ )
* 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 19s
[!] Gradle threw an error while downloading artifacts from the network. Retrying to download...
Exception: Gradle task assembleDebug failed with exit code 1
解决办法:按照提示找到对应文件夹,直接把build文件夹下的文件全部删除,重新编译就可以运行了
边栏推荐
- [Tencent cloud update] against 11.11! Here comes the 1.1% discount for enterprises!
- Psexec right raising
- A Tencent interview question
- Rasa 3.x 学习系列-Rasa 3.2.0 新版本发布
- Coding CD of Devops
- [competition experience sharing] design of intelligent guide rod
- Community pycharm installation visual database
- 元气森林推“有矿”,农夫山泉们跟着“卷”?
- Why does the fortress machine use an application publisher? What are the main functions of the fortress machine
- [new double 11] the latest interpretation of Tencent cloud double 11! Get 11000 yuan voucher now!!
猜你喜欢

内存泄漏之KOOM

【代码随想录-动态规划】T392.判断子序列

On Sunday, I rolled up the uni app "uview excellent UI framework"

Sorting out of key vulnerabilities identified by CMS in the peripheral management of red team (I)

Modstartcms theme introductory development tutorial
Thank you for your recognition! One thank-you note after another

Do you understand TLS protocol?

Ar 3D map technology

Old popup explorer Exe has stopped working due to problems. What should I do?

在pycharm中pytorch的安装
随机推荐
Paste board based on curl and COS
The importance of the computer room to the stable operation of the server
Tke accesses the cluster through kubectl in pod
Big coffee face to face | Dr. Chen Guoguo talks about intelligent voice
RPM 包的构建 - SPEC 基础知识
How does cloud computing achieve elastic scaling? What are the characteristics of elasticity?
General scheme for improving reading and writing ability of online es cluster
ModStartCMS 主题入门开发教程
What is the difference between server leasing and hosting?
Psexec right raising
Getlocationinwindow source code
Slide left from small window to large windowdispatchframelayout
Thank you for your recognition! One thank-you note after another
What port does the fortress machine use? What is the role of the fortress machine?
Actual battle case | refuse information disclosure, Tencent cloud helps e-commerce fight against web crawlers
Do you understand TLS protocol?
Differences between EDI and VMI
Does the user need a code signing certificate? What is the use of a code signing certificate
Old popup explorer Exe has stopped working due to problems. What should I do?
Live broadcast Reservation: cloud hosting or cloud function, how can the business do a good job in technology selection?