왜 내 등급 파일이있는 경우에도 ListPopupWindow
과 Dialog
재료 외관을 가지고 있지 않습니다API 19의 재료 디자인 (KitKat)?
android {
compileSdkVersion 24
buildToolsVersion "24"
defaultConfig {
applicationId "com.example.test"
minSdkVersion 19
targetSdkVersion 24
versionCode 1
versionName "1c"
}
buildTypes {
release {
minifyEnabled false
proguardFiles getDefaultProguardFile('proguard-android.txt'),'proguard-rules.pro'
}
}
}
dependencies {
compile fileTree(dir: 'libs', include: ['*.jar'])
testCompile 'junit:junit:4.12'
compile 'com.android.support:appcompat-v7:24.0.0'
compile 'com.android.support:support-v4:24.0.0'
내가 빌드 도구 등의 다른 버전으로 시도했지만 성공하지. 모든 API 수준에 일관된 AlertDialog
를 원하는 경우 android.support.v7.app.AlertDialog를 사용한다
그래서 'AlertDialog'를 만드는 곳은 어디입니까? 'AlertDialog'에 사용하고있는 import는 무엇입니까? – ianhanniballake
@anhanniballake는'AlertDialog'에'import android.app.AlertDialog'을 사용합니다 – Chunrand
@ianhanniballake 제 실수가있는 곳을 찾았습니다. – Chunrand