The Compose Compiler requires the Compose Runtime to be on the class path, but none could be found. The compose compiler plugin you are using (version 1.3.2) expects a minimum runtime version of 1.0.0.
·
시행착오 저장소
https://developer.android.com/jetpack/androidx/releases/compose-runtime?hl=ko Compose Runtime | Android 개발자 | Android Developers 컬렉션을 사용해 정리하기 내 환경설정을 기준으로 콘텐츠를 저장하고 분류하세요. Compose Runtime Compose의 프로그래밍 모델과 상태 관리를 위한 기본 구성요소 및 타겟팅용 Compose 컴파일러 플러그 developer.android.com 여기에 따라서 Runtime 디펜던시 추가하면 해결되더라..
AppDatabase_Impl does not exist
·
시행착오 저장소
오늘 만남 room 문제 // To use Kotlin annotation processing tool (kapt) kapt("androidx.room:room-compiler:$room_version") 이거 추가해주니까 해결됐음
injectprocessingstep was unable to process 'testrepository(firebasetestservice)' because 'firebasetestservice' could not be resolved.
·
시행착오 저장소
hilt적용하는데 다음과 같은 에러가 났음 Plugin, Dependency세팅에서 틀린게 없었는데 계속 위와같은 에러가났음 -> 처음에는 멀티모듈에 Hilt가 적용안되는 것인가라는 걱정이 되었는데 그런문제는 아니었음 -> 다른 안드로이드 멀티모듈보고 안되는건 아니라고 판단했음. 결국 해당 Inject하는 객체의 Package가 없는게 문제가 되었음. 새로운 directory를 만들어 생성을 하다가 src/main/kotin/ --- 여기에 해당 Inject객체를 생성하여 만들면 위와같은 에러가 난다. src/main/kotlin/com.vlm.android.myapp/datasource 등의 위치에서 생성하면 에러 제거됨
This version (1.0.1) of the Compose Compiler requires Kotlin version 1.5.21 but you appear to be using Kotlin version 1.5.31 which is not known to be compatible. Please fix your configuration (or `suppressKotlinVersionCompatibilityCheck` but don't say ..
·
시행착오 저장소
매번 새로운 프로잭트를 할때마다 골치가 아프게 되는 에러임 이번에는 SQLDelight 를 사용하면서 Compose를 같이 사용하게 되었는데. 이렇게 되면 SQLDelight는 코틀린 버전을 1.5.31로 강제로 맞춰버린다고 함.. 그래서 그냥 Compose를 1.0.1이 아닌 최신의 버전을 사용하면 된다. 나의 경우에는 1.0.4로 설정하니까 되었음..\ https://stackoverflow.com/questions/69622377/compose-compiler-requires-kotlin-version?noredirect=1&lq=1 Compose Compiler requires Kotlin version I made a Kotlin Multiplatform Mobile project using a..
activity가 여러번 반복해서 켜져서 하루 날렸던 후기
·
시행착오 저장소
dark mode를 막고싶어서 집어 넣었던 AppCompatDelegate.setDefaultNightMode(AppCompatDelegate.MODE_NIGHT_NO) 이 줄이 하루를 날리게 되는 원인이 되었음...
android 프로젝트 시작하고 파이어베이스에 등록해보기
·
시행착오 저장소
1. 안드로이드에서 New Project만든다 2. 안드로이드 스튜디오에서 git과 연동한다 1) setting의 gitHub 들어가서 + 버튼을 클릭후 아이디 비번 입력 2) 안될시에 오른쪽 상단에 있는 token을 클릭하여 토큰으로 로그인 3) 토큰은 gitHub 홈페이지의 profile -> develpersetting의 토큰을 가져온다 복사 붙여넣기로 토큰을 넣고 로그인 4) 아래처럼 vcs -> import into version control -> share을 통해 프로젝트 넣기 3. 파이어 베이스와 연결하기 1) tools -> firebase 클릭 2) 우측에 등장하는 firebase기능중 아무거나 클릭후 get Started 눌리기 3) 친절하게 설명해주는 설명서 따라서 하나씩 클리어하기..
리워크
'시행착오 저장소' 카테고리의 글 목록