묻고 답해요
164만명의 커뮤니티!! 함께 토론해봐요.
인프런 TOP Writers
-
미해결[중급편] 친절한 JETPACK 개론 <하> (Android Kotlin)
질문드립니다!
챕터9에 검색한 데이터 요청 챕터에서 viewmodel과 viewmodelfactory로 나눈 이유가 있을까요?
-
미해결코틀린 3강으로 끝내기 feat. 안드로이드 개발
3강에서 MainActivity.kt에서 activity_main.xml에 있는 nav_host_fragment를 가져오는게 안됩니다
분명히 activity_main.xml코드도 똑같고 MainActivity.kt 코드도 똑같은데 nav_host_fragment가 Unresolved Reference라고 뜨네요... 혹시 같은 오류 뜨셔서 해결하신 분 있으실까요? 아니면 제 컴퓨터 환경 문제일까요? ㅠㅠ
-
미해결Flutter 입문 - 안드로이드, iOS 개발을 한 번에 (with Firebase)
The Android Gradle plugin supports only Kotlin Gradle plugin version 1.5.20 and higher. 해결법을 모르겠습니다
- 학습 관련 질문을 남겨주세요. 상세히 작성하면 더 좋아요! - 먼저 유사한 질문이 있었는지 검색해보세요. - 서로 예의를 지키며 존중하는 문화를 만들어가요. - 잠깐! 인프런 서비스 운영 관련 문의는 1:1 문의하기를 이용해주세요.잘 따라가다가'13. Firebase로 이메일 로그인 기능 구현' 강의 수강 중pubspec.yaml 파일에flutterfire_ui: ^0.4.3+20 을 추가 하니The Android Gradle plugin supports only Kotlin Gradle plugin version 1.5.20 and higher.The following dependencies do not satisfy the required version:project ':sign_in_with_apple' -> org.jetbrains.kotlin:kotlin-gradle-plugin:1.3.50라고 오류가 떠서 못넘어가고 있습니다 ㅠㅠ 어떻게 해결해야할까요?구글링도 해봤으나 적절한 답을 찾지 못했습니다ㅠㅠ
-
미해결프리다(Frida)를 이용한 안드로이드 앱 모의해킹
질문입니다.
# frida -U --codeshare machoreverser/ios12-ssl-bypass -f 앱 ____ / _ | Frida 16.0.10 - A world-class dynamic instrumentation toolkit | (_| | > _ | Commands: /_/ |_| help -> Displays the help system . . . . object? -> Display information about 'object' . . . . exit/quit -> Exit . . . . . . . . More info at https://frida.re/docs/home/ . . . . . . . . Connected to Apple iPhone (id=16711d314cc2a3e5cf6d45b93d6d9db250329d17)Spawned bookple. Resuming main thread!Error: expected a pointer at <eval> (/codeshare.frida.re/machoreverser/ios12-ssl-bypass.js:16) at evaluate (native) at <anonymous> (/frida/repl-2.js:1)[Apple iPhone::kr.co.aladin.bookple ]->앱이 정상적으로 재실행은 되는데요 이에러가 발생하면 뭘 해봐야 할까요?
-
미해결[왕초보편] 앱 8개를 만들면서 배우는 안드로이드 코틀린(Android Kotlin)
에뮬레이터가 에러가 나는 경우는 어떤 문제인가요
bts 어플 만들기에서 bts_1 파일까지는 잘 됐는데액티비티 화면 전환을 시도할려고 코드를 짜다보니다른 이미지를 선택했을때 자꾸 바탕화면으로 튕기고 계속 시도하니 오류가 납니다 나머지 이미지 파일이나 레이아웃 코드는 모두 복붙했고 메인 액티비티도 코드는 강의내용 그대로 옮겨 적었습니다
-
해결됨[초급편] 안드로이드 커뮤니티 앱 만들기(Android Kotlin)
isEmpty가 unresolved references 오류
isEmpty함수를 따라 쓰려 하자 unresolved references 오류가 발생하며 사용할 수 없어서 대체로 length가 0인 것을 하려고 하자 노란줄이 뜨면서 isEmpty를 추천해주는데 여전히 사용이 안되는데 혹시 왜 그런지 아시나요?
-
미해결[왕초보편] 앱 8개를 만들면서 배우는 안드로이드 코틀린(Android Kotlin)
메타데이터 에러
안녕하세요.이미지 세팅하고 시작 누르는데 맨 밑과 같은 에러가 나오는데요. 아래 2가지 방법을 시도해도 작동이 안되는데 혹시 어떻게 해야 하나요? } https://devshin93.tistory.com/116 참조:-> 첫 번재 해결책 : compileSdk 와 targetSdk 가 31이 아닌 경우,implementation 'androidx.appcompat:appcompat:1.3.0'> 두 번째 해결책 : compileSdk 과 targetSdk 가 31인 경우 걍 해결 됨! AAR 메타데이터를 확인하는 동안 6가지 문제가 발견되었습니다:
-
미해결안드로이드 모바일 앱 모의해킹과 시큐어코딩
커리큘럼 질문드립니다.
강의가 아직 정리가 안된거 같아서 질문드립니다.앱 취약점 분석을 위한 도구 리뷰 까지 들었는데그 이후에 있는 삭제예정 강의도 들을 필요 있나요?(삭제예정) 정적 분석 환경구성(삭제예정) 동적 분석 환경구성 그리고 강의 자료랑 강의에 사용하는 툴 어디서 다운받나요? 제공하는 툴에서 다운받으라는데 어디서 다운받나요?
-
해결됨[초급편] 안드로이드 커뮤니티 앱 만들기(Android Kotlin)
firebase 관련 import에서 오류가 발생합니다
auth 부분에서도 import가 되지 않는 오류가 발생했는데 이전에는 방법을 찾아서 무시하고 일단 넘어갔는데 realtime database에서도 여전히 문제가 발생합니다.다음과 같이 Firebase를 import하려고 하면 Unresolved reference:Firebase라고 뜹니다. import 선택지는 뜨지도 않고요.. 이전에 auth에서도 동일한 문제가 발생했는데 어떻게 고치고 왜 그런지 아시나요? implementation도 추가했습니다
-
미해결[왕초보편] 앱 8개를 만들면서 배우는 안드로이드 코틀린(Android Kotlin)
강의자료와 소스코드는 어디서 받을수 있나요?
강의 제목 옆에 구름 아이콘이나 수업자료 버튼이 보이지 않습니다ㅠ
-
미해결프리다(Frida)를 이용한 안드로이드 앱 모의해킹
챌린지 02번 문제와 static 메소드 강의 질문 사항
챌린지 02번 문제와 static 메소드 강의 질문 사항 강의 문제풀이 두번째 영상(챌린지 02번, 챌린지 03번)과 static 메소드 질문 사항 안녕하세요 강의를 듣고 있는데 내용이 헷갈려서 질문하려고 합니다. 챌린지 2번 문제를 풀 때 아래 소스코드를 보자면 private void chall02( ) { this.completeArr[1] = 1;}프리다 문제 풀이 강의 중 두번째 강의 소스코드에 private void로 선언되어 있으므로 static method로 선언되지 않는 경우로 instance method로 선언되는 경우라서 인스턴스화된 객체를 찾기 위해서는 java.choose를 사용해야한다고 나와 있었습니다. 그런데 static 메소드 질문에 대한 답변에 강의를 들어보면 private staic, public staic으로 선언된 경우에는 java.choose를 사용하고 static 메소드가 선언되지 않는 일반적인 private, public 형태는 java.use 형식으로 사용하라고 적어 주셨는데 이게 제가 이해하는 것과 내용이 반대되게 설명하신거 같습니다. 혹시 제가 이해한 내용이 맞을까요?staic 메소드로 선언된 메소드(함수)들은 예) private staic, public staic으로 선언된 경우인스턴스가 생성 없이 호출이 가능하기에 java.use를 사용해야하고static 메소드가 선언되지 않는 일반적인 경우 예) private, public 형태로 선언된 경우 인스턴스가 생성 없이 호출이 불가능 하므로 java.choose를 사용하여 호출을 할 수 있으며 챌린지 03번에 대한 문제는 호출에 대한 문제가 아닌 반환 값만 변경하고 있으며 호출은 MainActivity에서 하고 있으므로 java.use를 활용하여 문제를 풀 수 있음만약 문제 풀이와 관계없이 챌린지 03번 변수를 직접 호출하고 싶다면 static으로 선언된 메소드가 아니기 때문에 Java.choose를 사용하여 문제를 해결 가능함 이렇게 이해를 하면 되는건가요? 제가 이해한 내용이 맞다면 챌린지 2번에 대한 문제 풀이가 이해되는데 이해한 내용이 틀린다면 챌린지 2번 문제는 java.use로 풀 수 있을꺼 같은데 강의를 들으면서 혼동이 와서 다시 한번 재 질문 드립니다, 감사합니다.
-
미해결프리다(Frida)를 이용한 안드로이드 앱 모의해킹
pin brute force 시 앱 종료
공기계로 실습 진행하고 있습니다.pin 번호 brute force 진행 시 앱이 중지되었다고 뜨면서 앱이 종료됩니다.코드는 강사님과 동일한데, 안되는 이유가 있을까요?
-
미해결[중급편] 코인 가격 모니터링 앱 제작 (Android Kotlin)
오류가 생성되는데 왜 생기는지 궁금해서 질문드립니다
E/RecyclerView: No adapter attached; skipping layoutE/RecyclerView: No adapter attached; skipping layout coinListFragment 에서 생성되는 오류라고 생해서 관련된 부분을 수정해보았으나 계속해서 오류가 생성되서 왜 생기는걸까? 궁금해서 질문드립니다. 오류와 관계없이 화면에 리사이클러뷰는 잘 나오기때문에 넘어가도 상관없겠다 싶지만서도 왜 저런 오류가 생기는지 궁금해서 질문 합니다.처음에는 XML 상에서도 layoutManager 를 지정해줘야 하나 싶어서 했으나 나타났고, 다음으로는 context 관련 문제인가 싶어서 해당하는 부분을 수정하다가 오히려 더 오류가 발생하였습니다...ㅋㅋㅋ기능에는 문제가 없기 때문에 넘어가도 괜찮지만 순수하게 궁금해서 질문합니다. 아니면 혹시, coinListFragment 쪽의 RecyclerView 가 아닌, Intro 에서 좋아하는 코인을 만들때 의 오류메시지 일까요?
-
미해결[왕초보편] 앱 8개를 만들면서 배우는 안드로이드 코틀린(Android Kotlin)
FireBase 익명로그인 실패
강사님 말씀대로 했는데 익명 로그인 부분에서 else(익명로그인 실패)부분이 뜨네요
-
미해결[왕초보편] 앱 8개를 만들면서 배우는 안드로이드 코틀린(Android Kotlin)
에러코드
Run 돌리면 자꾸 에러가 떠서 그냥 아무 코드 입력없이 새 프로젝트를 만들어 돌려도 다음과 같은 에러코드가 뜹니다. 원인이 무엇일까요?? 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. Recommended action: Update this project to use a newer compileSdkVersion of at least 33, for example 33. Note that updating a library or application's compileSdkVersion (which allows newer APIs to be used) can be done separately from updating targetSdkVersion (which opts the app in to new runtime behavior) and minSdkVersion (which determines which devices the app can be installed on). 2. Dependency 'androidx.appcompat:appcompat: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. Recommended action: Update this project to use a newer compileSdkVersion of at least 33, for example 33. Note that updating a library or application's compileSdkVersion (which allows newer APIs to be used) can be done separately from updating targetSdkVersion (which opts the app in to new runtime behavior) and minSdkVersion (which determines which devices the app can be installed on). 3. Dependency 'androidx.activity:activity:1.6.0' 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. Recommended action: Update this project to use a newer compileSdkVersion of at least 33, for example 33. Note that updating a library or application's compileSdkVersion (which allows newer APIs to be used) can be done separately from updating targetSdkVersion (which opts the app in to new runtime behavior) and minSdkVersion (which determines which devices the app can be installed on). 4. Dependency 'androidx.core:core:1.9.0' 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. Recommended action: Update this project to use a newer compileSdkVersion of at least 33, for example 33. Note that updating a library or application's compileSdkVersion (which allows newer APIs to be used) can be done separately from updating targetSdkVersion (which opts the app in to new runtime behavior) and minSdkVersion (which determines which devices the app can be installed on). 5. Dependency 'androidx.core:core-ktx:1.9.0' 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. Recommended action: Update this project to use a newer compileSdkVersion of at least 33, for example 33. Note that updating a library or application's compileSdkVersion (which allows newer APIs to be used) can be done separately from updating targetSdkVersion (which opts the app in to new runtime behavior) and minSdkVersion (which determines which devices the app can be installed on). 6. Dependency 'androidx.annotation:annotation-experimental:1.3.0' 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. Recommended action: Update this project to use a newer compileSdkVersion of at least 33, for example 33. Note that updating a library or application's compileSdkVersion (which allows newer APIs to be used) can be done separately from updating targetSdkVersion (which opts the app in to new runtime behavior) and minSdkVersion (which determines which devices the app can be installed on).
-
미해결냉동코더의 알기 쉬운 Modern Android Development 입문
안녕하세요. 용어에 대해 질문이 있어 글 남깁니다.
안녕하세요. 강의 잘듣고 있습니다.다만, 제가 이 강의부터 시작해서 그런지 용어에 대한 개념이 헷갈립니다. util 디렉토리와 source.kt 파일의 역할은 정확히 무엇인가요?util 디렉토리에 들어가는 파일들의 내용은 무엇이고,DataSource의 역할이 무엇인지 궁금합니다 !감사합니다..
-
미해결안드로이드 모바일 앱 모의해킹과 시큐어코딩
abe-all.jar 파일은 어디서 다운받나요??
abe-all.jar 어디에서 받을 수 있죠?...
-
해결됨[중급편] 코인 가격 모니터링 앱 제작 (Android Kotlin)
Button을 사용하는 경우와 TextView를 사용하는 경우에 대해 차이가 궁금합니다.
안녕하세요 강의 막바지를 향해 달려가고 있던 중 궁금한 점이 있습니다.SelectActivity에서 다음 MainActivity로 넘어가기 위해 onClick 이벤트를 TextView를 통해 처리하는 것을 보았습니다. 그런데 SettingActivity에서는 Button을 생성하는 것을 보고 TextView를 통해 클릭 이벤트를 처리하는 것과 Button을 통해 이벤트를 처리하는 것에 대한 차이가 있는지 궁금합니다.혹은 개발자님만의 상황에 따른 사용 기준이 따로 있나요??유익한 강의 너무 잘 듣고 있습니다. 감사합니다
-
해결됨[중급편] 코인 가격 모니터링 앱 제작 (Android Kotlin)
repository 를 거쳐서 Api 를 가져오는 이유
SelectViewModel 에서 Api를 바로 호출하지 않고repository 거쳐서 가는게 관리하기 편해서라고 하셨는데이해가 잘 가지 않아서요..바로 호출하면 어떤 불편한 점이 있나요?
-
미해결윤재성의 Kotlin 기반 안드로이드 앱 개발 Part2 - 메뉴와 4대 구성요소
24강에서 setIcon과 MessagingStyle질문드립니다.
강사님 24강 자료 그대로 복사해서 가져온 것입니다!button.setOnClickListener { if(Build.VERSION.SDK_INT >= Build.VERSION_CODES.P){ val builder1 = getNotificationBuilder("message", "message style") builder1.setContentTitle("Message Style") builder1.setContentText("Message Style Notification") builder1.setSmallIcon(android.R.drawable.ic_input_delete) val personBuilder1 = Person.Builder() val icon1 = IconCompat.createWithResource(this, android.R.drawable.ic_media_next) personBuilder1.setIcon(icon1) personBuilder1.setName("홍길동") val person1 = personBuilder1.build() val personBuilder2 = Person.Builder() val icon2 = IconCompat.createWithResource(this, R.mipmap.ic_launcher) personBuilder2.setIcon(icon2) personBuilder2.setName("최길동") val person2 = personBuilder2.build() val messageStyle = NotificationCompat.MessagingStyle(person1) messageStyle.addMessage("첫 번째 메시지", System.currentTimeMillis(), person1) messageStyle.addMessage("두 번째 메시지", System.currentTimeMillis(), person2) messageStyle.addMessage("셋 번째 메시지", System.currentTimeMillis(), person1) messageStyle.addMessage("네 번째 메시지", System.currentTimeMillis(), person2) builder1.setStyle(messageStyle) val notification = builder1.build() val manager = getSystemService(Context.NOTIFICATION_SERVICE) as NotificationManager manager.notify(10, notification) } }에서 personBuilder1.setIcon(icon1)personBuilder2.setIcon(icon2)부분에서 icon1,icon2 부분에서 Type mismatch: inferred type is IconCompat! but Icon? was expected 오류가 나오고val messageStyle = NotificationCompat.MessagingStyle(person1)부분에서는 None of the following functions can be called with the arguments supplied가 나옵니다 ㅠㅠ 어떤 부분이 문제인지 알 수 있을까요 ㅠㅠ