godot android plugin not found?

:information_source: Attention Topic was automatically imported from the old Question2Answer platform.
:bust_in_silhouette: Asked By JeremiasDev

i tried to make a own plugin and i made all what here was written

Creating Android plugins — Godot Engine (stable) documentation in English

but if i run the game on android, the label say: “Plugin not found”

and i dont understand all. And if i implement the firstplugin.release.aar and firstplugin.gdap, then i ask in the normal gdscript:

extends Node2D

func _ready ():

if Engine.has_singleton ("FirstPlugin"):
var singleton = Engine.get_singleton ("FirstPlugin")
print (singleton.myFirstFunction (5,9))
$ Label.text = "Plugin found"
else:
print ("Plugin not found")
$ Label.text = "Plugin not found"

and in android studio my scripts:

part of gradle.build (app):

dependencies {

    implementation 'androidx.appcompat: appcompat: 1.2.0'
    implementation 'com.google.android.material: material: 1.3.0'
    implementation 'androidx.constraintlayout: constraintlayout: 2.0.4'
    testImplementation 'junit: junit: 4. +'
    androidTestImplementation 'androidx.test.ext: junit: 1.1.2'
    androidTestImplementation 'androidx.test.espresso: espresso-core: 3.3.0'
}

and gradle.settings:

include ': FirstPlugin'
include ': godot-lib.3.2.3.stable.release'
include ': app'
rootProject.name = "FirstPlugin"

what i do wrong? Who can help me?

Or can anyone tell me how i can create my own android Plugin step by step? I don´t understand anything in the godot docs!

Thanks :slight_smile: