【问题标题】:Android appcompat-v7:28.0.0-rc01 Preview don't workAndroid appcompat-v7:28.0.0-rc01 预览不起作用
【发布时间】:2018-08-20 07:16:58
【问题描述】:

我使用了这个代码:

dependencies {
    implementation fileTree(include: ['*.jar'], dir: 'libs')
    implementation 'com.android.support:appcompat-v7:28.0.0-rc01'
    implementation 'com.android.support.constraint:constraint-layout:1.1.2'
    testImplementation 'junit:junit:4.12'
    androidTestImplementation 'com.android.support.test:runner:1.0.2'
    androidTestImplementation 'com.android.support.test.espresso:espresso-core:3.0.2'
    implementation files('libs/jsoup-1.11.3.jar')
}

但预览不起作用。

我说的是 Android Studio。当我使用我的手机时,它正在工作。

【问题讨论】:

  • 干净的构建,重建,也尝试选择不同的设备。
  • 你能从Logcat发布异常跟踪
  • 我遇到了同样的问题。还没找到解决办法
  • 我现在找到了...
  • 你的问题解决了吗?

标签: java android android-studio-3.0 preview


【解决方案1】:

在预览屏幕上显示问题修复该问题并刷新一次...

【讨论】:

    【解决方案2】:

    随便用

    com.android.support:appcompat-v7:28.0.0-alpha1
    

    【讨论】:

      【解决方案3】:

      检查此图像。 选择“Light”的问题已解决

      【讨论】:

      • 如果没有 AppCompat 主题,您的预览将不准确。
      猜你喜欢
      • 2019-01-19
      • 1970-01-01
      • 1970-01-01
      • 2019-10-07
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      相关资源
      最近更新 更多