java – Implementing Actions on google-ThrowExceptions

Exception or error:

What I try to accomplish is let my app be accessible with voice commands on google assistant
I get this error when open App Actions Test tool.
error

actions.xml

<?xml version="1.0" encoding="utf-8"?>
<actions>
    <action intentName="com.example.appname.SHOW_SWITCH_BOARD">
        <fulfillment urlTemplate="https://appname-test-6bc52.firebaseapp.com/{?switchboard}">
            <parameter-mapping
                intentParameter="switchboard.name"
                urlParameter="switchboard" />
        </fulfillment>
    </action>
</actions>
How to solve:

It looks like the intentName for your action tag isn’t one of the supported built-in Intents.

Currently, you can only use one of the pre-defined Intents to trigger your app. If your app is not in one of the categories that they currently have Intents defined for – you cannot implement App Actions.

Here is an additional video from I/O 2019 discussing App Actions: https://youtu.be/vQALSeGy9aY

Leave a Reply

Your email address will not be published. Required fields are marked *