1

enter image description here

I used the VCS option to import a harmonyOs project from gitee to my Dev Eco Studio and the build failed due to the above errors , please help me resolve it

Gitee(link of the repo which i was trying to open): https://gitee.com/openharmony-tpc/EasyPrefs

zhangxaochen
  • 32,744
  • 15
  • 77
  • 108
ajith m
  • 31
  • 3
  • 2
    hi@ajith m, Could you please share more details about the error info, DevEco Studio version, SDK version?You could also directly submit an issue in the Gitee. – zhangxaochen Nov 04 '21 at 11:52

1 Answers1

0

Using the Project from Version Control in File ->New to import the project at the link https://gitee.com/openharmony-tpc/EasyPrefs in DevEco Studio Release 2.1 Build Version 2.1.0.501, or downloading the project and opening it in the DevEco Studio release version, I can successfully sync the project with Gradle files and build the debug Hap as shown in the screenshot below.

enter image description here

You need to add the “installationFree”: false in the config.json file as shown below.

enter image description here

Zinna
  • 1,947
  • 2
  • 5
  • 20