#1114·greenDAO

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

Author: PatriciaTotCreated Jan 31, 2024Updated Feb 5, 2024
LabelsMore info required

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.