묻고 답해요
161만명의 커뮤니티!! 함께 토론해봐요.
인프런 TOP Writers
-
미해결[초급편] 안드로이드 커뮤니티 앱 만들기(Android Kotlin)
Intro layout에서 RelativeLayout이 아닌 ConstraintLayout을 쓰는 이유
<ConstraintLayout android:layout_width="match_parent" android:layout_height="match_parent" tools:context=".auth.IntroActivity"> <RelativeLayout android:layout_width="match_parent" android:layout_height="match_parent"> </RelativeLayout> </ConstraintLayout>결국 실질적 최상단 레이아웃은 RelativeLayout인데 가장 큰테두리를 ConstraintLayout로 쓰는 이유가 궁금합니다!
-
미해결[초급편] 안드로이드 커뮤니티 앱 만들기(Android Kotlin)
상태바 색깔변경 하는법
강의에서는 이것만 바꾸라고 되어있는데<item name="colorPrimaryVariant">@color/main_yellow</item>애초에 'statusBarColor'가 저처럼 없는분들은 이걸 추가하셔야합니다!! <item name="android:statusBarColor" tools:targetApi="l">@color/main_yellow</item>그래서 총 코드는 이렇게 됩니다! 참고하세여<resources xmlns:tools="http://schemas.android.com/tools"> <!-- Base application theme. --> <style name="Base.Theme.MySoloLife" parent="Theme.Material3.DayNight.NoActionBar"> <!-- Customize your light theme here. --> <item name="colorPrimaryVariant">@color/main_yellow</item> <item name="android:statusBarColor" tools:targetApi="l">@color/main_yellow</item> <!-- <item name="colorPrimary">@color/my_light_primary</item> --> </style> <style name="Theme.MySoloLife" parent="Base.Theme.MySoloLife" /> </resources>
-
미해결[초급편] 안드로이드 커뮤니티 앱 만들기(Android Kotlin)
파이어베이스 연동 부분에 auth가 import가 안됩니다.(깃허브 첨부)
파이어베이스 설정 전까지는 잘 따라왔는데 Firebase SDK부분에서 코드가 다르고 또 개발 문서에서 예시코드가 이제는 제공되지 않더라구요 깃허브는 https://github.com/wonttan/Mobile_Programming 입니다
-
미해결[왕초보편] 앱 8개를 만들면서 배우는 안드로이드 코틀린(Android Kotlin)
.push()가 .child() 보다 앞에 가면 안되는거였군요..
viewBinding.btnSave.setOnClickListener { myBookmarkRef .child(Firebase.auth.currentUser!!.uid) .push() .setValue(model) Toast.makeText(this, "저장되었습니다", Toast.LENGTH_SHORT).show() }myBookmarkRef .push() .child(Firebase.auth.currentUser!!.uid) .setValue(model)항상 바로안따라하고 강의먼저 듣고, 써놓은거 바탕으로 과거에 했던거까지 응용해서 제 코드에 넣는방식으로 공부했는데 이번에 제멋대로 아래처럼 하다가 북마크가 안떠서 2일동안 왜안될까 고민했네요 ㅠㅠ아무튼 혹시라도 다른분들도 북마크 안뜨시면 이거 한번 확인하면 좋을거같습니다.
-
미해결[왕초보편] 앱 8개를 만들면서 배우는 안드로이드 코틀린(Android Kotlin)
실행시 에러 질문
실행시 다음과 같은 에러가 발생 합니다. 추가 해 줄 것이 있는 것인지요? 에러 내용 6 issues were found when checking AAR metadata: 1. Dependency 'androidx.appcompat:appcompat-resources:1.6.1' requires libraries and applications that depend on it to compile against version 33 or later of the Android APIs. :app is currently compiled against android-32.
-
미해결MERN STACK 커뮤니티 : 시작부터 배포까지 알려주는 React
read(2) 강의 내용에 질문이 있습니다.
posts, counter 가 생기면서 어떤 차이가 생긴건지 잘 이해가 되지 않습니다.작성된 대상들은 counter num을 가지고 이제 post num을 사용할 수 있다는데 잘 이해가 되지 않습니다...counter을 추가하면서 얻어진 효과가 뭔지 알 수 잇을까요?
-
미해결[왕초보편] 앱 8개를 만들면서 배우는 안드로이드 코틀린(Android Kotlin)
아 EditText를 string으로 변환하려면 .text가 있어야 됐군요..
customDialogBinding.btnSave.setOnClickListener { // 여기에서 etMemo.toString으로 썼었습니다. val memo = customDialogBinding.etMemo.text.toString() val database = Firebase.database val myRef = database.getReference("myMemo") val model = DataModel(dateText, memo) myRef .push() .setValue(model) mAlertDialog.dismiss() }editText를 string으로 변환하려면 text를 썼어야됐는데 못봐가지고 그냥 editText.toString하다가memo=androidx.appcompat.widget.AppCompatEditText{9486c89 VFED..CL. .F...... 53,53-887,211 #7f0901fb app:id/et_memo aid=1073741827}자꾸 이렇게 파이어베이스에 들어가서 몇시간동안 원인 찾았네요 ㅠㅠ전전강의까지 가서 다시 분석해보니 답을 찾았습니다 ㅋㅋㅋ 모두 포기하지말고 화이팅 😂
-
미해결틴더 파이어베이스 클론 | 리액트 네이티브
디스코드가 올바르지 않은 코드라고 떠요,,,,
디스코드가 올바르지 않은 코드라고 떠요,,,,
-
미해결처음하는 플러터(Flutter) 기초부터 실전까지 [풀스택 Part4] (쉽고 견고하게 단계별로 다양한 프로젝트까지)
명령어 프롬프트에서 에러
12분 50초 쯤에서 나오는터미널에 명령어 입력하는 부분이 안되네요.윈도우 사용중이고 디렉토리 루트까지는 갔는데 그 후에 flutterfire 라는게 내외부 명령을 실행할수 있는 배치파일이 아니라고 떠요ㅠ
-
미해결따라하며 배우는 리액트, 파이어베이스 - 채팅 어플리케이션 만들기[2023.12 리뉴얼]
mime-types 패키지를 import 할 때 에러 발생
mime-types를 설치하고 import 시킨 후에 해당 사진과 같은 에러가 발생합니다..
-
미해결MERN STACK 커뮤니티 : 시작부터 배포까지 알려주는 React
깃허브
깃허브에 코딩한거 올려주시나요?하신다면 링크 알 수 있을까요?
-
미해결[왕초보편] 앱 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).
-
미해결[왕초보편] 앱 8개를 만들면서 배우는 안드로이드 코틀린(Android Kotlin)
강의 전부 수강했어요 감사해요
강사님과 수강하시는 분들늘 건강하시고 부자되세요
-
해결됨[초급편] 안드로이드 커뮤니티 앱 만들기(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 오류 해결
이런식으로 오류가 뜹니다. 버전이 안맞아서 그러는것 같기도 한데 제가 혹시 잘못한게 있을까요. 최신버전의 안드로이드 스튜디오입니다.
-
미해결따라하며 배우는 리액트, 파이어베이스 - 채팅 어플리케이션 만들기[2023.12 리뉴얼]
리덕스 스토어에 로그인 유저 정보가 저장이 되지 않는 문제
리덕스 스토어에 로그인 유저 정보 저장이 되지 않는 것 같습니다.로그인은 잘 되어 라우팅 되는 거 같은데 왜 스토어에 저장이 안되는지 질문드립니다!
-
미해결[왕초보편] 앱 8개를 만들면서 배우는 안드로이드 코틀린(Android Kotlin)
startActivity(intent) 에러 발생
intent에서 startActivity(intent)를 하면 버튼을 클릭했을 때 넘어가야하는데 에러가 나면서 앱이 종료가 됩니다..방법을 잘 모르겠습니다 어떻게 해야하나요..?