yoonjaepark / flutter_naver_login

A Flutter plugin for Naver Sign In.
BSD 2-Clause "Simplified" License
47 stars 70 forks source link

Android build 시 에러 발생 #35

Closed gracegyu closed 2 years ago

gracegyu commented 3 years ago

MacOS에서 Android studio를 이용해서 Android build하면 아래와 같은 에러가 발생합니다. 원인이 뭘까요?

e: /Users/myaccount/dev/flutter/.pub-cache/hosted/pub.dartlang.org/flutter_naver_login-1.2.0/android/src/main/kotlin/com/yoonjaepark/flutter_naver_login/FlutterNaverLoginPlugin.kt: (78, 57): Type mismatch: inferred type is String? but String was expected

FAILURE: Build failed with an exception.

* What went wrong:
Execution failed for task ':flutter_naver_login:compileDebugKotlin'.
> Compilation error. See log for more 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

BUILD FAILED in 53s
Exception: Gradle task assembleDebug failed with exit code 1
gracegyu commented 3 years ago

해결 방법이 없을까요?

yoonjaepark commented 2 years ago

샘플 작동해봤는데 따로 오류는 없어서 혹시 재현 방법 부탁드립니다.