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

Error: cannot find symbol method setCurrentScreen #11

Closed
GabrielOtero opened this issue Dec 3, 2016 · 12 comments
Closed

Error: cannot find symbol method setCurrentScreen #11

GabrielOtero opened this issue Dec 3, 2016 · 12 comments

Comments

@GabrielOtero
Copy link

I got a wierd error when trying to build

I dont know if I am making some mistake or the error really happen

The way i found to can build the project was comment this methos, once e dont need it :)

screen shot 2016-12-02 at 23 47 27

@FdezRomero
Copy link
Contributor

I'm using setCurrentScreen on Android and it builds and works correctly. Maybe you are using an older version of the Firebase package from another plugin?

@GabrielOtero
Copy link
Author

I dont think so.

I've created a new ionic project with
$ ionic start myApp blank
$ ionic platforms add android
$ cordova plugin add cordova-plugin-firebase-analytics --save
$ ionic build android

and I got same error

@FdezRomero
Copy link
Contributor

@GabrielOtero Are you using any other plugins?

@GabrielOtero
Copy link
Author

No :(

Even with a new projects, just with this plugin, I got the same error.
Could be versions?

Node v4.4.7
Cordova v6.4.0
Ionic v2.1.14

@FdezRomero
Copy link
Contributor

Can you do cordova plugin ls and paste the output here?

@GabrielOtero
Copy link
Author

Sure

screen shot 2016-12-08 at 17 27 20

@FdezRomero
Copy link
Contributor

Open the Android SDK Manager (you can type android in the terminal if it's in your PATH) and check that you have the latest "Android Support Repository" and "Google Repository" under Extras. I believe that will update you to the latest Firebase API binaries.

@Tarekajaj
Copy link

is this solved?

@Tarekajaj
Copy link

updating "Android Support Repository" and "Google Repository" solved the issue

@GabrielOtero
Copy link
Author

GabrielOtero commented Mar 19, 2017

I've solved by

$ionic platform remove android
$ionic platform add android@6.0.0

Thanks for support :D

@chemerisuk
Copy link
Owner

I believe your warm words should go to @FdezRomero :)

@msoler95
Copy link

Upgrading capacitor-community/firebase-analytics to 0.3.3 solved the problem :)

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

5 participants