Android Studio中出现渲染问题,视图未显示
这是我的毕业典礼,我在互联网上搜索了很多次,但我没有得到任何解决方案。我已经用了很多东西来解决问题,但我没有得到答案,请帮助我Android Studio中出现渲染问题,视图未显示,android,android-layout,android-fragments,Android,Android Layout,Android Fragments,这是我的毕业典礼,我在互联网上搜索了很多次,但我没有得到任何解决方案。我已经用了很多东西来解决问题,但我没有得到答案,请帮助我 apply plugin: 'com.android.application' android { compileSdkVersion 25 buildToolsVersion '25.0.0' dataBinding { enabled = true } defaultConfig { applicationId "com.android.applicati
apply plugin: 'com.android.application'
android {
compileSdkVersion 25
buildToolsVersion '25.0.0'
dataBinding { enabled = true }
defaultConfig {
applicationId "com.android.application"
minSdkVersion 16
targetSdkVersion 25
versionCode 1
versionName "1.0"
testInstrumentationRunner "android.support.test.runner.AndroidJUnitRunner"
}
buildTypes {
release {
minifyEnabled false
proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
}
}
repositories {
mavenCentral()
flatDir {
dirs 'libs'
}
}
sourceSets { main { assets.srcDirs = ['src/main/assets', 'src/main/assets/'] } }
}
dependencies {
testCompile 'junit:junit:4.12'
compile 'cz.msebera.android:httpclient:4.4.1.1'
compile 'com.android.support:appcompat-v7:25.3.1'
compile 'com.android.support:design:25.3.1'
compile 'com.android.support:recyclerview-v7:25.3.1'
compile 'com.android.support:cardview-v7:25.3.+'
compile 'com.github.bumptech.glide:glide:3.7.0'
compile(name: "truesdk-0.5", ext: "aar")
}
apply plugin: 'com.google.gms.google-services'
我也面临同样的问题。实际上,这个问题来自style.xml
<!-- Base application theme. -->
<style name="AppTheme" parent="Base.Theme.AppCompat.Light.DarkActionBar">
<!-- Customize your theme here. -->
</style>
或者
展示你的
XML
你能展示你的风格吗.XML@color/colorPrimary@color/colorprimarydrock@color/colorpeant到底是什么+3关于一个非常糟糕且完全不完整的问题?Dude请发布布局、图像、预期/实际状态等。视图未显示。
。如果应用程序未显示布局..也许您应该发布布局。code..使用第二点可以正常工作,但当我运行具有相同问题的应用程序时,请再次发布。您的第一个答案非常好,谢谢@阿披实