안드로이드 에러 모음

HR·2022년 4월 28일
0

에러 모음집

목록 보기
1/3

Caused by: android.system.ErrnoException: connect failed: ENETUNREACH

  • 인터넷 연결이 되어있는지 확인

다른 프로세스가 파일을 사용 중이기 때문에 프로세스가 액세스 할 수 없습니다.

  • 재시작하면 해결

You need to use a Theme.AppCompat theme (or descendant) with this activity.


Parameter specified as non-null is null

  • 프로젝트를 clone 해왔더니 gradle 폴더에 다음과 같은 코드들이 생겼다.
buildConfigField("String", "API_ID", properties.getProperty("API_ID"))
buildConfigField("String", "API_KEY", properties.getProperty("API_KEY"))

다른 팀원이 API키 값을 추가했는데 나의 로컬에서는 키 값이 입력되지 않아서 생기는 문제였다.


Could not find method kapt() for arguments

  • gradle에서 kapt를 사용해 외부 라이브러리를 사용할 경우, build.gradle 가장 상단에 있는 plugins에 다음을 추가해야 한다.
id 'kotlin-kapt'

0개의 댓글