sugar ORM学习

Posted by wjch on 2015-06-17 本文总阅读量

####1.遇到的一个小坑:

Error:(7, 9) Gradle: Execution failed for task ':app:processDebugManifest'.

Manifest merger failed : Attribute application@icon value=(@drawable/launcher) from AndroidManifest.xml:7:9
is also present at com.github.satyan:sugar:1.3:13:9 value=(@drawable/ic_launcher)
Suggestion: add 'tools:replace="android:icon"' to element at AndroidManifest.xml:5:5 to override

原因是版本号不够,把版本改为1.3.1就修复了.