Godot Version
4.5
Question
I am trying to build an Android plugin to use with a Godot game.
I am familiar with Android Studio and building libraries.
So I follow the guide and build my library(plugin) as an aar file.
My manifest file is included in the aar file and it contains:
<?xml version="1.0" encoding="utf-8"?>
<manifest xmlns:android="http://schemas.android.com/apk/res/android">
<application>
<meta-data
android:name="org.godotengine.plugin.v2.FirebasePlugin"
android:value="com.test.godotplugin.FirebasePlugin" />
</application>
</manifest>
com.test.godotplugin is my package name and FirebasePlugin is my class name (FirebasePlugin.java)
I build the aar and then place it to the folder “android\plugins\FirebasePlugin” under root folder of my Godot project:
plugin.cfg is :
[plugin]
name=“FirebasePlugin”
binary_type=“local”
description=“Firebase plugin for Godot”
platforms=Android
Then I install the apk on my phone and check logcat.
What I see is:
2025-10-25 12:50:58.184 17769-17852 godot com.test.game E ERROR: Failed to retrieve non-existent singleton ‘FirebasePlugin’.
2025-10-25 12:50:58.184 17769-17852 godot com.test.game E at: get_singleton_object (core/config/engine.cpp:308)
what may be the issue here ?
