noo*_*gui 3 android android-layout android-studio
这是一个默认的入门项目.尚未编写新代码.图像说明了一切:
的build.gradle(模块:APP)
apply plugin: 'com.android.application'
apply plugin: 'kotlin-android'
apply plugin: 'kotlin-android-extensions'
android {
compileSdkVersion 28
defaultConfig {
applicationId "chatchattan.nooguiquirks.com.chatchattan"
minSdkVersion 15
targetSdkVersion 28
versionCode 1
versionName "1.0"
testInstrumentationRunner "android.support.test.runner.AndroidJUnitRunner"
}
buildTypes {
release {
minifyEnabled false
proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
}
}
}
dependencies {
implementation fileTree(dir: 'libs', include: ['*.jar'])
implementation"org.jetbrains.kotlin:kotlin-stdlib-jdk7:$kotlin_version"
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 'com.android.support:recyclerview-v7:28.0.0-rc01'
}
Run Code Online (Sandbox Code Playgroud)
我想我已经为此下载了必要的SDK(28).甚至尝试降级到API 24,25以查看它是否会发生任何变化,但设计和蓝图渲染预览不起作用.
尝试的解决方案:
确保您的Android SDK已更新为build.gradle的版本
清洁项目
无效缓存/重启
使用App主题
依然没有!
有什么好主意吗?:)
归档时间: |
|
查看次数: |
4097 次 |
最近记录: |