분류 전체보기 320

Android Studio build error - compileDebugJavaWithJavac task (current target it 1.8) and kaptGenerateStubsDebugKotlin task (current target is 17)

Before compileOptions { sourceCompatibility = JavaVersion.VERSION_1_8 targetCompatibility = JavaVersion.VERSION_1_8 } kotlinOptions { jvmTarget = "1.8" freeCompilerArgs = listOf("-Xjvm-default=enable") } After >>> JavaVersion.VERSION_1_8.toString() compileOptions { sourceCompatibility = JavaVersion.VERSION_1_8 targetCompatibility = JavaVersion.VERSION_1_8 } kotlinOptions { jvmTarget = JavaVersio..

The style on this component requires your app theme to be Theme.MaterialComponents (or a descendant)

com.google.android.material.bottomappbar.BottomAppBar material 을 사용 할 때, material 테마를 적용 해주시 않으면 아래와 같은 에러가 나온다. The style on this component requires your app theme to be Theme.MaterialComponents (or a descendant) layout.xml 과 style.xml에 아래와 같이 수정 해준다. 1. layout android:theme="@style/MaterialTheme" 2. style

Inheritance from an interface with '@JvmDefault' members is only allowed with -Xjvm-default option

Inheritance from an interface with '@JvmDefault' members is only allowed with -Xjvm-default option viewModel 에 param을 추가하였더니 viewModel Factory가 필요하고, 추가 하니 위와 같은 에러가 나왔다~ 버전 충돌 문제인데~ build.gradle.app 에 kotlinOptions { jvmTarget = '1.8' freeCompilerArgs += [ '-Xjvm-default=enable' ] } 또는 tasks.withType(KotlinCompile).configureEach { kotlinOptions { freeCompilerArgs += [ "-Xjvm-default=all", ] } }..

애플 시리 호출 안되는 현상 -사춘기 시리

보통 시리 호출이 안될 때는 아래 2가지를 기본으로 확인 해야 한다. 1. 마이크 작동 여부 2. 시리 설정 여부 Just Turn Off Siri on iCloud setting and reBoot and turn on Siri on iCloid again. 위 사항이 잘 체크 되어있는데도 키보드 눌러서 호출은 되고~ 직접 말로만 시리 호출이 안된다면 >>> 로그아웃 후 다른 계정으로 로그인해서 시리 호출 했을 때 정상이라면 애플 클라우드 계정이 꼬였다는 의미다!! 1. 설정 > 애플 아이디 > iCloud로 가서 Siri 를 끄고 재부팅 한 뒤, Siri를 다시 킨뒤 2. 설정 > 시리로 가면 꺼져있는 시리를 다시 키면, 다시 시리를 초기화 하는 화면이 뜬다. 안녕, 시리, 내일 할일은 뭐야등등 다시..

[애플] 2023.06.09