openharmony应用开发怎样修改sdk,比如我从社区下载的代码,比如扫码软件(https://gitee.com/openharmony/applications_app_samples/tree/OpenHarmony-4.0-Release/code/BasicFeature/Media/QRCodeScan)使用的是api10。如果要用api9进行编译,报

The compatibleSdkVersion 9 cannot be smaller than version 10 declared in library [:library] 
          as the library might be using APIS not available in 9

错误。请问一下,有什么方法可以修改项目默认使用的api版本吗?

Logo

社区规范:仅讨论OpenHarmony相关问题。

更多推荐