묻고 답해요
131만명의 커뮤니티!! 함께 토론해봐요.
인프런 TOP Writers
-
미해결[LV1] Jetpack Compose - UI 연습하기
웹뷰 화면 깨짐 현상에 대해 질문드립니다!
똑같은 코드를 작성하고 앱을 실행했더니 에뮬레이터 화면이 깨져서 보이는 현상이 일어납니다! 화면 깨짐 현상이 일어나는 사진과 전체 코드도 첨부하겠습니다!
-
미해결[왕초보편] 앱 8개를 만들면서 배우는 안드로이드 코틀린(Android Kotlin)
프래그먼트 오류
프래그먼트 강의 몇번이고 시도해봤는데 계속 동일한 현상이 일어나 문의드립니다~아래는 오류코드 입니다!구글링해도 찾기가 어렵네요 ㅠㅠ +++++++++++++++++++++++++++++++ 8 issues were found when checking AAR metadata: 1. Dependency 'androidx.navigation:navigation-common:2.7.1' 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. Also, the maximum recommended compile SDK version for Android Gradle plugin 8.0.2 is 33. Recommended action: Update this project's version of the Android Gradle plugin to one that supports 34, then update this project to use compileSdk of at least 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.1' 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. Also, the maximum recommended compile SDK version for Android Gradle plugin 8.0.2 is 33. Recommended action: Update this project's version of the Android Gradle plugin to one that supports 34, then update this project to use compileSdk of at least 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.1' 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. Also, the maximum recommended compile SDK version for Android Gradle plugin 8.0.2 is 33. Recommended action: Update this project's version of the Android Gradle plugin to one that supports 34, then update this project to use compileSdk of at least 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.1' 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. Also, the maximum recommended compile SDK version for Android Gradle plugin 8.0.2 is 33. Recommended action: Update this project's version of the Android Gradle plugin to one that supports 34, then update this project to use compileSdk of at least 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.1' 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. Also, the maximum recommended compile SDK version for Android Gradle plugin 8.0.2 is 33. Recommended action: Update this project's version of the Android Gradle plugin to one that supports 34, then update this project to use compileSdk of at least 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.1' 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. Also, the maximum recommended compile SDK version for Android Gradle plugin 8.0.2 is 33. Recommended action: Update this project's version of the Android Gradle plugin to one that supports 34, then update this project to use compileSdk of at least 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.1' 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. Also, the maximum recommended compile SDK version for Android Gradle plugin 8.0.2 is 33. Recommended action: Update this project's version of the Android Gradle plugin to one that supports 34, then update this project to use compileSdk of at least 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.1' 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. Also, the maximum recommended compile SDK version for Android Gradle plugin 8.0.2 is 33. Recommended action: Update this project's version of the Android Gradle plugin to one that supports 34, then update this project to use compileSdk of at least 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).
-
미해결[2023 코틀린 강의 무료제공] 기초에서 수익 창출까지, 안드로이드 프로그래밍 A-Z
코틀린 프로젝트를 생성하였는데 자바 프로젝트가 생성됩니다
안녕하세요 조이스선생님안드로이드 스튜디오 개발 환경설정 강의를 보고 그대로 따라 프로젝트를 생성해 보았는데 자바 프로젝트가 생성됩니다 무엇이 잘못된 걸까요?너무 기초적인 질문인 것 같아 민망하지만 혼자서는 도저히 답이 나오지 않아 질문 드립니다좋은 강의 만들어 주셔서 감사합니다
-
미해결코틀린으로 만드는 스프링부트
오류가 발생합니다
Could not create parent directory for lock file C:\Program Files\Java\jdk-20\wrapper\dists\gradle-8.2.1-bin\5hap6b9n41hkg4jeh2au2pllh\gradle-8.2.1-bin.zip.lck이런 오류가 나면서 프로젝트폴더내 build.gradle.kts 폴더의 하위폴더의 전체 파일들에 빨간줄 즉 오류가 발생하는군요 어떻게 해야하는지 왕초보라 ...
-
미해결[왕초보편] 앱 8개를 만들면서 배우는 안드로이드 코틀린(Android Kotlin)
강의 전부 수강했어요 감사해요
강사님과 수강하시는 분들늘 건강하시고 부자되세요
-
미해결윤재성의 Google 공식 언어 Kotlin 프로그래밍 시작하기
34강 리플렉션강의중에서
class TestClass() {constructor(a:Int) : this() { } constructor(a:Int, b: Int) : this() { } fun testMethod() {}}fun main(){val t1 : TestClass = TestClass()println("추상클래스인지아닌지: ${t1::class.isAbstract}") // 변수명: company_name}
-
미해결윤재성의 Google 공식 언어 Kotlin 프로그래밍 시작하기
sealed class 관련 code 내 when 에서 오류가 발생합니다
fun checkNumberS(obj :NumberS) {when(obj) { // <<<<< 오류발생줄is NumberS.SeOne -> {println("ONE 입니다")println(obj.a)println(obj.b)}is NumberS.SeTwo -> {println("TWO 입니다")println(obj.a)println(obj.b)when(obj.a) {1 -> println("1 입니다")2 -> println("2 입니다")3 -> println("3 입니다")}}is NumberS.SeThr -> {println("THREE 입니다")println(obj.a)println(obj.b)}}}sealed class NumberS {class SeOne(val a:Int, val b: Int) : NumberS()class SeTwo(val a:Int, val b: String) : NumberS()class SeThr(val a:Int, val b: Double) : NumberS()class SeFou(val a:Int) : NumberS() {fun sealedFun () {}}}fun main() {val c1 = NumberS.SeOne(1, 3)checkNumberS(c1) // ONE 입니다 1 3 val c2 = NumberS.SeTwo(3, "sealed class")checkNumberS(c2) // TWO 입니다 3 sealed class 3 입니다 val c3 = NumberS.SeThr(5, 3.1415)checkNumberS(c3) // THREE 입니다 5 3.1415}
-
미해결[초급] 맛보자! 코틀린과 스프링으로 API 호출하기
findTop10ByOrderByCntDesc 함수의 동작 원리에 대한 질문
interface WordRepository :CrudRepository<WordCount, String> { fun findTop10ByOrderByCntDesc() :List<WordCount> }위 findTop10ByOrderByCntDesc 함수는 선언만 되고 실제 구현이 안되어서 CrudRepository 에도 들어가봤지만 virtual 함수도 아닌걸로 보이는데요..예상하는 바는 repository에서 함수명을 query로 자동 변환하여 가져오는 형식으로 느껴집니다.만약 그렇다면, 이 것은 원래 springframework 기능인 것인가요? (완전 웹개발 초보라서 이렇게 문의드립니다...)
-
해결됨[초급편] 안드로이드 커뮤니티 앱 만들기(Android Kotlin)
버튼을 누르면 회원가입이 되는 이유
안녕하세요 강사님! 강의 잘 보고 있습니다:)auth.createUserWithEmailAndPassword("abc@abc.com", "abcabc") .addOnCompleteListener(this) { task -> if (task.isSuccessful) { Toast.makeText(this, "성공", Toast.LENGTH_SHORT).show() } else { Toast.makeText(this, "실패", Toast.LENGTH_SHORT).show() } } 3:00부분에서 코드상에 버튼 id를 기입한 것도 아닌데 어떻게 회원가입이 되는 것인지 이유가 궁금해서 질문 드립니다!
-
미해결[왕초보편] 앱 8개를 만들면서 배우는 안드로이드 코틀린(Android Kotlin)
연필 아이콘 누르면 앱 종료되는 문제발생!!
연필 아이콘을 누르면 에뮬레이터가 꺼지는데 이유가 뭘까요..? 어떻게 해결해야 하는지 잘 모르겠습니다!
-
미해결[왕초보편] 앱 8개를 만들면서 배우는 안드로이드 코틀린(Android Kotlin)
Project 빌드에 아무것도 없는 경우도 있나요?
현재 2시간 동안 파이어베이스에서 빠져나오지 못하고.. 안드로이드 2번이나 설치했습니다.범블비 버전을 설치 했는데 이게 없을 수 있나요?
-
미해결[초급편] 안드로이드 커뮤니티 앱 만들기(Android Kotlin)
댓글 삭제 기능
강의 전부 다 수강하고 따라하며 그대로 만들어 본 학생입니다 ! 다름이 아니라 댓글을 삭제하는 기능을 넣고싶은데, 혼자 해보려니 도저히 할 엄두가 안나서요.. 혹시 자신이 쓴 댓글을 삭제하는 기능이 있는 소스 코드가 있을까요 ?코드를 하나하나 보면서 이해하고 싶어요.. ㅠㅠ
-
미해결[초급편] 안드로이드 커뮤니티 앱 만들기(Android Kotlin)
안드로이드 스튜디오 최신버전 dataBinding 오류 해결
이런식으로 오류가 뜹니다. 버전이 안맞아서 그러는것 같기도 한데 제가 혹시 잘못한게 있을까요. 최신버전의 안드로이드 스튜디오입니다.
-
해결됨자바 개발자를 위한 코틀린 입문(Java to Kotlin Starter Guide)
18강 map 질문
val values = fruits.filter { fruit -> fruit.name == "사과" } .mapNotNull { fruit -> fruit.nullOrValue() } nullable한 List에서 null이 아닌 element만 가지고 오는 mapNotNull중에서.. nullOrValue()는 임의로 만드신 확장함수인가요?
-
미해결[왕초보편] 앱 8개를 만들면서 배우는 안드로이드 코틀린(Android Kotlin)
build에서 계속 문제가 생깁니다.
위와 같이 에러가 발생하는데 어떤 문제가 발생한 것인지 잘모르겠습니다 ㅜ어떻게 해결해야하나요?
-
미해결[왕초보편] 앱 8개를 만들면서 배우는 안드로이드 코틀린(Android Kotlin)
startActivity(intent) 에러 발생
intent에서 startActivity(intent)를 하면 버튼을 클릭했을 때 넘어가야하는데 에러가 나면서 앱이 종료가 됩니다..방법을 잘 모르겠습니다 어떻게 해야하나요..?
-
해결됨[초급편] 안드로이드 커뮤니티 앱 만들기(Android Kotlin)
파이어베이스 현재 시간
코드도 다 맞게 입력했는데 년도, 날짜는 다 정상적으로데이터가 저장이 되는데 현재 시간만 이상하게 저장됩니다. 현재 시간이 16시인데 07시라고만 뜨네요 왜이런걸까요 ???
-
미해결실전! 코틀린과 스프링 부트로 도서관리 애플리케이션 개발하기 (Java 프로젝트 리팩토링)
app 실행 시 종료된 프로세스 에러가 발생합니다.
어떻게 해결할 수 있을까요?
-
미해결하울의 안드로이드 인스타그램 클론 만들기
도와주세요 ㅠㅠ
이런 오류가 생겼는데 막막합니다..ㅠㅠ 도와주세요
-
미해결[왕초보편] 앱 8개를 만들면서 배우는 안드로이드 코틀린(Android Kotlin)
Splash Activity 를 먼저 띄우는 방법 좀 알려주세요.
안녕하십니까저는 트와이스 앱 만들기에서 강의소개 및 스플래시강의를 보고 있습니다.우선, New Project를 만들때, 안드로이드 스튜디오 버전이 달라서 그런지 Empty Activity는 없고 이와 유사한 Empty view activity 로 프로젝트를 만들었습니다. 그렇게 해서 Splash를 먼저 띄우기 위해 Manifests에서 Intent를 SplashActivity로 잘라서 붙여넣기 했는데 오류가 발생하네요.오류내용은 아래와 같고 제가 친 코드는 붙여넣기 했습니다.어떻게 해야 되는지 도와주십시요오류내용 : Android resource linking failedC:\Users\User\AndroidStudioProjects\SHEguidebook\app\build\intermediates\packaged_manifests\debug\AndroidManifest.xml:34: error: unexpected element <intent-filter> found in <manifest><application>. 코드 작성<?xml version="1.0" encoding="utf-8"?> <manifest xmlns:android="http://schemas.android.com/apk/res/android" xmlns:tools="http://schemas.android.com/tools"> <application android:allowBackup="true" android:dataExtractionRules="@xml/data_extraction_rules" android:fullBackupContent="@xml/backup_rules" android:icon="@mipmap/ic_launcher" android:label="@string/app_name" android:roundIcon="@mipmap/ic_launcher_round" android:supportsRtl="true" android:theme="@style/Theme.SHEguidebook" tools:targetApi="31"> <activity android:name=".SplashActivity" android:exported="false" /> <intent-filter> <action android:name="android.intent.action.MAIN" /> <category android:name="android.intent.category.LAUNCHER" /> </intent-filter> <activity android:name=".MainActivity" android:exported="true"> </activity> </application> </manifest>