Huawei CloudDB createObjectType() crash

Try to use below function:

public void createObjectType() {

    try {
        mCloudDB.createObjectType(ObjectTypeInfoHelper.getObjectTypeInfo());
    } catch (AGConnectCloudDBException exp) {
        System.out.println("##error " + exp.toString());
    }
}

Crash log:

D/NaturalBase: CreateObjectType: ObjectType count: 19, version: 19

E/NaturalBase: CreateObjectType: ObjectType version downgrade is not supported. current version: 86

E/AGConnectCloudDB: Failed to create object type into the AGCConnectCloudDB.

D/AndroidRuntime: Shutting down VM

But my ObjectType is only 19. what's happened?



Read more here: https://stackoverflow.com/questions/68462898/huawei-clouddb-createobjecttype-crash

Content Attribution

This content was originally published by Rob at Recent Questions - Stack Overflow, and is syndicated here via their RSS feed. You can read the original post over there.

%d bloggers like this: