Recently I have developed app projects, many of which are my first time.
1. Run the project in Hbuider and the following prompt will appear.
2. There is already a uniCloud folder in the project root directory
3. If the cloud development environment has not been created, you can right-click the project and select Create uniCloud cloud development environment.
4. The created directory is as follows. index.js contains getPhoneNumber, which is needed when uniapp calls one-click login.
5. Right-click the uniCloud file folder, select the associated cloud service space or project
6. Select New in the pop-up window that pops up. At this time, you should jump to the Dloud account, find the corresponding project, and match it.
7. A troublesome thing here is that the Dcloud account I associated is my personal one. Now I need to switch to the company's account. Log in to the company's
account, find my application,
and double-click to enter the corresponding project.
8. There is a corresponding Dloud account in the lower left corner of the hbuiderx project.
Add a new company account and switch to the company account.
9. Then right-click the uniCloud account and select Associate Cloud Service Space or Project. No new operations are required. In the list existed
10. After clicking, a ticked ✔ will appear, and then select Association. At this time, the association is successful, and Alibaba Cloud: project name is displayed. 11.
Re-run the project, and the unicloud local debugging service startup failure will no longer be reported: The current project is not associated with the unicloud service space. , please adjust and run again.