创建的第一个有界面的默认程序,连标签都报错
上网查是说没配置安卓SDK,但是我配置了
各位看看到底哪里出了问题,昨天搞了一天,还有安卓sdk有12G正常吗?

解决方案 »

  1.   

    你gradle同步都失败了,看看报错吧
      

  2.   


    这个不用设置什么,你直接点这里同步代码,然后看报错信息
    我的那里没有大象图标,但是点开add configuration里面有,Gradle project填当前项目地址好像并没有什么用
      

  3.   


    这个不用设置什么,你直接点这里同步代码,然后看报错信息
    我的那里没有大象图标,但是点开add configuration里面有,Gradle project填当前项目地址好像并没有什么用
    这里
      

  4.   


    这个不用设置什么,你直接点这里同步代码,然后看报错信息
    我的那里没有大象图标,但是点开add configuration里面有,Gradle project填当前项目地址好像并没有什么用
    这里
    ERROR: Unsupported method: AndroidProject.getVariantNames().
    The version of Gradle you connect to does not support that method.
    To resolve the problem you can change/upgrade the target version of Gradle you connect to.
    Alternatively, you can ignore this exception and read other information from the model.
    还要升级Gradle
    我下的可是2019IDEA社区版哎
      

  5.   

    我看网上别人的都有Gradle home选项放网上下载来的Gradle