登录  注册

首页->HarmonyOS应用开发者基础认证

项目需要同时进行应用和元服务的开发,并针对当前项目工程中的代码可以分别构建出应用和元服务的包,如何在 DevEco Studio 中设置不同的构建配置,达成这个目的 ( )

(A)在工程级别 build-profile.json5 定义两个 product,将两个 product 的 bundleType 分别设置成 app 和 atomicService

(B)修改工程级别的 AppScope/app,json5 中的 bundleType 值为 atomicService

(C)修改工程级别的 AppScope/app,json5 中的 bundleType 值为 aPP

(D)在模块级别 build-profilejson5 定义两个 target,将两个 target 的 bundleType 分别设置成 app 和 atomicService

参考答案
继续答题:下一题
微考学堂微考学社

更多HarmonyOS应用开发者基础认证试题

考试