inflearn logo
강의

강의

N
챌린지

챌린지

멘토링

멘토링

N
클립

클립

로드맵

로드맵

지식공유

[초중급편] 안드로이드 데이팅 앱 만들기(Android Kotlin)

강의소개

Render problem 오류를 도저히 해결을 못하겠어요 ㅠㅠ

518

서기

작성한 질문수 2

0

<?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:layout_width="match_parent"
    android:layout_height="match_parent"
    tools:context=".MainActivity">

    <androidx.constraintlayout.widget.ConstraintLayout
        android:layout_width="match_parent"
        android:layout_height="60dp"
        app:layout_constraintTop_toTopOf="parent">

        <ImageView
            android:id="@+id/settingIcon"
            android:layout_width="70dp"
            android:layout_height="70dp"
            android:layout_margin="3dp"
            android:layout_marginTop="16dp"
            android:layout_marginEnd="16dp"
            android:contentDescription="프로필사진"
            android:src="@drawable/profile_img"
            app:layout_constraintEnd_toEndOf="parent"
            app:layout_constraintTop_toTopOf="parent" />


    </androidx.constraintlayout.widget.ConstraintLayout>

    <com.yuyakaido.android.cardstackview.CardStackView
        android:id="@+id/cardStackView"
        android:contentDescription="cardstackview"
        android:layout_marginTop="60dp"
        android:layout_width="match_parent"
        android:layout_height="match_parent"/>

</androidx.constraintlayout.widget.ConstraintLayout>

KakaoTalk_20231106_222900390.png코드와 에러부분 캡쳐해서 올립니다 ㅠㅠ

android kotlin firebase

답변 1

0

개복치개발자

전체 코드를 깃허브 / 구글 드라이브를 통해서 링크를 공유해주시면 살펴볼게요~

0

서기

https://github.com/alsxm4625/sogating4/tree/main/app/src/main/res/layout

깃허브에 올렸습니다 확인 부탁드려요!

0

개복치개발자

원래 처음에 실행이 되었나요?

android:theme="@style/Theme.AppCompat.Light"

를 모두 빼먹으셨는데
AndroidManifest.xml을 아래와 같이 변경해보세요.

 

<?xml version="1.0" encoding="utf-8"?>
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
    xmlns:tools="http://schemas.android.com/tools">

    <uses-permission android:name="android.permission.POST_NOTIFICATIONS" />
    <uses-permission android:name="android.permission.YOUR_PERMISSION" />

    <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"
        tools:targetApi="31">
        <activity
            android:name=".message.MyLikeListActivity"
            android:theme="@style/Theme.AppCompat.Light"
            android:exported="false" />

        <activity
            android:name=".message.ListViewAdapter"
            android:theme="@style/Theme.AppCompat.Light"
            android:exported="false" />
        <activity
            android:name=".setting.SettingActivity"
            android:theme="@style/Theme.AppCompat.Light"
            android:exported="false" />
        <activity
            android:name=".setting.MyPageActivity"
            android:theme="@style/Theme.AppCompat.Light"
            android:exported="false" />
        <activity
            android:name=".SplashActivity"
            android:theme="@style/Theme.AppCompat.Light"
            android:exported="false" />
        <activity
            android:name=".auth.LoginActivity"
            android:theme="@style/Theme.AppCompat.Light"
            android:exported="false" />
        <activity
            android:name=".auth.JoinActivity"
            android:theme="@style/Theme.AppCompat.Light"
            android:exported="false" />
        <activity
            android:name=".auth.IntroActivity"
            android:theme="@style/Theme.AppCompat.Light"
            android:exported="false" />
        <activity
            android:name=".slider.CardStackAdapter"
            android:theme="@style/Theme.AppCompat.Light"
            android:exported="false" />
        <activity
            android:name=".MainActivity"
            android:exported="true"
            android:theme="@style/Theme.AppCompat.Light">
            <intent-filter>
                <action android:name="android.intent.action.MAIN" />

                <category android:name="android.intent.category.LAUNCHER" />
            </intent-filter>
        </activity>
    </application>

</manifest>

CardStackView 라이브러리 추가에 실패합니다.

0

98

1

CardStackView

0

126

2

CardStackView 오류 정상적으로 구현이 되지 않습니다.

0

199

3

최신화 된 강의 요청합니다

0

160

2

auth.currentUser?.uid.toString() 가 null 이 나와요

0

194

1

혹시.. 지금 최신 환경 상, 강의 내용대로 진행이 안 되는 걸까요?

0

242

1

현시점에서 알려주신 방법대로 서버키를 받는것이 안되는것같습니다

0

261

2

3강 firebase 쓰기가 동작하질않아요

0

186

1

강사님 실시간으로 혹시 문의하는 방법은 없을까요??

0

185

1

해당 강의 들으시는 분들 중에 교육관련해서 서로 얘기 나누실 분 있으신가요??

0

158

1

강사님 FCM 단계 진행하면서 오류들이 너무 많이 발생합니다...

0

207

1

FCM 토큰 문의

0

215

1

강사님 FCM 단계에서 전체적으로 앱 문제가 발생해서 혹시 원격으로 조치 해주실 수 있나요?

0

232

1

토큰 정보 유저정보에 저장하기 강의 4분 12초 코드를 동일하게 입력했는데 적용이 잘 안되는 것 같아요.

0

398

3

토큰 받아와서 메세지 보내기 강의 2분 20초 로그캣 확인 하는 창이 다르고 토큰 값이 안떠요.

0

221

1

FCM 강의, firebaseservice 클래스 내 오류코드 해결방안이 궁금합니다.

0

274

2

FCM 강의 중간부터 코드 오류가 발생했는지 앱에서 회원가입을 해도 파이어베이스 Authentication에는 회원등록이 해도 화면이 넘어가지 않고 데이터도 저장이 안 되네요.

0

295

3

섹션 1 CardStackView의 Implement members 질문있습니다.

0

228

1

수업자료 다운로드 후 알집풀기에서 오류가 발생합니다.

0

465

3

Retrofit 사용해보기 강의 2:20 쯤에 작성된 복사된 코드는 어디서 받나요?

0

234

2

강의 FCM 소개 1:56에 디펜던시 추가하는게 최신버전으로 바뀐 듯합니다.

0

277

1

매칭이 되면 알람 띄우기 강의에서 오류문구 해결방안이 궁금합니다.

0

357

3

소스코드 다운이 불가능합니다..

0

145

1

나와 다른 성별의 유저 불러오기 강의에서 에뮬레이터에서 앱이 켜졌다가 바로 꺼져요.

0

459

11