Open trigonometric-act opened 4 years ago
you have to Sync Project with Gradle Files.
that should work 👍
Unfortunately, I have the same issue.
/.../android/app/src/main/java/io/ionic/starter/MainActivity.java:9: error: package com.codestrixstudio.capacitor.GoogleAuth does not exist
import com.codestrixstudio.capacitor.GoogleAuth.GoogleAuth;
I've tried to
several times but it didn't help so far. Maybe you have another idea what I could try to make it run?
Thanks in advance
@julian- me too do you find a solution?
@mwmw7 unfortunately not, I did not continue since then
@trigonometric-act Did you find a solution, that could help us?
If anyone still needs this it's because you either need to import the class or reference it by it's full path, i.e. either add
import com.codetrixstudio.capacitor.GoogleAuth.GoogleAuth;
at the top of your MainActivity.java
file or add the class like this:
add(com.codetrixstudio.capacitor.GoogleAuth.GoogleAuth);
you have to Sync Project with Gradle Files.
that should work
This solved my issue with unresolved classes. Thank you very much!
Clean and build doesn't solve for me. I solved this just ignoring and run the error and running(play button); Android studio will not break when run.
you have to Sync Project with Gradle Files.
that should work 👍
Android studio can't find symbol class for Google Auth import com.codetrixstudio.capacitor.GoogleAuth.GoogleAuth; fails as it doesn't recognise 'codetrixstudio'