crossplatformkorea / react-native-naver-login

리엑트 네이티브 네이버 로그인 라이브러리
MIT License
157 stars 89 forks source link

[Android]assembleRelease에서 #59

Closed 94wogus closed 4 years ago

94wogus commented 4 years ago

Version of kakao-login libraries

"@react-native-seoul/naver-login": "^2.1.0"

Version of react-native

"react-native": "0.60.0"

Platforms you faced the error (IOS or Android or both?)

Android

Expected behavior

./gradlew assembleRelease

Actual behavior

현재 테스트 에서는 굉장히 잘 돌아갑니다. apk로 빌드 테스트 해보려 진행하던 중에 @react-native-seoul_naver-login:verifyReleaseResources FAILED이 나고 있습니다.

에러 로그는 다음과 같습니다.

> Configure project :@react-native-seoul_naver-login
WARNING: Configuration 'compile' is obsolete and has been replaced with 'implementation' and 'api'.
It will be removed soon. For more information see: http://d.android.com/r/tools/update-dependency-configurations.html

> Configure project :react-native-firebase
react-native-firebase: using React Native prebuilt binary from /home/fanrepubilc/Desktop/fanrep_ver2_app/node_modules/react-native/android

> Configure project :react-native-seoul-naver-login
WARNING: Configuration 'compile' is obsolete and has been replaced with 'implementation' and 'api'.
It will be removed soon. For more information see: http://d.android.com/r/tools/update-dependency-configurations.html
WARNING: The specified Android SDK Build Tools version (27.0.3) is ignored, as it is below the minimum su
pported version (28.0.3) for Android Gradle Plugin 3.5.0.
Android SDK Build Tools 28.0.3 will be used.
To suppress this warning, remove "buildToolsVersion '27.0.3'" from your build.gradle file, as each version of the Android Gradle Plugin now has a default version of the build tools.
WARNING: The specified Android SDK Build Tools version (27.0.3) is ignored, as it is below the minimum supported version (28.0.3) for Android Gradle Plugin 3.5.0.
Android SDK Build Tools 28.0.3 will be used.
To suppress this warning, remove "buildToolsVersion '27.0.3'" from your build.gradle file, as each version of the Android Gradle Plugin now has a default version of the build tools.
WARNING: The specified Android SDK Build Tools version (27.0.3) is ignored, as it is below the minimum su
pported version (28.0.3) for Android Gradle Plugin 3.5.0.
Android SDK Build Tools 28.0.3 will be used.
To suppress this warning, remove "buildToolsVersion '27.0.3'" from your build.gradle file, as each version of the Android Gradle Plugin now has a default version of the build tools.
WARNING: The specified Android SDK Build Tools version (27.0.3) is ignored, as it is below the minimum supported version (28.0.3) for Android Gradle Plugin 3.5.0.
Android SDK Build Tools 28.0.3 will be used.
To suppress this warning, remove "buildToolsVersion '27.0.3'" from your build.gradle file, as each version of the Android Gradle Plugin now has a default version of the build tools.

> Task :@react-native-community_google-signin:compileReleaseJavaWithJavac
Note: /home/fanrepubilc/Desktop/fanrep_ver2_app/node_modules/@react-native-community/google-signin/androi
d/src/main/java/co/apptailor/googlesignin/RNGoogleSigninModule.java uses unchecked or unsafe operations.
Note: Recompile with -Xlint:unchecked for details.

> Task :@react-native-seoul_naver-login:verifyReleaseResources FAILED

FAILURE: Build failed with an exception.

* What went wrong:
Execution failed for task ':@react-native-seoul_naver-login:verifyReleaseResources'.
> A failure occurred while executing com.android.build.gradle.internal.tasks.Workers$ActionFacade
   > Android resource linking failed
     /root/.gradle/caches/transforms-2/files-2.1/256190b08fc19ea3c215d5c11f5268f5/appcompat-1.0.2/res/values-v28/values-v28.xml:5:5-8:13: AAPT: error: resource android:attr/dialogCornerRadius not found.

     /root/.gradle/caches/transforms-2/files-2.1/256190b08fc19ea3c215d5c11f5268f5/appcompat-1.0.2/res/values-v28/values-v28.xml:9:5-12:13: AAPT: error: resource android:attr/dialogCornerRadius not found.

     /root/.gradle/caches/transforms-2/files-2.1/f89e0023518985072787386128c42c4b/core-1.0.1/res/values/values.xml:57:5-88:25: AAPT: error: resource android:attr/fontVariationSettings not found.

     /root/.gradle/caches/transforms-2/files-2.1/f89e0023518985072787386128c42c4b/core-1.0.1/res/values/values.xml:57:5-88:25: AAPT: error: resource android:attr/ttcIndex not found.

* 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.org

Deprecated Gradle features were used in this build, making it incompatible with Gradle 6.0.
Use '--warning-mode all' to show the individual deprecation warnings.
See https://docs.gradle.org/5.4.1/userguide/command_line_interface.html#sec:command_line_warnings

> Configure project :@react-native-seoul_naver-login

이것도 두번 되고 있어서 뭔가 제가 설정을 잘못한건가 싶기도 하고...ㅠㅠ 도와주세요...ㅠㅠㅠ

Tested environment (Emulator? Real Device?)

apk 빌드가 안되는거라...

heyman333 commented 4 years ago

흠 먼저 제가 바빠서 요즘에 관리를 잘 못하고 있는데,,, 죄송합니다. 비슷한 이슈가 있어서 찾아봤는데 https://github.com/wix/react-native-navigation/issues/4671 참고해보실래요 compileSDK Version에 따른 문제일 수도 있을거같네요

94wogus commented 4 years ago

죄송하긴요 쉽게 로그인 구현하는데 제가 감사하죠..ㅠㅠ

android/build.gradle

buildscript {
    ext.kotlinVersion = '1.3.10'
    ext {
        buildToolsVersion = "28.0.3"
        minSdkVersion = 16
        compileSdkVersion = 28
        targetSdkVersion = 28
        supportLibVersion = "28.0.0"
        googlePlayServicesVersion = "16.1.0"
        firebaseVersion = "17.3.4" 
        googlePlayServicesAuthVersion = "15.0.1"
    }
    repositories {
        google()
        jcenter()
        maven {
           url 'https://maven.fabric.io/public'
        }
    }
    dependencies {
        classpath "com.android.tools.build:gradle:3.5.0"
        classpath 'com.google.gms:google-services:4.3.2' // firebase
        classpath 'io.fabric.tools:gradle:1.28.1' // Crashlytics
    }
}

인데...ㅠㅠ firebase 버전이 달라서 그런건 아닐까요...?? 현재 5.4.2버전인데...

heyman333 commented 4 years ago
A failure occurred while executing com.android.build.gradle.internal.tasks.Workers$ActionFacade

이걸 기준으로 구글링을 해보니까 몇개 글이 나오긴 하네요...파이어베이스 문제라고 생각하신다면(아닌거같긴한데,,,ㅠㅠ) 혹시 테스트로 네이버로그인 모듈만 연동해서 빌드 해보실 수 있나요???

94wogus commented 4 years ago

/node_modules/@react-native-seoul/naver-login/android/build.gradle 에서

def DEFAULT_COMPILE_SDK_VERSION = 28
def DEFAULT_BUILD_TOOLS_VERSION = "28.0.3"

버전 문제일 가능성이 있다고 하셔서 이렇게 바꾸니 위의 오류는 발생하지 않습니다.

다만 다른 문제가 발생하는데 아래 로그로 발생합니다.

> Configure project :@react-native-seoul_naver-login
WARNING: Configuration 'compile' is obsolete and has been replaced with 'implementation' and 'api'.
It will be removed soon. For more information see: http://d.android.com/r/tools/update-dependency-configurations.html

