无法确定标签<cloudObjectStorage>的类型

问题描述

上下文:cloud ibm com / developer / appservice / create-app

你好, 我首先基于defaultLanguage = ANDROID,navMode = starterkits,starterKit = f52aa8e3-d683-37e5-bae6-79c5e3140e9f

创建了一个应用

下一步,我创建了一个服务:云对象存储

然后我下载了zip。

我研究了zip中的文本文件。 我在res / values / credentials.xml中找到了

<?xml version="1.0"?>
<resources>
  <cloudobjectStorage>

My local Android Studio 4.0.1 refused to compile it.
Can't determine type for tag <cloudobjectStorage>

I guess the issue is that the IBM Android Template was defined for version 3.5.3 of the Studio. 
Any idea how to make the IBM code compatible with version 4.

解决方法

这就是我所做的并按预期工作

  1. 使用ibmcloud dev交互式插件创建了Android应用
  2. 在创建应用程序时添加了Cloud Object Storage服务
  3. 将项目导入到Android Studio 4.0.1
  4. 将gradle插件更新为最新版本(6.1.1)

gradle构建成功,没有任何错误enter image description here