相关文章推荐
傻傻的佛珠  ·  SpringBoot ...·  1 年前    · 
考研的大脸猫  ·  Python ...·  1 年前    · 
org.gradle.initialization.ReportedException: org.gradle.internal.exceptions.LocationAwareException: A problem occurred configuring root project 'Test1'.
Caused by: org.gradle.internal.exceptions.LocationAwareException: A problem occurred configuring root project 'Test1'
Caused by: org.gradle.internal.exceptions.LocationAwareException: A problem occurred configuring root project 'Test1'

##解决方法
把项目的build.gradle 里的buildscript 和allprojects 改成下面的配置
AndroidStudio新建项目报错build failed_build出错_02
这是原来的配置
AndroidStudio新建项目报错build failed_android_03

改为如下代码:

buildscript {
    repositories {
        // maven库
        def cn = "http://maven.aliyun.com/nexus/content/groups/public/"
        def abroad = "http://central.maven.org/maven2/"
        // 先从url中下载jar若没有找到,则在artifactUrls中寻找
        maven {
            url cn
            artifactUrls abroad
        maven { url "http://maven.aliyun.com/nexus/content/repositories/jcenter"}
        google()
    dependencies {
        classpath 'com.android.tools.build:gradle:3.1.4'
        // NOTE: Do not place your application dependencies here; they belong
        // in the individual module build.gradle files
allprojects {
    repositories {
        // maven库
        def cn = "http://maven.aliyun.com/nexus/content/groups/public/"
        def abroad = "http://central.maven.org/maven2/"
        // 先从url中下载jar若没有找到,则在artifactUrls中寻找
        maven {
            url cn
            artifactUrls abroad
        maven { url "http://maven.aliyun.com/nexus/content/repositories/jcenter"}
        google()
                            
docker报错 ERROR: Service 'workspace' failed to build: ERROR: Service 'php-fpm' failed to build:

在 Windows 系统中使用 Laradock 搭建基于 Docker 的 PHP 开发环境 执行命令 docker-compose up nginx mysql redis 执行过程中出现错误 报 laradock ERROR: Service ‘workspace’ failed to bui

关于Android项目运行报错解决Failed to find Build Tools revision 29.0.2 Install Build Tools 29.0.2 and sync

1.点击下图所示图标或直接(shift+ctrl+alt+s)打开Project Structure2.点击Moudles,选择properties选项,再选择下载安装好的各项配置,然后重新运行项目即可done!

(4)APP开发 (5)项目测试 (6)发布App开发经过UI设计完成之后,便会进入开发阶段。(1)服务器端:编写接口协议文档,服务器环境架设(国内一般都是用阿里云服务器,国 外一般用亚马逊),设计数据库和编写API接口。 (2)APP端:开始对UI设计图进行界面开发,UI开发完成则进入和服务端接口对接,通过 服务端的接