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 add(GameServices.class); #23

Closed
Aprimez opened this issue Dec 10, 2021 · 3 comments
Closed

error: cannot find symbol add(GameServices.class); #23

Aprimez opened this issue Dec 10, 2021 · 3 comments

Comments

@Aprimez
Copy link

Aprimez commented Dec 10, 2021

How is my MainActivity supposed to look?
I get this error: cannot find symbol add(GameServices.class);
My code looks like this

public void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        add(GameServices.class);
}

What's wrong?

@Aprimez
Copy link
Author

Aprimez commented Dec 12, 2021

This is because it doesnt work on Capacitor3

@crowbait
Copy link

crowbait commented Dec 12, 2021

No. Missing symbol most likely comes, because you missed the import statement.
import io.openforge.gameservices.GameServices;
For further issues, please open or edit this issue to be more descriptive of the actual problem.
I've had a look at the java source and it should still run. I'm still sure it's possible to use with Cap3.

@jedihacks
Copy link
Member

@Ricardo385 just updated for v4 - hopefully that helps!

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

3 participants