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

后端 未结 3 1899
孤城傲影
孤城傲影 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: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.

提交回复
热议问题