에러: Unable to parse TLS packet header
개발/Android Studio 에러2024. 8. 12. 18:48에러: Unable to parse TLS packet header

Login 작업을 시행하다가 다음과 같은 에러가 발생하였다.  접속해야할 HOST를 https가 아니라 http로 변경하자.   그러면 작업한 결과물에 맞게 실패 or 성공시 가져올 결과값을 잘 띄우게 된다.

에러: socket failed: EPERM (Operation not permitted)
개발/Android Studio 에러2024. 8. 12. 18:43에러: socket failed: EPERM (Operation not permitted)

Login 작업을 시행하다가 저런 에러가 발생하였다. https://stackoverflow.com/questions/56266801/java-net-socketexception-socket-failed-eperm-operation-not-permitted java.net.SocketException: socket failed: EPERM (Operation not permitted)I am working on an Android Studio project with several activities. I am currently trying to read the output from a Java Servlet on localhost but it seems to be crashing due to a sock..

에러: Inconsistent JVM-target compatibility detected for tasks 'compileJava' (1.8) and 'compileKotlin' (17).
개발/Android Studio 에러2024. 8. 12. 16:11에러: Inconsistent JVM-target compatibility detected for tasks 'compileJava' (1.8) and 'compileKotlin' (17).

https://small-stepping.tistory.com/1133 클린 아키텍처의 기본 개념 (2)클린 아키텍처의 개요1. 경계(boundary) 만들기저수준 모듈: 상세한 기능 구현, 변경이 잦을만한 요소들의 집합 (예: 문자열 암호화 이후, 로컬 및 원격 DB에 저장) 고수준 모듈: 핵심적인 비즈니스small-stepping.tistory.com 클린 아키텍처 글 하단의 모듈 분리를 한 후 코드를 작성해 나가다 발생한 오류이다. https://stackoverflow.com/questions/69079963/how-to-set-compilejava-task-11-and-compilekotlin-task-1-8-jvm-target-com?rq=1 How to set compileJava' task..

에러: the following options were not recognized by any processor: '[dagger.fastinit, kapt.kotlin.generated]'
개발/Android Studio 에러2024. 7. 25. 16:28에러: the following options were not recognized by any processor: '[dagger.fastinit, kapt.kotlin.generated]'

the following options were not recognized by any processor: '[dagger.fastinit, kapt.kotlin.generated]' Hilt를 kapt로 적용시키다 발생한 오류다.아니 오류까진 아니고 경고창에 해당한다.  https://stackoverflow.com/questions/70550883/warning-the-following-options-were-not-recognized-by-any-processor-dagger-f warning : The following options were not recognized by any processor: '[dagger.fastInit, kapt.kotlin.generated]'I get this w..

에러: 2 files found with path 'meta-inf/gradle/incremental.annotation.processors' from inputs:
개발/Android Studio 에러2024. 7. 25. 16:21에러: 2 files found with path 'meta-inf/gradle/incremental.annotation.processors' from inputs:

Hilt 라이브러리를 적용하다 생긴 오류.  1번째 시도 : build.gradle.kts의 android {} 블록 내부에 META-INF 추가StackOverFlow에서 답변을 찾아본 결과 build.gradle.kts의 android {} 블록 내부에 있는 packaging {} 블록에 annotation.processors 관련한 META-INF를 추가하라는 내용이 존재했다. 이를 보고 작성한 것인지 한 한글로 된 블로그에도 다음과 같은 해결법이 적혀있었다.packaging { resources { excludes += "/META-INF/{AL2.0,LGPL2.1}" // ▽ Add this one. excludes += "/META-INF/gradle..

에러: Cannot find implementation for com.example.flightsearch.data.AppDatabase. AppDatabase_Impl does not exist
개발/Android Studio 에러2024. 6. 3. 19:31에러: Cannot find implementation for com.example.flightsearch.data.AppDatabase. AppDatabase_Impl does not exist

해결법을 찾기는 바로 찾았다.한글 사용자들이 블로그에 작성한 글들도 여럿 존재한다. https://stackoverflow.com/questions/46665621/android-room-persistent-appdatabase-impl-does-not-exist Android room persistent: AppDatabase_Impl does not existMy app database class @Database(entities = {Detail.class}, version = Constant.DATABASE_VERSION) public abstract class AppDatabase extends RoomDatabase { private static AppDatabase INSTANCE; ...s..

에러: kotlinx.serialization compiler plugin is not applied to the module, so this annotation would not be processed. Make sure that you've setup your buildscript correctly and re-import project.
개발/Android Studio 에러2024. 5. 24. 15:49에러: kotlinx.serialization compiler plugin is not applied to the module, so this annotation would not be processed. Make sure that you've setup your buildscript correctly and re-import project.

Retrofit을 통해 데이터를 받아오고, 네트워크 응답을 파싱하기 위해 kotlinx.serialization을 사용한 JSON 응답 파싱을 시도하다가 해당 오류가 발생하였다. https://plugins.gradle.org/plugin/org.jetbrains.kotlin.plugin.serialization Gradle - Plugin: org.jetbrains.kotlin.plugin.serializationVersion 2.0.0 (latest) 2.0.0 Created 21 May 2024. Kotlin compiler plugin for kotlinx.serialization library plugins { id("org.jetbrains.kotlin.plugin.serialization")..

에러: This version (1.5.14) of the Compose Compiler requires Kotlin version 1.9.24 but you appear to be using Kotlin version 2.0.0 which is not known to be compatible.
개발/Android Studio 에러2024. 5. 24. 15:49에러: This version (1.5.14) of the Compose Compiler requires Kotlin version 1.9.24 but you appear to be using Kotlin version 2.0.0 which is not known to be compatible.

This version (1.5.14) of the Compose Compiler requires Kotlin version 1.9.24 but you appear to be using Kotlin version 2.0.0 which is not known to be compatible.  Please consult the Compose-Kotlin compatibility map located at https://developer.android.com/jetpack/androidx/releases/compose-kotlin to choose a compatible version pair (or `suppressKotlinVersionCompatibilityCheck` but don't say I did..

에러: Didn't find class "androidx.test.runner.AndroidJUnitRunner" on
개발/Android Studio 에러2024. 5. 23. 18:32에러: Didn't find class "androidx.test.runner.AndroidJUnitRunner" on

다음과 같은 에러가 발생하였다. java.lang.RuntimeException: Unable to instantiate instrumentation ComponentInfo{xxx.yyy.test/android.support.test.runner.AndroidJUnitRunner}: java.lang.ClassNotFoundException: Didn't find class "android.support.test.runner.AndroidJUnitRunner" on path: DexPathList[[],nativeLibraryDirectories=[/system/lib, /vendor/lib]] at android.app.ActivityThread.handleBindApplication(A..

에러: Execution failed for task ':app:compileDebugAndroidTestKotlin'.
개발/Android Studio 에러2024. 5. 23. 18:27에러: Execution failed for task ':app:compileDebugAndroidTestKotlin'.

다음과 같은 에러가 발생하였다. org.gradle.api.tasks.TaskExecutionException: Execution failed for task ':app:compileDebugKotlin'. at org.gradle.api.internal.tasks.execution.ExecuteActionsTaskExecuter.lambda$executeIfValid$1(ExecuteActionsTaskExecuter.java:142) at org.gradle.internal.Try$Failure.ifSuccessfulOrElse(Try.java:282) at org.gradle.api.internal.tasks.execution.ExecuteActionsTaskExecuter.executeIfVali..

image