greenrobot / greenDAO

greenDAO is a light & fast ORM solution for Android that maps objects to SQLite databases.
http://greenrobot.org/greendao/
12.63k stars 2.89k forks source link

error: cannot find symbol db.execSQL("CREATE TABLE " + constraint + "\ symbol: method makeConcatWithConstants(Lookup,String,MethodType,String) location: interface StringConcatFactory #1114

Open PatriciaTot opened 5 months ago

PatriciaTot commented 5 months ago

Hello ! I am encountering a compilation error when using GreenDAO 3.2.2 in an Android SDK 33 project with Java 8. The error persists in the generated build files by GreenDAO, specifically in the "db.execSQL" statement. The error message is as follows:

error: cannot find symbol
db.execSQL("CREATE TABLE " + constraint + "\ symbol: method makeConcatWithConstants(Lookup,String,MethodType,String) location: interface StringConcatFactory

I have already updated my project to use StringBuilder for string concatenation throughout, but the issue remains.

greenrobot-team commented 4 months ago

I have already updated my project to use StringBuilder

So you are saying you think your code was using StringConcatFactory? Maybe this is this issue: https://stackoverflow.com/a/76876630/9187282