mifos-mobile-cn icon indicating copy to clipboard operation
mifos-mobile-cn copied to clipboard

Build error: Cannot fix requested classes in a single dex file

Open jddeep opened this issue 5 years ago • 8 comments

Summary:

Build error: Cannot fix requested classes in a single dex file

Steps to reproduce:

Build the project.

Expected behaviour:

Successful build.

Observed behaviour:

mifos-cn

Logcat for the issue

Provided

jddeep avatar Dec 09 '19 17:12 jddeep

@jddeep I am not able reproduce the issue, can you please provide exact steps to reproduce it?

luckyman20 avatar Dec 12 '19 13:12 luckyman20

@luckyman20 I just forked and cloned the project and built it. And it gave me the above errors as in the screenshot.(master branch).

jddeep avatar Dec 12 '19 14:12 jddeep

@jddeep Sorry but I am not getting the error. Can anyone please confirm this? @abhijitramesh @rachittt @laxyapahuja @PiyushSharma99

luckyman20 avatar Dec 12 '19 16:12 luckyman20

@jddeep Sorry but I am not getting the error. Can anyone please confirm this? @abhijitramesh @rachittt @laxyapahuja @PiyushSharma99

i also can't reproduce the error.

laxyapahuja avatar Dec 12 '19 18:12 laxyapahuja

@jddeep Sorry but I am not getting the error. Can anyone please confirm this? @abhijitramesh @rachittt @laxyapahuja @PiyushSharma99 Cannot get the error.

rchtgpt avatar Dec 12 '19 19:12 rchtgpt

@jddeep Sorry but I am not getting the error. Can anyone please confirm this? @abhijitramesh @rachittt @laxyapahuja @PiyushSharma99

@luckyman20 I did had a multidexing error while initial building of the project. :thinking:

PiyushSharma99 avatar Dec 13 '19 02:12 PiyushSharma99

@luckyman20 I faced this error and hence made the PR. Enabling multidexing is no harm and should be enabled anyways to avoid untimely errors these days in projects. It's just some config and dependencies addition in the gradle file. Do give the PR a look and merge/close it at your choice. The error is resolved on my cloned project after making the changes. Thanks :+1:

jddeep avatar Dec 15 '19 07:12 jddeep

i am working

sabya48 avatar Mar 26 '20 21:03 sabya48