0
I’m having problems importing a project that was written in an older version of Android Studio. My preview doesn’t appear. I’m a beginner and would like a little help! Follow Gradle and xml. Activity is standard, only has onCreate, in the emulator the application runs normal.
apply plugin: 'com.android.application'
android { compileSdkVersion 23 buildToolsVersion '27.0.3'
defaultConfig {
applicationId "com.example.android.miwok"
minSdkVersion 15
targetSdkVersion 23
versionCode 1
versionName "1.0"
}
buildTypes {
release {
minifyEnabled false
proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
}
}
}
dependencies {
implementation 'com.android.support.constraint:constraint-layout:1.0.2'
compile fileTree(dir: 'libs', include: ['*.jar'])
testCompile 'junit:junit:4.12'
compile 'com.android.support:appcompat-v7:23.3.0'
compile 'com.android.support:support-v4:23.3.0'
compile 'com.android.support:design:23.3.0'
}
Change Theme in "Select Theme"
– gta sandro