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

Nonexistent function 'init' in base 'JNISingleton'. #64

Open
LowBudgetHomebrew opened this issue May 28, 2021 · 7 comments
Open

Nonexistent function 'init' in base 'JNISingleton'. #64

LowBudgetHomebrew opened this issue May 28, 2021 · 7 comments

Comments

@LowBudgetHomebrew
Copy link

Hi there!
Even the demo project has this error in Godot 3.3+
It feels like this project is abandoned a while ago but I'll still try :D

How to reproduce this error:

It's quite easy: open demo project with Godot 3.3, build it to your device and check logs with adb for this error

05-28 14:03:22.683 32653 626 E godot : **SCRIPT ERROR**: Invalid call. Nonexistent function 'init' in base 'JNISingleton'.

@Ronfer
Copy link

Ronfer commented Sep 18, 2021

I'm having same error.

Did you find solution for this?

@LowBudgetHomebrew
Copy link
Author

@Ronfer, nope

@Ronfer
Copy link

Ronfer commented Sep 21, 2021

I found out that the problem was this function play_games_services.init()
I was using wrong parameters in the function.

with play_games_services.init(true) I got the error message.
instead i used play_games_services.init(true,false,false,"") and now everything is working fine

I'm also using the latest version of Godot 3.3

@LowBudgetHomebrew

@LowBudgetHomebrew
Copy link
Author

@Ronfer, thanks for the advice, but it didn't helped :c

@rickwillcox
Copy link

@LowBudgetHomebrew Did you find a fix? I still cant figure this out. Ive remade everything from scratch and the app still crashes as soon as It gets to the init method.

@LowBudgetHomebrew
Copy link
Author

@rickwillcox, same here, but I'm not even trying anymore. This repo is abandoned and this feature request doesn't seem to appear shortly

@MartinDanihelDev
Copy link

If anyone has still this problem try to use this version:
RELEASES
I have this problem too and this updated version fixed it for me :)

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

4 participants