inflearn logo
강의

강의

N
챌린지

챌린지

멘토링

멘토링

N
클립

클립

로드맵

로드맵

지식공유

묻고 답해요

176만명의 커뮤니티!! 함께 토론해봐요.

리사이클러뷰 오류 해결 방법이 궁금합니다.

미해결

[초급편] 안드로이드 커뮤니티 앱 만들기(Android Kotlin)

개발자님 안녕하세요. 안드로이드 커뮤니티 앱 만들기 섹션 4 팁 페이지 만들기 중 컨텐츠 리스트 만들기를 공부하고 있습니다. 공부하던 중 리사이클러뷰에 오류가 있어서 질문 남깁니다. 오류는 화면에 그리드의 개수만큼만 아이템이 뜹니다. 아이템을 4개를 넣어 놓았을 때, 그리드의 개수가 2개면 아이템 2개만, 그리드 개수가 3개면 아이템 3개만, 4개면 4개만 화면에 뜹니다. 그리드 개수가 5개면 4개만 뜹니다. 관련 코드 아래에 작성해 놓겠습니다. 검토해주시면 정말 감사하겠습니다. 혹시 전체 코드가 필요할 시 바로 구글드라이브로 전달해드리겠습니다!! 매번 감사드립니다. -ContentsListActivity package com.example.mysolelife.contentsList import android.os.Bundle import androidx.activity.enableEdgeToEdge import androidx.appcompat.app.AppCompatActivity import androidx.core.view.ViewCompat import androidx.core.view.WindowInsetsCompat import androidx.recyclerview.widget.GridLayoutManager import androidx.recyclerview.widget.LinearLayoutManager import androidx.recyclerview.widget.RecyclerView import com.example.mysolelife.R class ContentsListActivity : AppCompatActivity() { override fun onCreate(savedInstanceState: Bundle?) { super.onCreate(savedInstanceState) setContentView(R.layout.activity_contents_list) val rv : RecyclerView = findViewById(R.id.rv) val items = ArrayList<ContentsModel>() items.add(ContentsModel("imageUrl1", "title1")) items.add(ContentsModel("imageUrl2", "title2")) items.add(ContentsModel("imageUrl3", "title3")) items.add(ContentsModel("imageUrl4", "title4")) val rvAdapter = ContentsRVAdapter(items) rv.adapter = rvAdapter rv.layoutManager = GridLayoutManager(this, 2) } } -ContentsModel data class ContentsModel ( var title: String = "", val imageUrl : String = "" ) -ContentsRVAdapter class ContentsRVAdapter(val items : ArrayList<ContentsModel>) : RecyclerView.Adapter<ContentsRVAdapter.Viewholder>() { override fun onCreateViewHolder(parent: ViewGroup, viewType: Int): ContentsRVAdapter.Viewholder { val v = LayoutInflater.from(parent.context).inflate(R.layout.contents_rv_items, parent, false) return Viewholder(v) } override fun onBindViewHolder(holder: ContentsRVAdapter.Viewholder, position: Int) { holder.bindItems(items[position]) } override fun getItemCount(): Int { return items.size } inner class Viewholder(itemView : View) : RecyclerView.ViewHolder(itemView) { fun bindItems(item : ContentsModel){ val contentTitle = itemView.findViewById<TextView>(R.id.textarea) contentTitle.text = item.title } } } -activity_contents_list.xml <?xml version="1.0" encoding="utf-8"?> <androidx.constraintlayout.widget.ConstraintLayout xmlns:android="http://schemas.android.com/apk/res/android" xmlns:app="http://schemas.android.com/apk/res-auto" xmlns:tools="http://schemas.android.com/tools" android:id="@+id/main" android:layout_width="match_parent" android:layout_height="match_parent" tools:context=".contentsList.ContentsListActivity"> <TextView android:layout_width="wrap_content" android:layout_height="wrap_content" android:text="카테고리 영역 텍스트" android:textSize="20sp" android:textStyle="bold" android:layout_marginTop="20dp" android:textColor="@color/black" app:layout_constraintEnd_toEndOf="parent" app:layout_constraintStart_toStartOf="parent" app:layout_constraintTop_toTopOf="parent" /> <androidx.recyclerview.widget.RecyclerView android:id="@+id/rv" android:layout_width="match_parent" android:layout_height="match_parent" android:layout_marginTop="80dp"/> </androidx.constraintlayout.widget.ConstraintLayout> -contents_rv_items <?xml version="1.0" encoding="utf-8"?> <androidx.constraintlayout.widget.ConstraintLayout xmlns:android="http://schemas.android.com/apk/res/android" xmlns:app="http://schemas.android.com/apk/res-auto" xmlns:tools="http://schemas.android.com/tools" android:id="@+id/main" android:layout_width="match_parent" android:layout_height="match_parent" tools:context=".contentsList.ContentsListActivity"> <TextView android:layout_width="wrap_content" android:layout_height="wrap_content" android:text="카테고리 영역 텍스트" android:textSize="20sp" android:textStyle="bold" android:layout_marginTop="20dp" android:textColor="@color/black" app:layout_constraintEnd_toEndOf="parent" app:layout_constraintStart_toStartOf="parent" app:layout_constraintTop_toTopOf="parent" /> <androidx.recyclerview.widget.RecyclerView android:id="@+id/rv" android:layout_width="match_parent" android:layout_height="match_parent" android:layout_marginTop="80dp"/> </androidx.constraintlayout.widget.ConstraintLayout>

  • android
  • kotlin
  • firebase
