简体   繁体   中英

Error: Execution failed for task ':app:packageDebug'

I am using Android Studio 2.1.1 and many times at Gradle building it gives me below message.

Can anybody help me with it! I think there some memory issue in Android Studio.

 Error:Execution failed for task ':app:packageDebug'.
> value (119282) > 0x0000ffff

And after restart, it works perfect. It's strange because in previous version 1.5.0 this issue has never occur to me.

It's a bug in latest android Studio Build, For Windows, Kill "OpenJDK Plateform Binary" Task from task Manager and It'll disappear for some next Build. Currently, There is no permanaent solution of this issue.

My issue is solved by changing gradle version from "gradle:2.2.0-alpha1" to newly arrived version "gradle:2.1.2" which was released in this month. Also I have not changed Android Studio.

I am using Android Studio 2.1.1. I think it's due to alpha version of gradle.

May be this would help to others also.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM