Error: a problem was found with setting the collectDebugMultiDexComponents task

I upgraded Android Studio to 0.9, compiled tools to 21.1.0 and upgraded to 0.14 because I want to use the new true multiDexEnabled function. I currently manage multidex using this approach https://github.com/casidiablo/multidex and everything works, but the multiDexEnabled function seems to be better.

But using gradle 0.14, I got this error: the used -sdk element cannot have the “tools: node” attribute, which I “solved” using the solution posted by @Medo .

But if I use this approach, multiDexEnabled will not work, and I will get this error:

Error: A problem was found with the task setting ': Participactclient: collectDebugMultiDexComponents'.

The file '/ Users / danielecampogiani / Development / Android / Android Studio / Participact Client / Participactclient / build / middleates / manifes / full / debug / AndroidManifest.xml' specified for the 'manifest' property does not exist.

How to solve this?

+6
source share

Source: https://habr.com/ru/post/977620/


All Articles