qwerty111222 댓글 1 좋아요 0 조회수 247

섹터8에서 에러인데 무슨말인가요.

해결됨

Flutter로 SNS 앱 만들기

섹터8 접속중인 사용자의 정보 가져오기 에서 이 에러는 무슨뜻인가요..

  • flutter
  • android
  • firebase
  • dart
vadain2000 댓글 3 좋아요 0 조회수 270

firebase 스마트폰으로 연결이 안되는데 원인이 있을까요

미해결

[초급편] 안드로이드 커뮤니티 앱 만들기(Android Kotlin)

https://github.com/nadazelda/androidKotlinStudy.git 노트북에서 가상머신 띄우기엔 너무 느려서;; 제 개인 핸드폰으로 실행하는데 firebase 연결이 안되고 있어요 git에 소스 올려뒀습니다 _ori가 강의자료고 mysololife 가 지금 제가 작성하는거에요

  • android
  • kotlin
  • firebase
ssh7423 댓글 2 좋아요 0 조회수 325

event와 ui_event

미해결

Flutter 중급 1편 - 클린 아키텍처

안녕하세요. event와 ui_event를 구분하셔서 다르게 구현하셨는데, 제가 이해한 것이 맞는지와 문제가 된 부분에 대한 의견이 궁금해서 문의 남깁니다. event와 ui_event를 구분하신게 state의 변경 유뮤가 맞을까요? state가 변경되어 화면의 재빌드가 필요한 경우 event state의 변경없이 화면의 재빌드가 필요한경우 ui_event 하나의 뷰(StatelessWidget)에서 event와 ui_event를 나눠서 처리하는 경우 event -> notification -> 화면 재빌드 중에 ui_event의 스트림 리스너가 재등록되는 이슈가 있는데요. 이런 경우 어떤식으로 처리를 하시나요? 아니면 제가 이해를 잘못한 부분이 있을까요?

  • flutter
  • ios
  • android
지루한 성게 댓글 1 좋아요 0 조회수 248

전자액자에서 영상과 깃허브의 내용이 달라서 영상을 다보고 깃허브 내용으로 돌려봤는데 권한요청부터가 안됩니다.

해결됨

모던 안드로이드 - Jetpack Compose 입문

