Android Studio not finding a Gradle task


(Joris K.) #1

Hello,

I have a little problem with Gradle since I updated to Android Studio 2.2.
When I open a project, I can build it but when I hit “Run”, I have this error:

Error:Execution failed for task ‘:app:transformNative_libsWithStripDebugSymbolForArmDebug’.
java.lang.NullPointerException (no error message)

I tried to clean the project, rebuild, remove the .gradle folder and the workspace.xml file but I still have the problem.

Thanks by advance for your help!


(Eric Wendelin) #2

Hi Joris,

Could you please provide a build scan or at least some context around your build files?

Based on the given information we don’t have enough to advise.

Cheers,
Eric


(Joris K.) #3

I created a new project and copied my files and it works now. I don’t know what happened, and I don’t know how to provide build scan. I will check it out! Thanks!