inflearn logo
강의

강의

N
챌린지

챌린지

멘토링

멘토링

N
클립

클립

로드맵

로드맵

지식공유

[왕초보편] 앱 8개를 만들면서 배우는 안드로이드 코틀린(Android Kotlin)

프래그먼트 오류가 납니다!

해결된 질문

594

wkdwldms2001

작성한 질문수 2

0

5강의 내비게이션 프래그먼트 강의 수강 중 오류가 납니다.

코드 작성 시 빨간 줄 뜨는 건 없었는데 실행 시키면 arr metadata 체크 할 때 8개의 오류가 난다고 뜹니다

 

8 issues were found when checking AAR metadata:

1. Dependency 'androidx.navigation:navigation-common:2.7.2' requires libraries and applications that

depend on it to compile against version 34 or later of the

Android APIs.

:app is currently compiled against android-33.

Recommended action: Update this project to use a newer compileSdk

of at least 34, for example 34.

Note that updating a library or application's compileSdk (which

allows newer APIs to be used) can be done separately from updating

targetSdk (which opts the app in to new runtime behavior) and

minSdk (which determines which devices the app can be installed

on).

2. Dependency 'androidx.navigation:navigation-common-ktx:2.7.2' requires libraries and applications that

depend on it to compile against version 34 or later of the

Android APIs.

:app is currently compiled against android-33.

Recommended action: Update this project to use a newer compileSdk

of at least 34, for example 34.

Note that updating a library or application's compileSdk (which

allows newer APIs to be used) can be done separately from updating

targetSdk (which opts the app in to new runtime behavior) and

minSdk (which determines which devices the app can be installed

on).

3. Dependency 'androidx.navigation:navigation-runtime:2.7.2' requires libraries and applications that

depend on it to compile against version 34 or later of the

Android APIs.

:app is currently compiled against android-33.

Recommended action: Update this project to use a newer compileSdk

of at least 34, for example 34.

Note that updating a library or application's compileSdk (which

allows newer APIs to be used) can be done separately from updating

targetSdk (which opts the app in to new runtime behavior) and

minSdk (which determines which devices the app can be installed

on).

4. Dependency 'androidx.navigation:navigation-ui:2.7.2' requires libraries and applications that

depend on it to compile against version 34 or later of the

Android APIs.

:app is currently compiled against android-33.

Recommended action: Update this project to use a newer compileSdk

of at least 34, for example 34.

Note that updating a library or application's compileSdk (which

allows newer APIs to be used) can be done separately from updating

targetSdk (which opts the app in to new runtime behavior) and

minSdk (which determines which devices the app can be installed

on).

5. Dependency 'androidx.navigation:navigation-runtime-ktx:2.7.2' requires libraries and applications that

depend on it to compile against version 34 or later of the

Android APIs.

:app is currently compiled against android-33.

Recommended action: Update this project to use a newer compileSdk

of at least 34, for example 34.

Note that updating a library or application's compileSdk (which

allows newer APIs to be used) can be done separately from updating

targetSdk (which opts the app in to new runtime behavior) and

minSdk (which determines which devices the app can be installed

on).

6. Dependency 'androidx.navigation:navigation-ui-ktx:2.7.2' requires libraries and applications that

depend on it to compile against version 34 or later of the

Android APIs.

:app is currently compiled against android-33.

Recommended action: Update this project to use a newer compileSdk

of at least 34, for example 34.

Note that updating a library or application's compileSdk (which

allows newer APIs to be used) can be done separately from updating

targetSdk (which opts the app in to new runtime behavior) and

minSdk (which determines which devices the app can be installed

on).

7. Dependency 'androidx.navigation:navigation-fragment-ktx:2.7.2' requires libraries and applications that

depend on it to compile against version 34 or later of the

Android APIs.

:app is currently compiled against android-33.

Recommended action: Update this project to use a newer compileSdk

of at least 34, for example 34.

Note that updating a library or application's compileSdk (which

allows newer APIs to be used) can be done separately from updating

targetSdk (which opts the app in to new runtime behavior) and

minSdk (which determines which devices the app can be installed

on).

8. Dependency 'androidx.navigation:navigation-fragment:2.7.2' requires libraries and applications that

depend on it to compile against version 34 or later of the

Android APIs.

:app is currently compiled against android-33.

Recommended action: Update this project to use a newer compileSdk

of at least 34, for example 34.

Note that updating a library or application's compileSdk (which

allows newer APIs to be used) can be done separately from updating

targetSdk (which opts the app in to new runtime behavior) and

minSdk (which determines which devices the app can be installed

on).

 

이건 33으로 되어 있는데 34로 바꾸면 실행 버튼이 비활성화 됩니다.

이것도 제대로 되어 있는 거 같은데 뭐가 문젤까요ㅠ

android kotlin firebase fragment navigation

답변 1

0

개복치개발자

전체 코드를 깃헙이나 구글 드라이브를 통해 공유해주세요~

0

wkdwldms2001

테스트 디바이스 버전이 낮아서 그런 거 같아요! 핸드폰 연결하고 34로 바꿔서 실행시키니까 해결됐습니다!

 

강사님 그리고 혹시 깃허브랑 안드로이드스튜디오 연결하는 강의 찍어주실 수 있나요? 유튜브 보고 해보려고 했는데 거의 다 2년 이상 된 오래된 영상밖에 없어서요ㅠ

1

개복치개발자

다음 강의 업데이트할 때 참고하겠습니다 :)

주사위앱 소개 및 레이아웃 설정 문제

0

60

2

안드로이드 에뮬레이터가 실행이 안 되요...ㅠ

0

105

2

30 강 소스 좀 올려 주십시요

0

81

2

onBackPressed 함수가 동영상 하고 다르게 동작합니다.

0

91

2

ListView 초기 실행 안됩니다.

0

96

2

코딩을 완료하고난후 앱 실행시 자동 종료

0

72

2

datavinding에서 오류가 납니다.

0

54

1

안드로이드 스튜디오 버전 차이로 초기 empyt activity 선택하면 안됩니다.

0

113

2

context의 구별에 대하여

0

70

2

"프롤로그에서 ..." 오류 관련해 직전 질문에 대한 추가 질문입니다.

0

70

2

"프롤로그에서 콘텐츠가 허용되지 않습니다." 오류

0

159

3

해결완료

1

188

2

databinding 설정후 run하면 에러(해결)

0

223

2

databinding 설정 이후 실행시 에러

0

273

4

안드로이드 입문하는 사람입니다.

0

71

1

Firebase uid

0

78

3

activity_main 화면 다름

0

116

2

강의화면과 다른데 맞게진행되는것인가요...????

0

107

2

파이어베이스 질문

0

75

2

ActivityMainBinding에 오류가 납니다

0

136

2

선생님 onBackPressed 작동이 안되는거 같습니다

0

119

2

>app>res>layout 이 존재하지 않습니다.

0

119

2

안드로이드 스튜디오 미어캣 버전 사용 한글 깨짐

0

749

2

안드로이드 스튜디오 오류 발생 시 대처 방법은 요?

0

289

2