에뮬레이터에서는 정상 작동을 하는데 제 핸드폰으로 돌리면 권한요청에서부터 안됩니다. SDK는 아래와 같이 되어있고 제 핸드폰은 버전 14인데 이게 문제일까요? namespace = "com.example.photoframe" compileSdk = 34 defaultConfig { applicationId = "com.example.photoframe" minSdk = 28 targetSdk = 34 versionCode = 1 versionName = "1.0" testInstrumentationRunner = "androidx.test.runner.AndroidJUnitRunner" vectorDrawables { useSupportLibrary = true } }

  • android
  • kotlin
  • jetpack
김영진 댓글 2 좋아요 0 조회수 247

팅김

미해결

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

선생님 혹시 제가 사진 띄우기하다가 다만들고 6번사진을 누르면 에물레이터가 팅기는 현상이있는데 왜그런지 알수있을까요? 혹시 제 파일을 보실수 있는 방법이있을까요?

  • android
  • kotlin
  • firebase
tmdrlk365w 댓글 12 좋아요 0 조회수 402

에뮬레이터 실행 안됨 오류

미해결

Flutter 초입문 왕초보편

Launching lib\main.dart on sdk gphone64 x86 64 in debug mode...Running Gradle task 'assembleDebug'...FAILURE: Build failed with an exception.* What went wrong:A problem was found with the configuration of task ':app:processDebugResources' (type 'LinkApplicationAndroidResourcesTask'). - In plugin 'com.android.internal.version-check' type 'com.android.build.gradle.internal.res.LinkApplicationAndroidResourcesTask' property 'androidJarInput.androidJar' specifies file 'C:\Users\82104\AppData\Local\Android\Sdk\platforms\android-34\android.jar' which doesn't exist. Reason: An input file was expected to be present but it doesn't exist. Possible solutions: 1. Make sure the file exists before the task is called. 2. Make sure that the task which produces the file is declared as an input. Please refer to https://docs.gradle.org/7.6.3/userguide/validation_problems.html#input_file_does_not_exist for more details about this problem.* Try:> Run with --stacktrace option to get the stack trace.> Run with --info or --debug option to get more log output.> Run with --scan to get full insights.* Get more help at https://help.gradle.orgBUILD FAILED in 1m 38sError: Gradle task assembleDebug failed with exit code 1이런 오류가 떠요 에뮬레이터 실행하면 버튼 누르는 앱이 실행되어야 한다고 하는데 이렇게 뜨고 안돼요 어떻게 해야 하나요

  • flutter
  • ios
  • android
  • dart
oea 댓글 1 좋아요 0 조회수 664

코드 색깔 관련 질문

해결됨

Flutter 중급 1편 - 클린 아키텍처

코드가 되게 알록달록하고 보기 편합니다. 근데 제 코드는 알록달록하지 않고 그냥 하얀색에 간간히 파란색 주황색 핑크색만 박혀있네요 어떤 플러그인을 사용하시는 건가요? 그리고 이건 인터넷에 찾아보니까 버전 차이인 듯 싶긴 한데 코드 왼쪽에 사진처럼 어떻게 하나요? 저는 그냥 일자라서 ㅠ

  • flutter
  • ios
  • android
chchchchch123c 댓글 1 좋아요 0 조회수 260

CircleAvatar 성능 향상

해결됨

Flutter로 SNS 앱 만들기

안녕하세요 선생님 N번째 다시 복습하고 있는 수강생입니다. 저의경우, CircleAvator의 backgroundImage 속성에 ExtendedNetworkImageProvider 위젯을 사용하여 프로필 이미지를 받아와서 로딩하는데 시간이 대략 1.5초 쯤 소요되며, 그 1.5초의 시간 동안 기본 배경 색상인 보라색 원이 대신하여 나타납니다. 똑같이 ExtendedNetworkImageProvider 위젯을 사용하는 게시물의 이미지들은 프로필 사진보다 용량이 훨씬 큰데도 불구하고 거의 바로 이미지가 로딩되는데, 프로필 이미지의 로딩 속도가 더 느린 이유는 무엇일까요? 배경색상이 보이다가 네트워크 이미지가 로딩되는 방향 말고, 프로필 이미지의 로딩이 완전히 끝나기 전까지 fetching상태를 유지하여 로딩바를 보여주거나, 프로필이미지를 받아오는 속도를 높일 방법이 없을까요? 또는 이미지가 로딩되는 동안 배경색을 표시하는게 아니라, 로딩중을 표현할 수 있는 방법이 있을까요? 답변 기다리겠습니다. 감사합니다!

  • flutter
  • android
  • firebase
  • dart
