Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
PatriciaTot opened this issue Jan 31, 2024 · 1 comment

Comments

@PatriciaTot
Copy link

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
Copy link
Collaborator

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants