Android Studio-Java.exe is finished with non-zero exit value 2

前端 未结 7 905
故里飘歌
故里飘歌 2021-01-13 05:07

When I try to Run my app, I am getting this error:-

Error:Execution failed for task \':app:dexDebug\'.
> com.android.ide.common.process.ProcessException:          


        
7条回答
  •  失恋的感觉
    2021-01-13 05:32

    This happened for me when I was refactoring some class files to a library project and I had a duplicate name of a class file. So, double check that you do not have any duplicate names. This also appears to be a duplicate of the question here: android project: process finished with non-zero exit value 2

提交回复
热议问题