小编Sat*_*mar的帖子

Cordova:生成发布 APK 文件而不是 AAB 文件

我正在尝试使用Cordova 11 和build.json文件生成发布 apk 文件。Cordova 生成 AAB 文件而不是 APK 文件。这是我使用过的命令:

cordova build android --release
Run Code Online (Sandbox Code Playgroud)

cordova

14
推荐指数
1
解决办法
1万
查看次数

(无法构造 ApplicationDefaultCredentials)PHP 对话框流

use Google\Cloud\Storage\StorageClient;
use Google\Cloud\Dialogflow\V2\EntityTypesClient;

$storage = new StorageClient([
            'keyFile' => json_decode(file_get_contents(storage_path('app/public/tunepath-bot-tkpf-811257321355.json')), true)
        ]);

        $entityTypesClient = new EntityTypesClient();
        $projectId = '[project_id]';
        $entityTypeId = '[ENTITY_TYPE_ID]';
        $formattedEntityTypeName = $entityTypesClient->entityTypeName($projectId, $entityTypeId);

        $entityType = $entityTypesClient->getEntityType($formattedEntityTypeName);
        foreach ($entityType->getEntities() as $entity) {
            print(PHP_EOL);
            printf('Entity value: %s' . PHP_EOL, $entity->getValue());
            print('Synonyms: ');
            foreach ($entity->getSynonyms() as $synonym) {
                print($synonym . "\t");
            }
            print(PHP_EOL);
        }
Run Code Online (Sandbox Code Playgroud)

我已经根据文档https://github.com/googleapis/google-cloud-php-dialogflow完成了。我收到此错误 - 无法构造 ApplicationDefaultCredentials

php laravel dialogflow-es

5
推荐指数
1
解决办法
5918
查看次数

标签 统计

cordova ×1

dialogflow-es ×1

laravel ×1

php ×1