ic_launcher.png (duplicate?) in metawear-1.6.21 library
I was able to build and run the Android sample app successfully on one PC by updating the build files in the sample app with these dependencies:
com.android.tools.build:gradle to version 1.2.3
com.android.tools.build:gradle to version 1.2.3
and
com.android.support:support-v4 to version 22.2.0
com.android.support:support-v4 to version 22.2.0
However on a different machine, the build would fail with these notes:
\app\build\intermediates\res\ debug\drawable-hdpi-v4\ic_ launcher.png: error: Duplicate file
\app\build\intermediates\res\ debug\drawable-hdpi\ic_ launcher.png: Original is here. The version qualifier may be implied
\app\build\intermediates\res\
\app\build\intermediates\res\
I found this stackoverflow answer (http://stackoverflow.com/a/ 29977893/3066295) which suggests that libraries should not contain ic_launcher.png
Can anyone confirm this is a problem with the metawear library ?
(I also see many warnings stating "libpng warning: iCCP: Not recognizing known sRGB profile that has been edited", but I don't believe that is causing the build error)
Thanks!
(I also see many warnings stating "libpng warning: iCCP: Not recognizing known sRGB profile that has been edited", but I don't believe that is causing the build error)
Thanks!
This discussion has been closed.
Comments
Since updating the SDK on the PC to latest versions it too is now having the same build problem detailed above. It used to have
Android SDK Tools 24.2
Android Support Repository 14
Android Support Library 22.1.1
- (and that is with the latest Android support library 22.2.0)