Android-Studio upgraded from 0.1.9 to 0.2.0 causing gradle build errors now

前端 未结 7 558
粉色の甜心
粉色の甜心 2020-12-02 18:57

My current project had been building with Gradle just fine, since I created it (about a month ago), after acquiring Android-Studio. [I installed some earlier updates to Andr

7条回答
  •  广开言路
    2020-12-02 19:23

    if you get this error

    Gradle: 
    FAILURE: Could not determine which tasks to execute.
    * What went wrong:
    Task 'assemble' not found in root project 'MyProject'.
    * Try:
    Run gradle tasks to get a list of available tasks.
    

    You need to edit your Projects .iml file. not the one under src. the one that is like myappProject.iml' delete the whole component name = facetmanager

    
    
    ...remove this element and everything inside such as  elements...
    
    
    ...keep this part...
    

提交回复
热议问题