gradle - Android Studio, NavDrawer and support library issues -
i have problem using android support library in android studio project using gradle. if add support-library dependency receive , "error: gradle: execution failed task ':appname:dexdebug'. have done researches , found problem using support-library other dependencies using support libraries (greendao 1.3.0). use navdrawer in app, have use these support library. if remove support library, of course receive inflate error "android.support.v4.widget.drawerlayout".
does here has idea?
i used 2 kind of dependency-imports compile files('libs/android-support-v13.jar') , compile 'com.android.support:support-v4:13.0.0' cause of found post in forum. doesn't work, too.
thanks support.
regards, marine
if other dependencies depend on support lib, need make sure not using local dependencies (ie embedding jar file). should use only
dependencies { compile 'com.android.support:support-v4:x.y.z' } and not local dependencies. make sure dependencies same , gradle automatically detect depends on same library , add once dex.
Comments
Post a Comment