仲灏小栈 仲灏小栈
首页
大前端
后端&运维
其他技术
生活
关于我
收藏
  • 分类
  • 标签
  • 归档
GitHub (opens new window)

仲灏

诚意, 正心, 格物, 致知
首页
大前端
后端&运维
其他技术
生活
关于我
收藏
  • 分类
  • 标签
  • 归档
GitHub (opens new window)
  • 嵌入式

  • Android

    • 初次使用Android Studio
      • 注意事项
        • 问题
  • 编辑器

  • 产品&设计

  • 测试

  • 虚拟机

  • 算法

  • 网络

  • 安全

  • Nas

  • 硬件

  • CDCI

  • 破解

  • 建筑

  • clash-rule最佳配置
  • Untitled
  • 其他技术
  • Android
仲灏
2023-03-07
目录

初次使用Android Studio

# 注意事项

# 问题

工程报错: Received status code 400 from server: Bad Request

Could not GET 'https://dl.google.com/dl/android/maven2/com/android/tools/build/gradle/3.5.2/gradle-3.5.2.pom'. Received status code 400 from server: Bad Request
1

解决方法:

原因: 我安装Android Studio 的时候设置的代理, 在user/.gradle/gradle.properties中注释掉代理即可

image-20230307224733813

## For more details on how to configure your build environment visit
# http://www.gradle.org/docs/current/userguide/build_environment.html
#
# Specifies the JVM arguments used for the daemon process.
# The setting is particularly useful for tweaking memory settings.
# Default value: -Xmx1024m -XX:MaxPermSize=256m
# org.gradle.jvmargs=-Xmx2048m -XX:MaxPermSize=512m -XX:+HeapDumpOnOutOfMemoryError -Dfile.encoding=UTF-8
#
# When configured, Gradle will run in incubating parallel mode.
# This option should only be used with decoupled projects. More details, visit
# http://www.gradle.org/docs/current/userguide/multi_project_builds.html#sec:decoupled_projects
# org.gradle.parallel=true
#Mon Mar 06 23:13:34 CST 2023
# systemProp.http.proxyHost=mirrors.neusoft.edu.cn
# systemProp.https.proxyHost=mirrors.neusoft.edu.cn
# systemProp.https.proxyPort=80
# systemProp.http.proxyPort=80
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
上次更新: 2023/06/10, 12:06:41
指纹模块
vscode 使用技巧

← 指纹模块 vscode 使用技巧→

最近更新
01
vim日常使用记录
04-02
02
滑动窗口最大值
04-02
03
有效的字母异位词
04-02
更多文章>
Theme by Vdoing | Copyright © 2021-2025 izhaong | github | 蜀ICP备2021031194号
  • 跟随系统
  • 浅色模式
  • 深色模式
  • 阅读模式