I'm having trouble importing a project that was written in an older version of Android Studio. My preview does not appear. I am a beginner and would like a little help! Follow the gradle and xml. The activity is default, only onCreate, in the emulator the application runs normal.
applyplugin:'com.android.application'
android{ compileSdkVersion23 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'
}