相关疑难解决方法(0)

java.lang.NoSuchMethodError:没有静态方法getFont(Landroid/content/Context; ILandroid/util/TypedValue; ILandroid/widget/TextView;)

在我将Android Studio更新为3.0后,我收到了No static method getFont()错误消息.我正在工作的项目是在github上,https://github.com/ik024/GithubBrowser

// Top-level build file where you can add configuration options common 
to all sub-projects/modules.

buildscript {
repositories {
    jcenter()
    maven { url "https://oss.sonatype.org/content/repositories/snapshots" }
}
dependencies {
    classpath 'com.android.tools.build:gradle:3.0.0'
    classpath 'com.jakewharton:butterknife-gradle-plugin:9.0.0-SNAPSHOT'
}
}

allprojects {
repositories {
    jcenter()
    maven { url 'https://maven.google.com' }
    maven { url "https://oss.sonatype.org/content/repositories/snapshots" }
}

ext{
    arch_version = "1.0.0-alpha9"
    support_version = "26.0.2"
    dagger_version = "2.11"
    junit_version = "4.12"
    espresso_version = "2.2.2"
    retrofit_version = "2.3.0"
    mockwebserver_version = "3.8.0"
    apache_commons_version …
Run Code Online (Sandbox Code Playgroud)

android android-studio-3.0 android-gradle-3.0

58
推荐指数
4
解决办法
5万
查看次数