Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Errors on flutter run #2

Open
aclima01 opened this issue Apr 25, 2019 · 0 comments
Open

Errors on flutter run #2

aclima01 opened this issue Apr 25, 2019 · 0 comments

Comments

@aclima01
Copy link

Hi,

I'm trying to debug the project but are receiving some erros:

`C:\flutter.pub-cache\hosted\pub.dartlang.org\firebase_auth-0.8.4+5\android\src\main\java\io\flutter\plugins\firebaseauth\FirebaseAuthPlugin.java:9: error: cannot find symbol

import androidx.annotation.NonNull;
^
symbol: class NonNull
location: package androidx.annotation
C:\flutter.pub-cache\hosted\pub.dartlang.org\firebase_auth-0.8.4+5\android\src\main\java\io\flutter\plugins\firebaseauth\FirebaseAuthPlugin.java:10: error: cannot find symbol
import androidx.annotation.Nullable;
^
symbol: class Nullable
location: package androidx.annotation
C:\flutter.pub-cache\hosted\pub.dartlang.org\firebase_auth-0.8.4+5\android\src\main\java\io\flutter\plugins\firebaseauth\FirebaseAuthPlugin.java:754: error: cannot find symbol

private void reportException(Result result, @nullable Exception exception) {
^
symbol: class Nullable
location: class FirebaseAuthPlugin
C:\flutter.pub-cache\hosted\pub.dartlang.org\firebase_auth-0.8.4+5\android\src\main\java\io\flutter\plugins\firebaseauth\FirebaseAuthPlugin.java:658: error: cannot find symbol
public void onComplete(@nonnull Task task) {
^
symbol: class NonNull
location: class FirebaseAuthPlugin.SignInCompleteListener
C:\flutter.pub-cache\hosted\pub.dartlang.org\firebase_auth-0.8.4+5\android\src\main\java\io\flutter\plugins\firebaseauth\FirebaseAuthPlugin.java:677: error: cannot find symbol
public void onComplete(@nonnull Task task) {
^
symbol: class NonNull
location: class FirebaseAuthPlugin.TaskVoidCompleteListener
C:\flutter.pub-cache\hosted\pub.dartlang.org\firebase_auth-0.8.4+5\android\src\main\java\io\flutter\plugins\firebaseauth\FirebaseAuthPlugin.java:695: error: cannot find symbol
public void onComplete(@nonnull Task task) {
^
symbol: class NonNull
location: class FirebaseAuthPlugin.GetSignInMethodsCompleteListener
C:\flutter.pub-cache\hosted\pub.dartlang.org\firebase_auth-0.8.4+5\android\src\main\java\io\flutter\plugins\firebaseauth\FirebaseAuthPlugin.java:197: error: cannot find symbol

                  public void onComplete(@NonNull Task<AuthResult> task) {
                                          ^

symbol: class NonNull
C:\flutter.pub-cache\hosted\pub.dartlang.org\firebase_auth-0.8.4+5\android\src\main\java\io\flutter\plugins\firebaseauth\FirebaseAuthPlugin.java:540: error: cannot find symbol
public void onComplete(@nonnull Task task) {
^
symbol: class NonNull
C:\flutter.pub-cache\hosted\pub.dartlang.org\firebase_auth-0.8.4+5\android\src\main\java\io\flutter\plugins\firebaseauth\FirebaseAuthPlugin.java:607: error: cannot find symbol
public void onAuthStateChanged(@nonnull FirebaseAuth firebaseAuth) {
^
symbol: class NonNull
9 errors
FAILURE: Build failed with an exception.

  • What went wrong:
    Execution failed for task ':firebase_auth:compileDebugJavaWithJavac'.

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

BUILD FAILED in 3m 20s


The Gradle failure may have been because of AndroidX incompatibilities in this Flutter app.
See https://goo.gl/CP92wY for more information on the problem and how to fix it.


Gradle task assembleDebug failed with exit code 1
`

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant