-
-
Notifications
You must be signed in to change notification settings - Fork 5
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
Unable to get it to work (Engine.get_singleton("GodotFAN") is causing problems) #9
Comments
did you try using the Example provided with the plugin ? |
Sorry for the late reply as the email went in spam. Yes, I tried it with
the example provided and it gives an error: Couldn't find singleton for
class: org/godotengine/godot/GodotFAN (logcat attached below). So I placed
the GodotFAN/src/GodotFAN.java inside the android folder. And then the
execution of the build failed (image attached below).
Thanks for your time.
…On Fri, Dec 25, 2020 at 7:40 PM Zakaria Guenna ***@***.***> wrote:
did you tried using the Example provided with the plugin ?
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
<#9 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/ARG7PTVDP6SQ6JVJNX2N7RTSWSMNXANCNFSM4VJCZZLA>
.
|
You should place the complete folder inside of android folder : example : |
PqW2bLKkxn.mp4I have tested the plugin on the last stable version of godot |
Can you check the attached screenshot below and tell me whether the folder
placement is correct? Also in the screenshot on the right side (last line)
it says failed to retrieve non-existent singleton "GodotFAN".
…On Sun, Dec 27, 2020 at 12:06 AM Zakaria Guenna ***@***.***> wrote:
https://user-images.githubusercontent.com/27586088/103157266-36969d80-47c2-11eb-9087-d013a196c099.mp4
I have tested the plugin on the last stable version of godot 3.2.3, it is
still working as expected
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
<#9 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/ARG7PTQ74QN4QUHNG3W64CTSWYUKHANCNFSM4VJCZZLA>
.
|
The folder architecture should be the same as the example provided with the plugin , check it . |
I tried everything. But Engine.get_singleton("GodotFAN") returns null
always. Is there a way I can just add some java test file so that it
returns not null just to check? Also I am using windows. Can that be the
reason that it is not working?
…On Sun, Dec 27, 2020 at 4:19 PM Zakaria Guenna ***@***.***> wrote:
The folder architecture should be the same as the example provided with
the plugin , check it .
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
<#9 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/ARG7PTVADWHEE2RY3TOZAMLSW4GLLANCNFSM4VJCZZLA>
.
|
are you testing on Android or only on windows ? |
Checked on phone. Bug report on phone is attached.
…On Mon, Dec 28, 2020 at 11:12 PM Zakaria Guenna ***@***.***> wrote:
are you testing on Android or only on windows ?
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
<#9 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/ARG7PTQIZQ4PNJZS6FHJAWDSXC7RLANCNFSM4VJCZZLA>
.
|
issue in bug report is similar as this
godotengine/godot#22859
On Mon, Dec 28, 2020 at 11:15 PM Rahul Khanna <rahul.rajesh.khanna@gmail.com>
wrote:
… Checked on phone. Bug report on phone is attached.
On Mon, Dec 28, 2020 at 11:12 PM Zakaria Guenna ***@***.***>
wrote:
> are you testing on Android or only on windows ?
>
> —
> You are receiving this because you authored the thread.
> Reply to this email directly, view it on GitHub
> <#9 (comment)>,
> or unsubscribe
> <https://github.com/notifications/unsubscribe-auth/ARG7PTQIZQ4PNJZS6FHJAWDSXC7RLANCNFSM4VJCZZLA>
> .
>
|
error: cannot find symbol interstitialAd.setALlistener(new
InterstitialAdListener()
Any idea why is it occurring on line 69 of GodotFAN.java? Please check the
screenshot. There are 3 errors like this.
On Mon, Dec 28, 2020 at 11:25 PM Rahul Khanna <rahul.rajesh.khanna@gmail.com>
wrote:
… issue in bug report is similar as this
godotengine/godot#22859
On Mon, Dec 28, 2020 at 11:15 PM Rahul Khanna <
***@***.***> wrote:
> Checked on phone. Bug report on phone is attached.
>
> On Mon, Dec 28, 2020 at 11:12 PM Zakaria Guenna ***@***.***>
> wrote:
>
>> are you testing on Android or only on windows ?
>>
>> —
>> You are receiving this because you authored the thread.
>> Reply to this email directly, view it on GitHub
>> <#9 (comment)>,
>> or unsubscribe
>> <https://github.com/notifications/unsubscribe-auth/ARG7PTQIZQ4PNJZS6FHJAWDSXC7RLANCNFSM4VJCZZLA>
>> .
>>
>
|
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Engine.get_singleton("GodotFAN") is returning null. So folder "GodotFAN" is not being fetched. I placed GodotFAN under android folder as mentioned and then added modules="org/godotengine/godot/GodotFAN" in project setting > Compression> Android.
What am I doing wrong as error is mostly on my side? Thanks for your time.
Code is like this only for interstitial ads:
The text was updated successfully, but these errors were encountered: