无法解决:support-core-ui

时间:2018-05-28 12:30:42

标签: android android-gradle

这就是我所拥有的所有项目的存储库:

repositories {
    jcenter()
    google()
    maven { url "https://maven.google.com" }
}

这就是我作为项目依赖项的全部内容:

dependencies {
    compile 'com.google.android.gms:play-services:12.0.1'
    compile 'com.android.support:support-v13:27.1.1'

    compile 'com.android.support:support-core-ui:27.1.1'
    compile 'com.android.support:support-core-utils:27.1.1'

    compile 'com.google.android.gms:play-services-appinvite:16.0.0'
    compile 'com.google.firebase:firebase-core:16.0.0'

    compile 'com.google.android.gms:play-services-gcm:15.0.1'
    compile "com.android.support:support-core-utils:27.1.1"
    compile files('libs/dagger-1.2.2.jar')
    compile files('libs/javax.inject-1.jar')
    compile files('libs/nineoldandroids-2.4.0.jar')
    compile 'com.google.android.gms:play-services-ads:15.0.1'
    compile 'com.android.support:multidex:1.0.1'
}

2 个答案:

答案 0 :(得分:15)

我通过更改解决了这个问题

@media all and (max-width: 599px) {

  .smarttable {
    border: 0px;
  }
  .smarttable thead {
    display:none;
    border: none;
    height: 0px;
    margin: 0px;
    overflow: hidden;
    padding: 0px;
    max-width:0px;
    max-height:0px;
  }
  .smarttable tr {
    display: block;
    width:90%;
    margin:20px auto;
  }
  .smarttable td {
    border-bottom: 1px solid #ddd;
    display: block;
    font-size: 15px;
    text-align: center;
  }
    .smarttable td:before {
    content: attr(data-label);
    float: left;
    font-weight: bold;
    text-transform: uppercase;
  }
}

进入

allprojects {
    repositories {
        jcenter()
        google()
    }
}

在项目级别的build.gradle文件中,即首先编写google()。

答案 1 :(得分:5)

这就是答案:

this._http_client.get<string[]>(path)
  .map((res) => JSON.parse(res));