Error:Execution failed for task ':app:dexDebug'. > comcommand finished with non-zero exit value 2

后端 未结 5 1101
抹茶落季
抹茶落季 2020-12-21 14:10

In android studio I implement push notification. I downloaded a demo and import in android studio. There is no problem in source code but when I run this program it will sh

5条回答
  •  谎友^
    谎友^ (楼主)
    2020-12-21 14:40

    Not sure if you've tried it yet, but I removed the .bin and .lock files from the .gradle folder (but kept cache.xml) and it built successfully! Problem solved for me.

    I switched to JDK 7 but it didn't change anything so back to version 8.

提交回复
热议问题