If it's a bug, why does the button work for me?

Did you try disabling "Use Gradle Build"?

Try searching the github issues. I found several by searching for "TouchScreenButton".

    DaveTheCoder Maybe it only doesnt work when you use gradle. From my understanding i need to use gradle because of my plugins or something.

    edit: it also doesn't work without grade. I have know idea what im doing wrong T-T

    Tested two different projects on 2 different versions of godot on 2 different emulators with different settings, nothing works. Slowly loosing my mind 🙂

    I installed test2.apk on my Android phone.

    Both buttons work. If I touch the left button, "touchscreen button pressed" is displayed. If I touch the right button, "normal button pressed" is displayed.

      DaveTheCoder huh? So why does it not work for me. Maybe I should install a new version of android studio but I doubt that is the cause. The funny thing is everything worked normally before…

      I have Android Studio installed, and have used it for making Android apps using Kotlin and Dart/Flutter.

      But I've never used it for emulating a Godot Android app. I'd like to do that, but haven't figured out how. If you can provide instructions on how to do that, I could try it and see if I can duplicate the problem you're having.

        i was testing a litttle bit more and it turns out it doesn't detect any touch input, only mouse.

        a month later

        The instructions you provided were too vague, and I haven't been motivated to spend the time figuring out the details.

        It might not help solve your problem anyway.