코드 색깔 관련 질문
해결됨
Flutter 중급 1편 - 클린 아키텍처
코드가 되게 알록달록하고 보기 편합니다. 근데 제 코드는 알록달록하지 않고 그냥 하얀색에 간간히 파란색 주황색 핑크색만 박혀있네요 어떤 플러그인을 사용하시는 건가요? 그리고 이건 인터넷에 찾아보니까 버전 차이인 듯 싶긴 한데 코드 왼쪽에 사진처럼 어떻게 하나요? 저는 그냥 일자라서 ㅠ
- flutter
- ios
- android
173만명의 커뮤니티!! 함께 토론해봐요.
해결됨
Flutter 중급 1편 - 클린 아키텍처
코드가 되게 알록달록하고 보기 편합니다. 근데 제 코드는 알록달록하지 않고 그냥 하얀색에 간간히 파란색 주황색 핑크색만 박혀있네요 어떤 플러그인을 사용하시는 건가요? 그리고 이건 인터넷에 찾아보니까 버전 차이인 듯 싶긴 한데 코드 왼쪽에 사진처럼 어떻게 하나요? 저는 그냥 일자라서 ㅠ
해결됨
Flutter로 SNS 앱 만들기
안녕하세요 선생님 N번째 다시 복습하고 있는 수강생입니다. 저의경우, CircleAvator의 backgroundImage 속성에 ExtendedNetworkImageProvider 위젯을 사용하여 프로필 이미지를 받아와서 로딩하는데 시간이 대략 1.5초 쯤 소요되며, 그 1.5초의 시간 동안 기본 배경 색상인 보라색 원이 대신하여 나타납니다. 똑같이 ExtendedNetworkImageProvider 위젯을 사용하는 게시물의 이미지들은 프로필 사진보다 용량이 훨씬 큰데도 불구하고 거의 바로 이미지가 로딩되는데, 프로필 이미지의 로딩 속도가 더 느린 이유는 무엇일까요? 배경색상이 보이다가 네트워크 이미지가 로딩되는 방향 말고, 프로필 이미지의 로딩이 완전히 끝나기 전까지 fetching상태를 유지하여 로딩바를 보여주거나, 프로필이미지를 받아오는 속도를 높일 방법이 없을까요? 또는 이미지가 로딩되는 동안 배경색을 표시하는게 아니라, 로딩중을 표현할 수 있는 방법이 있을까요? 답변 기다리겠습니다. 감사합니다!
미해결
Flutter 중급 2편 - 실전 앱 개발 - 미국 주식 앱 (with 클린 아키텍처)
mapper를 만들려는 entity와 model의 맴버변수가 또다른 클래스로 되어있는 경우 class RobotEntity { Weapon weapon; string number; } class Weapon { String name; double power; Weapon( this.name , this.power) } class RobotModel { Weapon weapon; string number; } entity와 model의 맴버변수가 클래스로 되어있고 또 그 맴버 변수의 맴버 변수가 클래스로 되어있는 경우... 매퍼를 만들려니 너무 손이 많이 가서요. 다른 방법이 있을까요? extension ToRobotModel on RobotEntity { RobotModel toRobotModel() { return RobotModel( weapon: Weapon(name, power) number: number, ); } } extension ToARobotEntity on AppInfoModel { RobotEntity toRobotEntity() { return RobotEntity( weapon: Weapon(name,power) number: number, ); } }
미해결
[왕초보편] 앱 8개를 만들면서 배우는 안드로이드 코틀린(Android Kotlin)
이 오류때문에 시작도 못하고있습니다ㅠ 해결법좀 알려주세요 ㅠ
미해결
Flutter로 SNS 앱 만들기
7게시글목록화면_2게시글정보화면에 표시 저는 이미자가 이렇게 나오고 있어요, galaxy s20 api 34는 화면이 안나와서 pixel 2 api 32로 하고 있는데 다른것도 이렇게 나오네요. 문제는 되지 않겠죠.
미해결
모던 안드로이드 - Jetpack Compose 입문
네비게이션 수업도중 궁금한 점이 있어서 질문드립니다. ThirdScreen으로 Bitmap데이터를 인자로 넘기고 싶습니다. 어떻게 해야 할지 모르겠습니다. 예를들어, 카메라 캡쳐해서 다음 스크린으로 캡쳐한 사진을 보내서 이미지를 보여주고 싶을 때, 어떻게 해야 하나요?
해결됨
Flutter로 SNS 앱 만들기
7게시글목록화면_게시글정보가져오기 에서 15:13 쯤에 Instance of feedmodel이라고 출력이 되어야 하는데 안보이고 있어요. 출력이 안돼고 있는데 한번 봐주세요. 데이타도 출력이 안돼고 있습니다. 멜 보냅니다.
미해결
Flutter 중급 1편 - 클린 아키텍처
강의에서 저 두개 파일을 삭제하는데 저 두개파일을 삭제하면 photo.datr 에서 14줄_Photo랑 16줄_$PhotoFromJson에서 에러가 나고photo_widget.dart에서 19줄previewURL에서에러가 나고pixabay_api_test_dart에서 21번째 id에서 에러가 납니다dart run build_runner build를 하면 에러가 사라지긴 하는데Photo.fleezed.dart photo.g.dar 이 두파일이 다시 생성되는데 괜찮은건가요?
미해결
파이어베이스(Firebase)를 이용한 웹+안드로이드 메모 어플리케이션 만들기
뭘 눌러야 하나요?
미해결
[왕초보편] 앱 8개를 만들면서 배우는 안드로이드 코틀린(Android Kotlin)
inner class ViewHolder(itemView: View) : RecyclerView.ViewHolder(itemView) { fun bindItem(item : ContentModel) { val rv_img = itemView.findViewById<ImageView>(R.id.rvImageArea) val rv_text = itemView.findViewById<TextView>(R.id.rvTextArea) rv_text.text = item.titleText Glide.with(context).load(item.titleImageUrl).into(rv_img) } override fun getView(position: Int, convertView: View?, parent: ViewGroup?): View? { var convertView = convertView if (convertView == null) { convertView = LayoutInflater.from(parent?.context).inflate(R.layout.listview_item, parent, false) } val date = convertView?.findViewById<TextView>(R.id.ListViewDateArea) val memo = convertView?.findViewById<TextView>(R.id.ListViewMemoArea) date!!.text = List[position].date memo!!.text = List[position].memo return convertView } 안녕하세요 개발자님. 개발자님 좋은 강의 덕분에 많이 배우고, 강의 완강했습니다. 감사합니다. 공부 하면서 매번 궁금한 점이 있어서 질문 남깁니다. 첫번째 코드는 리사이클러뷰 어뎁터 코드이고, 두번째 코드는 리스트뷰 어뎁터 코드입니다. 리사이클러뷰 어뎁터에서는 itemView, 리스트뷰에서는 convertView를 사용하셨는데, 단순히 리사이클러뷰-itmeView 사용, 리스트뷰-converView 사용이라고 생각하면 될까요? 혹시 차이가 있다면 itmeView와 converView의 차이점도 알고싶습니다. 감사합니다.
미해결
[왕초보편] 앱 8개를 만들면서 배우는 안드로이드 코틀린(Android Kotlin)
하나는 "NullPointerException: Cannot invoke "String.length()" because "<parameter1>" is null" 이런 에러인거 같은데....대체 어디서 잘못된걸까요. 에러가 여러개 인건가요? FAILURE: Build completed with 2 failures. 1: Task failed with an exception. ----------- * What went wrong: Execution failed for task ':app:checkDebugAarMetadata'. > A failure occurred while executing com.android.build.gradle.internal.tasks.CheckAarMetadataWorkAction > 5 issues were found when checking AAR metadata: * Try: > Run with --info or --debug option to get more log output. > Run with --scan to get full insights. * Exception is: org.gradle.api.tasks.TaskExecutionException: Execution failed for task ':app:checkDebugAarMetadata'. Caused by: org.gradle.workers.internal.DefaultWorkerExecutor$WorkExecutionException: A failure occurred while executing com.android.build.gradle.internal.tasks.CheckAarMetadataWorkAction Caused by: java.lang.RuntimeException: 5 issues were found when checking AAR metadata: 1. Dependency 'androidx.appcompat:appcompat-resources:1.7.0' 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.0 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.appcompat:appcompat:1.7.0' 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.0 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.core:core-ktx:1.13.0' 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.0 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.core:core:1.13.0' 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.0 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.annotation:annotation-experimental:1.4.0' 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.0 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: Task failed with an exception. ----------- * What went wrong: Execution failed for task ':app:mergeExtDexDebug'. > Could not resolve all files for configuration ':app:debugRuntimeClasspath'. > Failed to transform appcompat-resources-1.7.0.aar (androidx.appcompat:appcompat-resources:1.7.0) to match attributes {artifactType=android-dex, asm-transformed-variant=NONE, dexing-enable-desugaring=true, dexing-enable-jacoco-instrumentation=false, dexing-is-debuggable=true, dexing-min-sdk=24, org.gradle.category=library, org.gradle.dependency.bundling=external, org.gradle.libraryelements=aar, org.gradle.status=release, org.gradle.usage=java-runtime}. > Execution failed for DexingNoClasspathTransform: C:\Users\abc14\.gradle\caches\transforms-3\c494794d48d9429ce3837ff3d9162578\transformed\appcompat-resources-1.7.0-runtime.jar. > Error while dexing. > Failed to transform appcompat-1.7.0.aar (androidx.appcompat:appcompat:1.7.0) to match attributes {artifactType=android-dex, asm-transformed-variant=NONE, dexing-enable-desugaring=true, dexing-enable-jacoco-instrumentation=false, dexing-is-debuggable=true, dexing-min-sdk=24, org.gradle.category=library, org.gradle.dependency.bundling=external, org.gradle.libraryelements=aar, org.gradle.status=release, org.gradle.usage=java-runtime}. > Execution failed for DexingNoClasspathTransform: C:\Users\abc14\.gradle\caches\transforms-3\d251d80cfc588f74172158875c7b2196\transformed\appcompat-1.7.0-runtime.jar. > Error while dexing. * Try: > Run with --info or --debug option to get more log output. > Run with --scan to get full insights. * Exception is: org.gradle.api.tasks.TaskExecutionException: Execution failed for task ':app:mergeExtDexDebug'. Caused by: java.lang.NullPointerException: Cannot invoke "String.length()" because "<parameter1>" is null Caused by: java.util.concurrent.ExecutionException: com.android.tools.r8.utils.P0: java.lang.NullPointerException: Cannot invoke "String.length()" because "<parameter1>" is null Caused by: [CIRCULAR REFERENCE: java.lang.NullPointerException: Cannot invoke "String.length()" because "<parameter1>" is null] Cause 2: org.gradle.api.internal.artifacts.transform.TransformException: Failed to transform appcompat-1.7.0.aar (androidx.appcompat:appcompat:1.7.0) to match attributes {artifactType=android-dex, asm-transformed-variant=NONE, dexing-enable-desugaring=true, dexing-enable-jacoco-instrumentation=false, dexing-is-debuggable=true, dexing-min-sdk=24, org.gradle.category=library, org.gradle.dependency.bundling=external, org.gradle.libraryelements=aar, org.gradle.status=release, org.gradle.usage=java-runtime}. Caused by: org.gradle.api.internal.artifacts.transform.TransformException: Execution failed for DexingNoClasspathTransform: C:\Users\abc14\.gradle\caches\transforms-3\d251d80cfc588f74172158875c7b2196\transformed\appcompat-1.7.0-runtime.jar. Caused by: com.android.builder.dexing.DexArchiveBuilderException: Error while dexing. at com.android.builder.dexing.D8DexArchiveBuilder.getExceptionToRethrow(D8DexArchiveBuilder.java:189) Caused by: com.android.tools.r8.CompilationFailedException: Compilation failed to complete, origin: C:\Users\abc14\.gradle\caches\transforms-3\d251d80cfc588f74172158875c7b2196\transformed\appcompat-1.7.0-runtime.jar:androidx/appcompat/app/ActionBarDrawerToggle$1.class Caused by: java.lang.NullPointerException: Cannot invoke "String.length()" because "<parameter1>" is null Suppressed: java.lang.RuntimeException: java.util.concurrent.ExecutionException: com.android.tools.r8.utils.P0: java.lang.NullPointerException: Cannot invoke "String.length()" because "<parameter1>" is null Caused by: java.util.concurrent.ExecutionException: com.android.tools.r8.utils.P0: java.lang.NullPointerException: Cannot invoke "String.length()" because "<parameter1>" is null Caused by: com.android.tools.r8.utils.P0: java.lang.NullPointerException: Cannot invoke "String.length()" because "<parameter1>" is null Caused by: [CIRCULAR REFERENCE: java.lang.NullPointerException: Cannot invoke "String.length()" because "<parameter1>" is null]
해결됨
Flutter로 메신저앱 만들기
vscode로 프로젝트를 진행해보고 싶은데, vscode에서는 어떻게 해야 가상기기를 통해 코드를 실행할 수 있을까요?
미해결
Flutter 중급 2편 - 실전 앱 개발 - 미국 주식 앱 (with 클린 아키텍처)
freezed가 여러 군데 사용되었는데 모두 제거해도 되나요?
해결됨
Flutter로 SNS 앱 만들기
6게시글등록화면_9등록완료메시지 표시 등록완료후 화면이동에서 에러가 발생했습니다. //스냅바표시 (등록작업이 완료 되었다는 메세지를 표시) ScaffoldMessenger.of(context).showSnackBar( SnackBar(content: Text('Feed를 등록했습니다')), ); 어떤이유인지 설명부탁드려요., feed을 등록했습니다. 표시가 되지 않습니다. 멜도 보냈습니다.
해결됨
[왕초보편] 앱 8개를 만들면서 배우는 안드로이드 코틀린(Android Kotlin)
rvAdapter.itemClick = object : RVAdapter.ItemClick{ override fun onClick(view: View, position: Int) { val intent = Intent(baseContext, ViewActivity::class.java) intent.putExtra("url", items[position].url) intent.putExtra("title", items[position].titleText) intent.putExtra("titleImageUrl", items[position].titleImageUrl) startActivity(intent) } } 안녕하세요 개복치개발자님. 항상 강사님의 좋은 강의 감사한 마음으로 잘 듣고 있습니다. 섹션 7 망고플레이트 앱 만들기를 공부하다가 궁금한 부분이 있어서 질문 남깁니다. val intent = Intent(baseContext, ViewActivity::class.java) 이 부분에서 baseContext가 의미가하는게 무엇인지, 그리고 여기서 this를 사용하면 안되고 baseContext를 사용해야 하는 까닭이 궁금합니다. 답변 주시면 감사하겠습니다.
해결됨
머신러닝 모델을 활용한 Android, iOS 앱 개발
강좌 운영이나 강의 내용에 관해 궁금한 점이 있으면 자유롭게 나누어주세요. 교수자, 수강생 누구나 글쓰기와 댓글 쓰기가 가능합니다.
해결됨
Flutter로 SNS 앱 만들기
(사진)
해결됨
Flutter로 SNS 앱 만들기
섹션6에서 사용자정보 게시글정보를 Model클래스로 관리에서 생성자 만드는 이유가 뭔지요 오래되어서 그런지 기억이 가물가물합니다. class UserModel { final String uid; final String name; final String email; final String? profileImage; final int feedCount; final List<String> followers; final List<String> following; final List<String> likes; const UserModel({ required this.uid, required this.name, required this.email, required this.profileImage, required this.feedCount, required this.followers, required this.following, required this.likes, });
해결됨
Flutter로 SNS 앱 만들기
에러 발생했습니다... 17:38 한번 봐주세요. 멜 보내겠습니다.
해결됨
[왕초보편] 앱 8개를 만들면서 배우는 안드로이드 코틀린(Android Kotlin)
섹션5, 네비게이션을 만들어보는 강의에서 네비게이션 버튼을 만들고 프래그먼트로 연결시키는 작업까지 완료하고 실행시켜보았을 때 버튼을 눌렀지만, 2번째 프래그먼트로 넘어가지 않습니다. 로그를 추가해서 살펴보았는데, 버튼이 아예 클릭되지 않는 것 같습니다. 코드는 드라이브 링크를 남기겠습니다. 감사합니다 https://drive.google.com/drive/folders/1ri7_CYyzzRrhdMA7vII7TSMJsR9AIcJE?usp=drive_link