Cannot resolve symbol properties and gradle exception in android studio flutter solved

preview_player
Показать описание
How to solve cannot resolve symbol properties and gradle exception in android studio flutter is shown
Рекомендации по теме
Комментарии
Автор

Wonderful Observation. It's a Perfect Solution.

debasishbhattacherjee
Автор

tried it, worked no errors, but wont build .

FAILURE: Build failed with an exception.
What went wrong:
A problem occurred evaluating project ':app'.
> Could not find method Properties() for arguments [] on project ':app' of type org.gradle.api.Project.

builds ok with the errors

However the fix that worked for me was I just reinstalled android studio, no errors even without removing the new keyword everything builds fine

JJ-fqdh
Автор

I followed your instructions, removing the word 'new' from both lines. After removing the word new from both lines, I did a hot restart and the app ran properly, with no errors. I tried it several times and it worked perfectly. But, when I stopped the app on my emulator and tried to restart it another error occurred: Failure: Build failed with an exception on line 1. Build file line: 1.
Could not find method Properties() for arguments [] on project ':app' of type org.gradle.api.Project. BUILD FAILED in 951ms
Exception: Gradle task assembleDebug failed with exit code 1. Do, you have other recommendations that might help me to fix this problem?

jamesogletree
Автор

that worked perfectly, now l will try running

howed
Автор

Thanks! I was building a new app and it started throwing this error out of nowhere.

legen_dary