> Configure project :react-native-firebase
react-native-firebase: using React Native prebuilt binary from /home/fanrepubilc/Desktop/fanrep_ver2_app/node_modules/react-native/android

> Task :@react-native-community_google-signin:compileReleaseJavaWithJavac
Note: /home/fanrepubilc/Desktop/fanrep_ver2_app/node_modules/@react-native-community/google-signin/android/src/
main/java/co/apptailor/googlesignin/RNGoogleSigninModule.java uses unchecked or unsafe operations.
Note: Recompile with -Xlint:unchecked for details.

> Task :lottie-react-native:compileReleaseJavaWithJavac
Note: /home/fanrepubilc/Desktop/fanrep_ver2_app/node_modules/lottie-react-native/src/android/src/main/java/com/
airbnb/android/react/lottie/LottieAnimationViewManager.java uses unchecked or unsafe operations.
Note: Recompile with -Xlint:unchecked for details.

> Task :react-native-fast-image:compileReleaseJavaWithJavac
Note: [2] Wrote GeneratedAppGlideModule with: [com.bumptech.glide.integration.okhttp3.OkHttpLibraryGlideModule,
 com.dylanvann.fastimage.FastImageOkHttpProgressGlideModule]

> Task :react-native-fbsdk:compileReleaseJavaWithJavac
Note: Some input files use or override a deprecated API.
Note: Recompile with -Xlint:deprecation for details.
Note: /home/fanrepubilc/Desktop/fanrep_ver2_app/node_modules/react-native-fbsdk/android/src/main/java/com/faceb
ook/reactnative/androidsdk/Utility.java uses unchecked or unsafe operations.
Note: Recompile with -Xlint:unchecked for details.

> Task :react-native-firebase:compileReleaseJavaWithJavac FAILED
/home/fanrepubilc/Desktop/fanrep_ver2_app/node_modules/react-native-firebase/android/src/main/java/io/invertase
/firebase/analytics/RNFirebaseAnalyticsPackage.java:3: error: package android.support.annotation does not exis
import android.support.annotation.RequiresPermission;
                                 ^
/home/fanrepubilc/Desktop/fanrep_ver2_app/node_modules/react-native-firebase/android/src/main/java/io/invertase
/firebase/ReactNativeFirebaseAppRegistrar.java:20: error: package android.support.annotation does not exist
import android.support.annotation.Keep;
                                 ^
/home/fanrepubilc/Desktop/fanrep_ver2_app/node_modules/react-native-firebase/android/src/main/java/io/invertase/firebase/ReactNativeFirebaseAppRegistrar.java:29: error: cannot find symbol
@Keep
 ^
  symbol: class Keep
/home/fanrepubilc/Desktop/fanrep_ver2_app/node_modules/react-native-firebase/android/src/main/java/io/invertase/firebase/messaging/RNFirebaseMessaging.java:7: error: cannot find symbol
import android.support.v4.app.NotificationManagerCompat;
                             ^
  symbol:   class NotificationManagerCompat
  location: package android.support.v4.app
/home/fanrepubilc/Desktop/fanrep_ver2_app/node_modules/react-native-firebase/android/src/main/java/io/invertase/firebase/messaging/RNFirebaseMessaging.java:8: error: package android.support.v4.content does not exist
import android.support.v4.content.LocalBroadcastManager;
                                 ^
/home/fanrepubilc/Desktop/fanrep_ver2_app/node_modules/react-native-firebase/android/src/main/java/io/invertase/firebase/messaging/RNFirebaseMessagingService.java:5: error: package android.support.v4.content does not exist
import android.support.v4.content.LocalBroadcastManager;
                                 ^
/home/fanrepubilc/Desktop/fanrep_ver2_app/node_modules/react-native-firebase/android/src/main/java/io/invertase/firebase/storage/RNFirebaseStoragePackage.java:3: error: package android.support.annotation does not exist
import android.support.annotation.RequiresPermission;
                                 ^
/home/fanrepubilc/Desktop/fanrep_ver2_app/node_modules/react-native-firebase/android/src/main/java/io/invertase/firebase/notifications/RNFirebaseBackgroundNotificationActionReceiver.java:8: error: cannot find symbol
import android.support.v4.app.RemoteInput;
                             ^
  symbol:   class RemoteInput
  location: package android.support.v4.app
/home/fanrepubilc/Desktop/fanrep_ver2_app/node_modules/react-native-firebase/android/src/main/java/io/invertase/firebase/notifications/RNFirebaseNotificationManager.java:20: error: package android.support.annotation does not exist
import android.support.annotation.RequiresApi;
                                 ^
/home/fanrepubilc/Desktop/fanrep_ver2_app/node_modules/react-native-firebase/android/src/main/java/io/invertase/firebase/notifications/RNFirebaseNotificationManager.java:21: error: package android.support.v4.content does not exist
import android.support.v4.content.LocalBroadcastManager;
                                 ^
/home/fanrepubilc/Desktop/fanrep_ver2_app/node_modules/react-native-firebase/android/src/main/java/io/invertase/firebase/notifications/DisplayNotificationTask.java:15: error: cannot find symbol
import android.support.v4.app.NotificationCompat;
                             ^
  symbol:   class NotificationCompat
  location: package android.support.v4.app
/home/fanrepubilc/Desktop/fanrep_ver2_app/node_modules/react-native-firebase/android/src/main/java/io/invertase/firebase/notifications/DisplayNotificationTask.java:16: error: cannot find symbol
import android.support.v4.app.RemoteInput;
                             ^
  symbol:   class RemoteInput
  location: package android.support.v4.app
