I was making some library functions for using the camera in OpenHarmony for the JS API. When I used the tag in the HML file, the Previewer couldn't load it. Moreover, DevEco Studio 3.0.0.900 doesn't support emulators, so I have no other way to test those functions. How should I deal with this?
Asked
Active
Viewed 75 times
1

zhangxaochen
- 32,744
- 15
- 77
- 108

Ankit Oscar
- 11
- 1
-
Can you provide a log of the previewer for us to check? – zhangxaochen May 30 '22 at 06:48
-
`[phone][Console INFO] 05/30 22:55:57 27772 app Log: Application onCreate`. This is the only log statement coming while opening the previewer. – Ankit Oscar May 30 '22 at 17:26
-
Choose help > show log, and the previewer.log file will be displayed. – zhangxaochen May 31 '22 at 02:41
-
Here is the [link](https://drive.google.com/file/d/191Rf1d-8vPR0jaQCYSZl9Rb2ZmsNk9a6/view?usp=sharing) to the previewer.log file up until now. – Ankit Oscar May 31 '22 at 11:41
-
Looks like i can't access your log file. can you send your log to hmscore@huawei.com? – zhangxaochen Jun 02 '22 at 01:01
-
1I have sent the file to the address you provided. – Ankit Oscar Jun 02 '22 at 04:51
-
Sorry, the team confirmed that currently camera component do not support preview on the previewer and simulator. You are advised to perform the test on a Real Device. – zhangxaochen Jun 07 '22 at 09:15