24,200원
다른 수강생들이 자주 물어보는 질문이 궁금하신가요?
- 미해결[왕초보편] 앱 8개를 만들면서 배우는 안드로이드 코틀린(Android Kotlin)
임포트 버튼이 안뜹니다.
주사위 앱 마지막 강의 02:56부분을 보고 있습니다.그런데 ActivityMainBinding 과 DataBindingUtil 에서 빨간 글씨를 없애는 임포트 버튼이 생기지 않습니다. (옵션+앤터키를 눌러두 안되어요) 왜 이런 걸까요?
- 해결됨[왕초보편] 앱 8개를 만들면서 배우는 안드로이드 코틀린(Android Kotlin)
자동완성이 안됩니다. (Linear layout)
linear layout 을 치면 </LinearLayout> 닫는 것과, android:layout_width, android:layout_height= 이 창이 안 뜹니다. 선생님은 자동으로 뜨는데 저는 왜 안 될까요?
- 미해결[왕초보편] 앱 8개를 만들면서 배우는 안드로이드 코틀린(Android Kotlin)
[해결법공유] W/System: Ignoring header X-Firebase-Locale because its value was null.
강의랑 똑같이 만들었는데 계속 위 문구로 계속 fail로 뜰 때 해결법 공유합니다. 단말기를 연결해서 쓰는 경우에 단말기가 인터넷에 연결되어있지 않으면 발생하는 에러라고하네요. 핸드폰 와이파이 켜니까 바로 해결됐습니다. https://jtuto.com/w-system-ignoring-header-x-firebase-locale-because-its-value-was-null-android-firebase/
- 미해결[왕초보편] 앱 8개를 만들면서 배우는 안드로이드 코틀린(Android Kotlin)
adapter에서 implement할 때 문제..
안녕하세요. 강의 잘 보고 있습니다. 아직 답변 달아주시는지 모르겠지만 아무리 구글링해도 모르겠어서 혹시몰라 질문 남깁니다. 이전까지는 implement members하면 세 개 함수가 잘 불러와졌는데 갑자기 class rvAdapters()에서 implement하면 onCreateViewHolder이랑 onBindViewHolder이 실행되지 않습니다. error type: Unresolved type for rvAdapters.ViewHolder라는 문구가 보이는데 무슨 뜻일지..ㅠ 여기서 막혀서 진행이 안되네요..
- 미해결[왕초보편] 앱 8개를 만들면서 배우는 안드로이드 코틀린(Android Kotlin)
트와이스 에뮬레이터에서 앱 실행 안됨
앱을 실행할려고 해도 에뮬레이터에서 앱 실행이 안됩니다. BTS앱을 만들 때는 괜찮았는데 트와이스 앱에서부터 이렇게 됐습니다. 시간이 걸린다고 생각해 계속 기다려봤지만 실행되지 않고 에뮬레이터에 별도의 클릭도 가능한 상태가 아닙니다.
- 미해결[왕초보편] 앱 8개를 만들면서 배우는 안드로이드 코틀린(Android Kotlin)
트와이스 앱 만들기 '==' 에러
복치님 안녕하세요if(getData == "2") 이 부분이 에러가 뜨는데 문자열로 바꾸라는것 같은데 "2" 이게 문자열 아닌가용도저히 뭐를 어떻게 바꿔야 하는지를 모르겠어요 ㅜㅜ package com.example.twiceapplication import android.os.Bundle import android.widget.ImageView import androidx.appcompat.app.AppCompatActivity class ImageInsideActivity : AppCompatActivity() { override fun onCreate(savedInstanceState: Bundle?) { super.onCreate(savedInstanceState) setContentView(R.layout.activity_imageinside) val getData = intent.getStringArrayExtra("data") val memberImage = findViewById<ImageView>(R.id.memberImageArea) // Toast.makeText(this, getData, Toast.LENGTH_LONG).show() if(getData == "1"){ memberImage.setImageResource(R.drawable.member_1) } if(getData == "2") { memberImage.setImageResource(R.drawable.member_2) } if(getData == "3") { memberImage.setImageResource(R.drawable.member_3) } if(getData == "4") { memberImage.setImageResource(R.drawable.member_4) } if(getData == "5") { memberImage.setImageResource(R.drawable.member_5) } if(getData == "6") { memberImage.setImageResource(R.drawable.member_6) } if(getData == "7") { memberImage.setImageResource(R.drawable.member_7) } if(getData == "8") { memberImage.setImageResource(R.drawable.member_8) } if(getData == "9") { memberImage.setImageResource(R.drawable.member_9) } } }
- 미해결[왕초보편] 앱 8개를 만들면서 배우는 안드로이드 코틀린(Android Kotlin)
코틀린 관련 서적 질문드려요
초보자용 입문서로 좋은 책 있을까요?
- 미해결[왕초보편] 앱 8개를 만들면서 배우는 안드로이드 코틀린(Android Kotlin)
트와이스 앱 만들기 -테두리 둥글게 오류
안녕하세요 복치님 구글링해서 오류를 해결하려고 하니 해결은 더 안되고 오류가 더 많아져서 멘붕이 와 질문드립니다 ㅜㅜimageview 에서 <imageview /> 이거를 -> <imageview> </imageview> 이렇게 수정해보았었고구름 모양 소스를 봐도 어디가 다른지를 잘 모르겠습니다 <?xml version="1.0" encoding="utf-8"?> <LinearLayout 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:layout_width="match_parent" android:layout_height="match_parent" tools:context=".MainActivity" android:orientation="vertical"> <LinearLayout android:layout_width="match_parent" android:layout_height="200dp"> <androidx.cardview.widget.CardView android:layout_width="wrap_content" android:layout_height="wrap_content" android:layout_margin="10dp" app:cardCornerRadius="50dp"> <ImageView android:layout_width="120dp" android:layout_height="match_parent" android:scaleType="fitXY" android:src="@drawable/member_1"> </ImageView> </androidx.cardview.widget.CardView> <androidx.cardview.widget.CardView android:layout_width="wrap_content" android:layout_height="wrap_content" android:layout_margin="10dp" app:cardCornerRadius="50dp"> <ImageView android:scaleType="fitXY" android:src="@drawable/member_2" android:layout_width="120dp" android:layout_height="150dp"></ImageView> </androidx.cardview.widget.CardView> <androidx.cardview.widget.CardView android:layout_width="wrap_content" android:layout_height="wrap_content" android:layout_margin="10dp" app:cardCornerRadius="50dp"> <ImageView android:scaleType="fitXY" android:src="@drawable/member_3" android:layout_width="120dp" android:layout_height="150dp"></ImageView> </androidx.cardview.widget.CardView> </LinearLayout> <LinearLayout android:layout_width="match_parent" android:layout_height="200dp"> <androidx.cardview.widget.CardView android:layout_width="wrap_content" android:layout_height="wrap_content" android:layout_margin="10dp" app:cardCornerRadius="50dp"> <ImageView android:scaleType="center" android:src="@drawable/member_4" android:layout_width="120dp" android:layout_height="150dp"></ImageView> </androidx.cardview.widget.CardView> <androidx.cardview.widget.CardView android:layout_width="wrap_content" android:layout_height="wrap_content" android:layout_margin="10dp" app:cardCornerRadius="50dp"> <ImageView android:scaleType="center" android:src="@drawable/member_5" android:layout_width="120dp" android:layout_height="150dp"></ImageView> </androidx.cardview.widget.CardView> <androidx.cardview.widget.CardView android:layout_width="wrap_content" android:layout_height="wrap_content" android:layout_margin="10dp" app:cardCornerRadius="50dp"> <ImageView android:scaleType="center" android:src="@drawable/member_6" android:layout_width="120dp" android:layout_height="150dp"></ImageView> </androidx.cardview.widget.CardView> </LinearLayout> <LinearLayout android:layout_width="match_parent" android:layout_height="200dp"> <androidx.cardview.widget.CardView android:layout_width="wrap_content" android:layout_height="wrap_content" android:layout_margin="10dp" app:cardCornerRadius="50dp"> <ImageView android:scaleType="center" android:src="@drawable/member_7" android:layout_width="120dp" android:layout_height="150dp"></ImageView> </androidx.cardview.widget.CardView> <androidx.cardview.widget.CardView android:layout_width="wrap_content" android:layout_height="wrap_content" android:layout_margin="10dp" app:cardCornerRadius="50dp"> <ImageView android:scaleType="center" android:src="@drawable/member_8" android:layout_width="120dp" android:layout_height="150dp"></ImageView> </androidx.cardview.widget.CardView> <androidx.cardview.widget.CardView android:layout_width="wrap_content" android:layout_height="wrap_content" android:layout_margin="10dp" app:cardCornerRadius="50dp"> <ImageView android:scaleType="center" android:src="@drawable/member_9" android:layout_width="120dp" android:layout_height="150dp"></ImageView> </androidx.cardview.widget.CardView> </LinearLayout> </LinearLayout>
- 미해결[왕초보편] 앱 8개를 만들면서 배우는 안드로이드 코틀린(Android Kotlin)
파일 소스코드 그대로 복붙해도 오류떠요 ㅜㅜ
package com.bokchi.twice import android.content.Intent import androidx.appcompat.app.AppCompatActivity import android.os.Bundle import android.os.Handler import com.example.twice.MainActivity import com.example.twice.R @Suppress("DEPRECATION") class SplashActivity : AppCompatActivity() { override fun onCreate(savedInstanceState: Bundle?) { super.onCreate(savedInstanceState) setContentView(R.layout.activity_splash) Handler().postDelayed({ startActivity(Intent(this, MainActivity::class.java)) finish() }, 3000) } }
- 미해결[왕초보편] 앱 8개를 만들면서 배우는 안드로이드 코틀린(Android Kotlin)
언제 대문자로 시작하고 소문자로 시작해야하는지가 아직 감이 잘 안잡히네요 ㅠ
하다보면 왜 틀렸나 하나하나 비교해보면 가끔 소문자 대문자 실수가 너무 많이 나오는데 이게 어떻게 감을 잡아야할지 잘모르겠네요 ㅠㅠ그리고 실행할때 오류가 너무 많이나는데 이게 보통 오타일 경우가 많은걸까요..
- 미해결[왕초보편] 앱 8개를 만들면서 배우는 안드로이드 코틀린(Android Kotlin)
test dsvice 옆에 플레이 버튼도 안보이고, btsImage1, toast, context가 빨간색으로 떠요
(사진)
- 미해결[왕초보편] 앱 8개를 만들면서 배우는 안드로이드 코틀린(Android Kotlin)
웹뷰로 망고플레이트가 모두 로드 되지 않는데 왜 그런건가요?
웹뷰에서 다른 맛집 사이트인 식신이나다이닝 코드 주소를 넣었을 때 괜찮은데망고플레이트 사이트 주소를 넣으면 윗부분에 이미지랑 글들만 로드되고 밑부분 메뉴 이미지와지도랑 리뷰등은 짤려서 안나오는데 뭐가 문제일까요?
- 해결됨[왕초보편] 앱 8개를 만들면서 배우는 안드로이드 코틀린(Android Kotlin)
Webview 클릭해도 사이트로 안가져요 ㅠㅠ
클릭해도 이렇게 뜨고 안 가져요AndroidManigestd에서 인터넷도 추가했는데 이러네요코드는 mainRvAdapterContentsModelView
- 미해결[왕초보편] 앱 8개를 만들면서 배우는 안드로이드 코틀린(Android Kotlin)
버전이 안드로이드 5.0부터 있는데 레이아웃 파일이 없어용
(사진)
- 미해결[왕초보편] 앱 8개를 만들면서 배우는 안드로이드 코틀린(Android Kotlin)
에러 나옵니다ㅠㅠ
안녕하세요 말씀해주신대로<LinearLayout>이미지뷰 3개</LinearLayout><LinearLayout>이미지뷰 3개</LinearLayout>이렇게 입력했는데 문제가 발생합니다.problems에서 빨간색으로Top level element is not completed 이렇게 나옵니다.코드는 아래와 같습니다.<?xml version="1.0" encoding="utf-8"?> <LinearLayout xmlns:app="http://schemas.android.com/apk/res-auto" xmlns:tools="http://schemas.android.com/tools" xmlns:android="http://schemas.android.com/apk/res/android" android:layout_width="match_parent" android:layout_height="match_parent" tools:context=".MainActivity" android:orientation="vertical" > <LinearLayout android:layout_width="wrap_content" android:layout_height="wrap_content"/> <ImageView android:src="@drawable/bts_1" android:layout_height="100dp" android:layout_width="100dp"/> <ImageView android:src="@drawable/bts_2" android:layout_height="100dp" android:layout_width="100dp"/> <ImageView android:src="@drawable/bts_3" android:layout_height="100dp" android:layout_width="100dp"/> </LinearLayout> <LinearLayout android:layout_width="wrap_content" android:layout_height=""/> <ImageView android:src="@drawable/bts_1" android:layout_height="100dp" android:layout_width="100dp"/> <ImageView android:src="@drawable/bts_2" android:layout_height="100dp" android:layout_width="100dp"/> <ImageView android:src="@drawable/bts_3" android:layout_height="100dp" android:layout_width="100dp"/> </LinearLayout> </LinearLayout>
- 미해결[왕초보편] 앱 8개를 만들면서 배우는 안드로이드 코틀린(Android Kotlin)
10분 45초 rv_text.text 부분에서 text가 없다고 떠요
뭐가 문제일까요?
- 미해결[왕초보편] 앱 8개를 만들면서 배우는 안드로이드 코틀린(Android Kotlin)
recyclerView, listView관련 질문이 있어요
선생님이 하시는거 보고 그대로 따라해서 하면 구현은 잘되는데, 여기에 쓰이는 코드들이 왜 이렇게 쓰이고 무슨 기능을 하는지 전혀 모르겠어요... 문법을 모르겠는것 보단갑자기 내부클래스를 선언하여 RecyclerView.ViewHolder(itemView)같이 두는지 등이 설명없이 그냥 이렇게 한다 하고만 넘어가서 이해가 잘 안되서 다른 앱을 만들어 보려할 때 쓰지를 못하겠어요이런거 설명 보충같은건 힘드실까요?ㅜㅜ
- 미해결[왕초보편] 앱 8개를 만들면서 배우는 안드로이드 코틀린(Android Kotlin)
선생님 저는 왜 하나만 정상으로 나오고 나머지는 이상하게 나올까요?
<?xml version="1.0" encoding="utf-8"?><LinearLayout 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:layout_width="match_parent" android:layout_height="match_parent" tools:context=".MainActivity" android:orientation="vertical"> <LinearLayout android:layout_width="match_parent" android:layout_height="120dp"> <ImageView android:src="@drawable/bts_1" android:layout_width="120dp" android:layout_height="120dp"/> <ImageView android:src="@drawable/bts_2" android:layout_width="120dp" android:layout_height="120dp"/> <ImageView android:src="@drawable/bts_3" android:layout_width="120dp" android:layout_height="120dp"/> </LinearLayout> <LinearLayout android:layout_width="match_parent" android:layout_height="120dp"/> <ImageView android:src="@drawable/bts_4" android:layout_width="120dp" android:layout_height="120dp"/> <ImageView android:src="@drawable/bts_5" android:layout_width="120dp" android:layout_height="120dp"/> <ImageView android:src="@drawable/bts_6" android:layout_width="120dp" android:layout_height="120dp"/> </LinearLayout> <LinearLayout android:layout_width="match_parent" android:layout_height="120dp"/> <ImageView android:src="@drawable/bts_4" android:layout_width="120dp" android:layout_height="120dp"/> <ImageView android:src="@drawable/bts_5" android:layout_width="120dp" android:layout_height="120dp"/> <ImageView android:src="@drawable/bts_6" android:layout_width="120dp" android:layout_height="120dp"/> </LinearLayout> </LinearLayout>
- 미해결[왕초보편] 앱 8개를 만들면서 배우는 안드로이드 코틀린(Android Kotlin)
안드로이드 앱 뒤로가기 버튼 이벤트가 작동이 되질 않는데 문제를 모르겠어요
좋은 강의 항상 감사합니다! 안드로이드 앱 뒤로가기 버튼 이벤트 강의를 들으면서 강사님과 똑같이 코드를 따라쳤는데 "종료하실려면 더블클릭"이라는 메시지는 정상 출력되나 정작 앱이 종료가 되질 않습니다. 제가 잘못 쳤나 해서 3번쯤인가 다시 쳐보았지만 똑같이 작동이 되질 않아요... 제가 어느 부분을 실수한 걸까요? 어째서 더블클릭을 해도 앱이 종료되지 않는걸까요?
- 미해결[왕초보편] 앱 8개를 만들면서 배우는 안드로이드 코틀린(Android Kotlin)
Splash 액티비티 질문이예요.
다시 글 남겨요ㅜ 섹션 2. 트와이스 앱만들기 트와이스 앱 만들기 소개-강의소개 및 스플래시(Splash 화면) 4:35초에서 막혔습니다. <?xml version="1.0" encoding="utf-8"?><manifest xmlns:android="http://schemas.android.com/apk/res/android" xmlns:tools="http://schemas.android.com/tools" package="com.example.twice" > <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.Twice" tools:targetApi="31" > <activity android:name=".SplashActivity2" android:exported="false" > </activity> //여기서 부터 <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> 가상 핸드폰으로 볼려고 하니 안나오고밑에 처럼 빨간색으로 에러 나오거든요. ㅠ 알려주세요. Android resource linking failed C:\Users\joshu\AndroidStudioProjects\Twice2\app\build\intermediates\packaged_manifests\debug\AndroidManifest.xml:28: error: unexpected element <intent-filter> found in <manifest><application>.