/home/fanrepubilc/Desktop/fanrep_ver2_app/node_modules/react-native-firebase/android/src/main/java/io/invertase/firebase/notifications/DisplayNotificationTask.java:412: error: package NotificationCompat does not exist
  private NotificationCompat.Action createAction(
                            ^
/home/fanrepubilc/Desktop/fanrep_ver2_app/node_modules/react-native-firebase/android/src/main/java/io/invertase/firebase/notifications/DisplayNotificationTask.java:499: error: cannot find symbol
  private RemoteInput createRemoteInput(Bundle remoteInput) {
          ^
  symbol:   class RemoteInput
  location: class DisplayNotificationTask
/home/fanrepubilc/Desktop/fanrep_ver2_app/node_modules/react-native-firebase/android/src/main/java/io/invertase/firebase/notifications/RNFirebaseNotifications.java:10: error: cannot find symbol
import android.support.v4.app.RemoteInput;
                             ^
  symbol:   class RemoteInput
  location: package android.support.v4.app
/home/fanrepubilc/Desktop/fanrep_ver2_app/node_modules/react-native-firebase/android/src/main/java/io/invertase/firebase/notifications/RNFirebaseNotifications.java:11: error: package android.support.v4.content does not exist
import android.support.v4.content.LocalBroadcastManager;
                                 ^
/home/fanrepubilc/Desktop/fanrep_ver2_app/node_modules/react-native-firebase/android/src/main/java/io/invertase/firebase/analytics/RNFirebaseAnalyticsPackage.java:17: error: cannot find symbol
  @RequiresPermission(
   ^
  symbol:   class RequiresPermission
  location: class RNFirebaseAnalyticsPackage
/home/fanrepubilc/Desktop/fanrep_ver2_app/node_modules/react-native-firebase/android/src/main/java/io/invertase/firebase/storage/RNFirebaseStoragePackage.java:17: error: cannot find symbol
  @RequiresPermission(
   ^
  symbol:   class RequiresPermission
  location: class RNFirebaseStoragePackage
/home/fanrepubilc/Desktop/fanrep_ver2_app/node_modules/react-native-firebase/android/src/main/java/io/invertase/firebase/notifications/RNFirebaseNotificationManager.java:370: error: cannot find symbol
  @RequiresApi(api = 26)
   ^
  symbol:   class RequiresApi
  location: class RNFirebaseNotificationManager
/home/fanrepubilc/Desktop/fanrep_ver2_app/node_modules/react-native-firebase/android/src/main/java/io/invertase/firebase/notifications/RNFirebaseNotificationManager.java:384: error: cannot find symbol
  @RequiresApi(api = 26)
   ^
  symbol:   class RequiresApi
  location: class RNFirebaseNotificationManager
/home/fanrepubilc/Desktop/fanrep_ver2_app/node_modules/react-native-firebase/android/src/main/java/io/invertase/firebase/notifications/RNFirebaseNotificationManager.java:398: error: cannot find symbol
  @RequiresApi(api = 26)
   ^
  symbol:   class RequiresApi
  location: class RNFirebaseNotificationManager
/home/fanrepubilc/Desktop/fanrep_ver2_app/node_modules/react-native-firebase/android/src/main/java/io/invertase/firebase/notifications/RNFirebaseNotificationManager.java:414: error: cannot find symbol
  @RequiresApi(api = 26)
   ^
  symbol:   class RequiresApi
  location: class RNFirebaseNotificationManager
/home/fanrepubilc/Desktop/fanrep_ver2_app/node_modules/react-native-firebase/android/src/main/java/io/invertase/firebase/notifications/RNFirebaseNotificationManager.java:457: error: cannot find symbol
  @RequiresApi(api = 26)
   ^
  symbol:   class RequiresApi
  location: class RNFirebaseNotificationManager
/home/fanrepubilc/Desktop/fanrep_ver2_app/node_modules/react-native-firebase/android/src/main/java/io/invertase/firebase/messaging/RNFirebaseMessaging.java:36: error: cannot find symbol
    LocalBroadcastManager localBroadcastManager = LocalBroadcastManager.getInstance(context);
    ^
  symbol:   class LocalBroadcastManager
  location: class RNFirebaseMessaging
/home/fanrepubilc/Desktop/fanrep_ver2_app/node_modules/react-native-firebase/android/src/main/java/io/invertase/firebase/messaging/RNFirebaseMessaging.java:36: error: cannot find symbol
    LocalBroadcastManager localBroadcastManager = LocalBroadcastManager.getInstance(context);
                                                  ^
  symbol:   variable LocalBroadcastManager
  location: class RNFirebaseMessaging
/home/fanrepubilc/Desktop/fanrep_ver2_app/node_modules/react-native-firebase/android/src/main/java/io/invertase/firebase/messaging/RNFirebaseMessaging.java:90: error: cannot find symbol
    Boolean enabled = NotificationManagerCompat
                      ^
  symbol:   variable NotificationManagerCompat
  location: class RNFirebaseMessaging
/home/fanrepubilc/Desktop/fanrep_ver2_app/node_modules/react-native-firebase/android/src/main/java/io/invertase/firebase/messaging/RNFirebaseMessagingService.java:26: error: cannot find symbol
    LocalBroadcastManager
    ^
  symbol:   variable LocalBroadcastManager
  location: class RNFirebaseMessagingService
/home/fanrepubilc/Desktop/fanrep_ver2_app/node_modules/react-native-firebase/android/src/main/java/io/invertase/firebase/messaging/RNFirebaseMessagingService.java:41: error: cannot find symbol
      LocalBroadcastManager
      ^
  symbol:   variable LocalBroadcastManager
  location: class RNFirebaseMessagingService
/home/fanrepubilc/Desktop/fanrep_ver2_app/node_modules/react-native-firebase/android/src/main/java/io/invertase/firebase/messaging/RNFirebaseMessagingService.java:51: error: cannot find symbol
        LocalBroadcastManager
        ^
  symbol:   variable LocalBroadcastManager
  location: class RNFirebaseMessagingService
/home/fanrepubilc/Desktop/fanrep_ver2_app/node_modules/react-native-firebase/android/src/main/java/io/invertase/firebase/notifications/RNFirebaseBackgroundNotificationActionReceiver.java:62: error: cannot find symbol
      Bundle remoteInput = RemoteInput.getResultsFromIntent(intent);
                           ^
  symbol:   variable RemoteInput
  location: class RNFirebaseBackgroundNotificationActionReceiver
/home/fanrepubilc/Desktop/fanrep_ver2_app/node_modules/react-native-firebase/android/src/main/java/io/invertase/firebase/notifications/RNFirebaseNotificationManager.java:204: error: cannot find symbol
      LocalBroadcastManager
      ^
  symbol:   variable LocalBroadcastManager
  location: class RNFirebaseNotificationManager
/home/fanrepubilc/Desktop/fanrep_ver2_app/node_modules/react-native-firebase/android/src/main/java/io/invertase/firebase/notifications/DisplayNotificationTask.java:81: error: package NotificationCompat does not exist
      NotificationCompat.Builder nb;
                        ^
/home/fanrepubilc/Desktop/fanrep_ver2_app/node_modules/react-native-firebase/android/src/main/java/io/invertase/firebase/notifications/DisplayNotificationTask.java:84: error: package NotificationCompat does not exist
        nb = new NotificationCompat.Builder(context, channelId);
                                   ^
/home/fanrepubilc/Desktop/fanrep_ver2_app/node_modules/react-native-firebase/android/src/main/java/io/invertase/firebase/notifications/DisplayNotificationTask.java:87: error: package NotificationCompat does not exist
        nb = new NotificationCompat.Builder(context);
                                   ^
/home/fanrepubilc/Desktop/fanrep_ver2_app/node_modules/react-native-firebase/android/src/main/java/io/invertase/firebase/notifications/DisplayNotificationTask.java:130: error: package NotificationCompat does not exist
        NotificationCompat.BigPictureStyle bp = new NotificationCompat.BigPictureStyle();
                          ^
/home/fanrepubilc/Desktop/fanrep_ver2_app/node_modules/react-native-firebase/android/src/main/java/io/invertase/firebase/notifications/DisplayNotificationTask.java:130: error: package NotificationCompat does not exist
        NotificationCompat.BigPictureStyle bp = new NotificationCompat.BigPictureStyle();
                                                                      ^
/home/fanrepubilc/Desktop/fanrep_ver2_app/node_modules/react-native-firebase/android/src/main/java/io/invertase/firebase/notifications/DisplayNotificationTask.java:163: error: package NotificationCompat does not exist
        NotificationCompat.BigTextStyle bt = new NotificationCompat.BigTextStyle();
                          ^
/home/fanrepubilc/Desktop/fanrep_ver2_app/node_modules/react-native-firebase/android/src/main/java/io/invertase/firebase/notifications/DisplayNotificationTask.java:163: error: package NotificationCompat does not exist
        NotificationCompat.BigTextStyle bt = new NotificationCompat.BigTextStyle();
                                                                   ^
/home/fanrepubilc/Desktop/fanrep_ver2_app/node_modules/react-native-firebase/android/src/main/java/io/invertase/firebase/notifications/DisplayNotificationTask.java:366: error: package NotificationCompat does not exist
          NotificationCompat.Action action = createAction(context, a, intentClass, notification);
                            ^
/home/fanrepubilc/Desktop/fanrep_ver2_app/node_modules/react-native-firebase/android/src/main/java/io/invertase/firebase/notifications/DisplayNotificationTask.java:429: error: package NotificationCompat.Action does not exist
    NotificationCompat.Action.Builder ab = new NotificationCompat.Action.Builder(
                             ^
/home/fanrepubilc/Desktop/fanrep_ver2_app/node_modules/react-native-firebase/android/src/main/java/io/invertase/firebase/notifications/DisplayNotificationTask.java:429: error: package NotificationCompat.Action does not exist
    NotificationCompat.Action.Builder ab = new NotificationCompat.Action.Builder(
                                                                        ^
/home/fanrepubilc/Desktop/fanrep_ver2_app/node_modules/react-native-firebase/android/src/main/java/io/invertase/firebase/notifications/DisplayNotificationTask.java:442: error: cannot find symbol
        RemoteInput remoteInput = createRemoteInput(ri);
        ^
  symbol:   class RemoteInput
  location: class DisplayNotificationTask
/home/fanrepubilc/Desktop/fanrep_ver2_app/node_modules/react-native-firebase/android/src/main/java/io/invertase/firebase/notifications/DisplayNotificationTask.java:501: error: package RemoteInput does not exist
    RemoteInput.Builder rb = new RemoteInput.Builder(resultKey);
               ^
/home/fanrepubilc/Desktop/fanrep_ver2_app/node_modules/react-native-firebase/android/src/main/java/io/invertase/firebase/notifications/DisplayNotificationTask.java:501: error: package RemoteInput does not exist
    RemoteInput.Builder rb = new RemoteInput.Builder(resultKey);
                                            ^
/home/fanrepubilc/Desktop/fanrep_ver2_app/node_modules/react-native-firebase/android/src/main/java/io/invertase/firebase/notifications/RNFirebaseNotifications.java:54: error: cannot find symbol
    LocalBroadcastManager localBroadcastManager = LocalBroadcastManager.getInstance(context);
    ^
  symbol:   class LocalBroadcastManager
  location: class RNFirebaseNotifications
/home/fanrepubilc/Desktop/fanrep_ver2_app/node_modules/react-native-firebase/android/src/main/java/io/invertase/firebase/notifications/RNFirebaseNotifications.java:54: error: cannot find symbol
    LocalBroadcastManager localBroadcastManager = LocalBroadcastManager.getInstance(context);
                                                  ^
  symbol:   variable LocalBroadcastManager
  location: class RNFirebaseNotifications
/home/fanrepubilc/Desktop/fanrep_ver2_app/node_modules/react-native-firebase/android/src/main/java/io/invertase/firebase/notifications/RNFirebaseNotifications.java:308: error: cannot find symbol
    Bundle remoteInput = RemoteInput.getResultsFromIntent(intent);
                         ^
  symbol:   variable RemoteInput
  location: class RNFirebaseNotifications
Note: Some input files use or override a deprecated API.
Note: Recompile with -Xlint:deprecation for details.
Note: Some input files use unchecked or unsafe operations.
Note: Recompile with -Xlint:unchecked for details.
47 errors

FAILURE: Build failed with an exception.

* What went wrong:
Execution failed for task ':react-native-firebase:compileReleaseJavaWithJavac'.
> Compilation failed; see the compiler error output for details.

* 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.org

Deprecated Gradle features were used in this build, making it incompatible with Gradle 6.0.
Use '--warning-mode all' to show the individual deprecation warnings.
See https://docs.gradle.org/5.4.1/userguide/command_line_interface.html#sec:command_line_warnings

BUILD FAILED in 8s
182 actionable tasks: 170 executed, 12 up-to-date
94wogus commented 4 years ago

npx jetify로 해결 했습니다~!! 감사 합니다 (꾸벅)

minsoo-web commented 2 years ago

안녕하세요 저는 npx jetify로 해결이 되지 않아 다른 구글링을 더 해본 결과 다음 링크에서 해결할 수 있었습니다.

벨로그 글

스크린샷 2021-11-29 오후 5 23 02

좌: android/build.gradle 우: node_module/@react-native-seoul/naver-login/android/build.gradle

버전을 변경해주고 난 뒤 다시 빌드했을 때 성공했습니다.