내 매니 페스트 파일에 android:minimalSize
내 activity - layout
내부에 문제가 있습니다. 그것은Android API 24. 'android'패키지의 'minimalSize'속성에 대한 리소스 식별자가 없습니다.
패키지 'minimalSize' '안드로이드'속성을 찾을 수 없습니다 자원 식별자가
그것은 이상한 말한다. 이후 https://developer.android.com/preview/features/multi-window.html#configuring부터 android:minimalSize
은 멀티 윈도우 모드의 적법한 특성입니다.
내의 다른 속성은 android:defaultHeight
및 android:defaultWidth
입니다.
누군가 비슷한 문제가있을 수 있습니다.
응용 프로그램 수준 build.gradle
:
apply plugin: 'com.android.application'
android {
compileSdkVersion 24
buildToolsVersion "24.0.0"
defaultConfig {
//...
minSdkVersion 16
targetSdkVersion 24
//...
}
//...
}
dependencies {
//...
compile 'com.android.support:appcompat-v7:24.0.0'
}
AndroidManifest.xml
다음 New APIs in Developer Preview 4 당
//...
<activity
//...
android:resizeableActivity="true">
<layout android:minimalSize="450dp" />
//...
</activity>
//...
'minimalSize'는 [개발자 미리보기 2] (https://developer.android.com/preview/support.html#dp2-new)에서'minimalHeight' 및'minimalWidth'로 대체되었습니다. 영어 문서 페이지에서'minimialSize','minimalHeight' 또는'minimalWidth'가 보이지 않습니다 - 아직 업데이트되지 않은 특정 언어로되어 있습니까? – ianhanniballake