小编Ka8*_*srn的帖子

更新到Android Studio 3.1后出现奇怪的错误

所以我看到Android Studio的新更新,我更新了.

虽然我不断收到与服务器问题更相关的错误.但这与我的应用无关.

我的一个应用程序有这个错误 Could not HEAD 'https://jcenter.bintray.com/com/sun/xml/bind/mvn/jaxb-parent/2.2.11/jaxb-parent-2.2.11.pom'. Received status code 504 from server: Gateway Time-out Enable Gradle 'offline mode' and sync project

我尝试了离线部分,但它没有用.

另一个有这个问题

    Could not HEAD 'https://jcenter.bintray.com/com/squareup/javawriter/2.5.0/javawriter-2.5.0.jar'. Received status code 504 from server: Gateway Time-out
Enable Gradle 'offline mode' and sync project
Run Code Online (Sandbox Code Playgroud)

我很感激任何帮助,因为我有点感谢

//////////

编辑 显然这是一个问题,虽然在这里

    apply plugin: 'com.android.application'

apply plugin: 'kotlin-android'

apply plugin: 'kotlin-android-extensions'

android {
    compileSdkVersion 26
    buildToolsVersion '27.0.3'
    defaultConfig {
        multiDexEnabled true
        applicationId "com.reecreate.woderator2"
        minSdkVersion 19
        targetSdkVersion 26
        versionCode 1
        versionName "1.0"
        testInstrumentationRunner "android.support.test.runner.AndroidJUnitRunner"
      // …
Run Code Online (Sandbox Code Playgroud)

android compiler-errors android-studio

6
推荐指数
1
解决办法
1049
查看次数

标签 统计

android ×1

android-studio ×1

compiler-errors ×1