First Flutter App error: cannot resolve symbol “Properties”

前端 未结 13 2328
南旧
南旧 2020-12-29 04:46

I followed the steps in the Flutter document and tried to build my first Flutter app in Intellij IDEA. And when I try to run it,there was an error about my JAVA_HOME variabl

13条回答
  •  长发绾君心
    2020-12-29 04:59

    This issue is due to the not pointing to correct Android API Platform

    Solution :

    In the Android Studio File > Project Structure

    1. Now a window pops up
    2. Within that select Project Settings/Project
    3. Make sure Project SDK is set to latest platform as mentioned in the pic below

    1. Next select Project Settings/Modules sub tab
    2. There select the lastest Android SDK you select as earlier

    1. Finally replace the GradleException() with FileNotFoundException() as mentioned below

提交回复
热议问题