0

I have created a new long field in my RealmModel class and I have to migrate the existing schema. But as it turn out there is no ColumnType.LONG. When I use any other ColumnType I get -

JNI DETECTED ERROR IN APPLICATION: input is not valid Modified UTF-8: illegal continuation byte 0x2e
11-20 11:55:40.019 17835-17952/com.my.app A/art: art/runtime/check_jni.cc:65]     string: 'Unrecoverable error. Failure when converting long string to UTF-16 error_code = 2; retcode = 0; StringData.size = 8188713; StringData.data = 
4

1 に答える 1

1

基盤となるストレージ エンジンには 1 つの Integer 型しかありColumnType.INTEGERません。これは、入力のサイズに自動的に適応するため、それを使用しても問題ありません。

于 2015-11-20T07:54:32.153 に答える