echopen / PRJ-medtec_androidapp

Code and issue about EchOpen display -- now on, #Android -- Perhaps some duplication with http://echopen.org/
BSD 3-Clause "New" or "Revised" License
49 stars 37 forks source link

ubuntu gradle compiling fails on drawable resources #13

Closed benchoufi closed 8 years ago

benchoufi commented 8 years ago

When compiling on Ubuntu's Android Studio, gradle throws this error :

Execution failed for task 'app:mergeDebugResources' ic_comment.png failed

I checked if the image is indeed a png one with pngcheck, and it is a correct formated one. Then I deleted it, then gradle still complains with other images.

benchoufi commented 8 years ago

fixed

Ubuntu settings needs gradle 1.1.3 to compile. So update of gradle buildscript with the following is needed :

dependecies{ classpath 'com.android.tools.build:gradle:1.1.3' }