게시글
질문&답변
2023.05.26
회원가입 로그인 페이지 꾸미기 - 1 오류 질문 합니다.
에뮬레이터를 바꾸고 파일을 삭제했다가 천천히 다시 하니 되고있습니다 ㅠ
- 0
- 2
- 279
질문&답변
2023.05.23
java랑 auth가 import가 안됍니다 도와주세요
제가 깃허브를 사용을 안해봐서 // Top-level build file where you can add configuration options common to all sub-projects/modules. buildscript { repositories { // Make sure that you have the following two repositories google() // Google's Maven repository mavenCentral() // Maven Central repository } dependencies { def nav_version="2.3.5" // Add the dependency for the Google services Gradle plugin classpath 'com.google.gms:google-services:4.3.15' classpath("androidx.navigation:navigation-safe-args-gradle-plugin:$nav_version") } } plugins { id 'com.android.application' version '7.1.0-rc01' apply false id 'com.android.library' version '7.1.0-rc01' apply false id 'org.jetbrains.kotlin.android' version '1.6.21' apply false } task clean(type: Delete) { delete rootProject.buildDir } plugins { id 'com.android.application' id 'org.jetbrains.kotlin.android' id 'com.google.gms.google-services' } android { compileSdk 33 defaultConfig { applicationId "com.example.mysolelife" minSdk 16 targetSdk 33 versionCode 1 versionName "1.0" testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner" } buildTypes { release { minifyEnabled false proguardFiles getDefaultProguardFile('proguard-android-optimize.txt'), 'proguard-rules.pro' } } compileOptions { sourceCompatibility JavaVersion.VERSION_1_8 targetCompatibility JavaVersion.VERSION_1_8 } kotlinOptions { jvmTarget = '1.8' } dataBinding { enabled true } } dependencies { implementation 'androidx.core:core-ktx:1.7.0' implementation 'androidx.appcompat:appcompat:1.6.1' implementation 'com.google.android.material:material:1.9.0' implementation 'androidx.constraintlayout:constraintlayout:2.1.4' testImplementation 'junit:junit:4.13.2' androidTestImplementation 'androidx.test.ext:junit:1.1.5' androidTestImplementation 'androidx.test.espresso:espresso-core:3.5.1' implementation 'com.google.firebase:firebase-analytics-ktx' implementation platform('com.google.firebase:firebase-bom:31.5.0') implementation 'com.google.firebase:firebase-auth-ktx' implementation 'com.google.android.gms:play-services-auth:20.5.0' }그래들 부분만 가져왔습니다. 다른 xml은 다 같습니다.
- 0
- 2
- 574