PGSGP icon indicating copy to clipboard operation
PGSGP copied to clipboard

Nonexistent function 'init' in base 'JNISingleton'.

Open LowBudgetHomebrew opened this issue 4 years ago • 7 comments

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'.

LowBudgetHomebrew avatar May 28 '21 11:05 LowBudgetHomebrew

I'm having same error.

Did you find solution for this?

Ronfer avatar Sep 18 '21 13:09 Ronfer

@Ronfer, nope

LowBudgetHomebrew avatar Sep 20 '21 12:09 LowBudgetHomebrew

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

Ronfer avatar Sep 21 '21 07:09 Ronfer

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

LowBudgetHomebrew avatar Oct 28 '21 18:10 LowBudgetHomebrew

@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.

rickwillcox avatar Nov 26 '21 05:11 rickwillcox

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

LowBudgetHomebrew avatar Nov 27 '21 14:11 LowBudgetHomebrew

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 :)

MartinDanihelDev avatar Nov 30 '22 10:11 MartinDanihelDev