errorcode-datashare.md 507 字节
Newer Older
A
Annie_wang 已提交
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21
# DataShare Error Codes

## 15700010 Failed to Create a DataShareHelper

**Error Message**

The dataShareHelper is not initialized successfully.

**Description**

The **DataShareHelper** class fails to be created.

**Possible Causes**

1. The **uri** specified in **createDataHelper** is incorrect.
2. The **context** specified in **createDataHelper** is incorrect. **DataShare** supports only the stage model.

**Solution**

1. Obtain the correct URI.
2. Check that the context of the stage model is used.