Gradle Build gets stuck at Executing tasks: [:app:generateDebugSources, :app:generateDebugAndroidTestSources]

后端 未结 3 1843
孤城傲影
孤城傲影 2021-02-03 14:34

I am running Android Studio 1.3.2 on Ubuntu 14.04, with build-tools version 23.0.0.

Whenever I load any project, after the indexing is complete, Gradle shows Gradle Bui

相关标签:
3条回答
  • 2021-02-03 15:08

    I had similar problem. Changing buildToolsVersion in build gradle file worked for me.

    0 讨论(0)
  • 2021-02-03 15:26

    sudo apt-get install lib32z1

    This dependency was missing in my Ubuntu.. Got it fixed after installing it

    0 讨论(0)
  • 2021-02-03 15:28

    I managed to solve the problem after a lot of trial and error.

    • Firstly I changed the build-tools version to 22.0.1. I know this is an outdated version, but it worked for me.
    • After that, Gradle build finished with an aapt error, for which I installed the following.

    sudo apt-get install lib32stdc++6 sudo apt-get install lib32z1

    These solved the problem for me.

    0 讨论(0)
提交回复
热议问题