kimmeanseo01 댓글 2 좋아요 0 조회수 279

mapper 생성 시...

미해결

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, ); } }

  • flutter
  • ios
  • android
지루한 성게 댓글 1 좋아요 0 조회수 213

오류

미해결

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

이 오류때문에 시작도 못하고있습니다ㅠ 해결법좀 알려주세요 ㅠ

  • android
  • kotlin
  • firebase
tmdrlk365w 댓글 2 좋아요 0 조회수 189

7게시글목록화면_2게시글정보화면에 표시

미해결

Flutter로 SNS 앱 만들기

7게시글목록화면_2게시글정보화면에 표시 저는 이미자가 이렇게 나오고 있어요, galaxy s20 api 34는 화면이 안나와서 pixel 2 api 32로 하고 있는데 다른것도 이렇게 나오네요. 문제는 되지 않겠죠.

  • flutter
  • android
  • firebase
  • dart
vadain2000 댓글 7 좋아요 0 조회수 289

Navigation수업에서 string대신 bitmap을 인자로 넘겨주는 방법?

미해결

모던 안드로이드 - Jetpack Compose 입문

네비게이션 수업도중 궁금한 점이 있어서 질문드립니다. ThirdScreen으로 Bitmap데이터를 인자로 넘기고 싶습니다. 어떻게 해야 할지 모르겠습니다. 예를들어, 카메라 캡쳐해서 다음 스크린으로 캡쳐한 사진을 보내서 이미지를 보여주고 싶을 때, 어떻게 해야 하나요?

  • android
  • kotlin
  • jetpack
김창완 댓글 1 좋아요 0 조회수 218

7게시글목록화면_게시글정보가져오기

해결됨

Flutter로 SNS 앱 만들기

7게시글목록화면_게시글정보가져오기 에서 15:13 쯤에 Instance of feedmodel이라고 출력이 되어야 하는데 안보이고 있어요. 출력이 안돼고 있는데 한번 봐주세요. 데이타도 출력이 안돼고 있습니다. 멜 보냅니다.

  • flutter
  • android
  • firebase
  • dart
댓글 2 좋아요 0 조회수 203

Photo.fleezed.dart,photo.g.dart삭제시 에러

미해결

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 이 두파일이 다시 생성되는데 괜찮은건가요?

  • flutter
  • ios
  • android
qwer1234 댓글 2 좋아요 0 조회수 251

섹션 1의 6:20초 초기화

미해결

파이어베이스(Firebase)를 이용한 웹+안드로이드 메모 어플리케이션 만들기

뭘 눌러야 하나요?

  • android
  • firebase
공다인 댓글 1 좋아요 0 조회수 186

itmeView, converView 가 궁금합니다.

미해결

[왕초보편] 앱 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의 차이점도 알고싶습니다. 감사합니다.

  • android
  • kotlin
  • firebase
qwerty111222 댓글 1 좋아요 0 조회수 157

D-Day 앱 만들기에서 에러가 나옵니다ㅠㅠ

미해결

[왕초보편] 앱 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]

  • android
  • kotlin
  • firebase
cloverj0 댓글 1 좋아요 0 조회수 873

vscode로 코딩하기.

해결됨

Flutter로 메신저앱 만들기

vscode로 프로젝트를 진행해보고 싶은데, vscode에서는 어떻게 해야 가상기기를 통해 코드를 실행할 수 있을까요?

  • flutter
  • android
  • firebase
  • dart
  • riverpod
id8436 댓글 1 좋아요 0 조회수 268

인기 태그

인프런 TOP Writers

주간 인기글