android - How to tell how an External Library was added? -
my issue stems message:
attribute "textallcaps" has been defined
showing in messages view when trying run app. i'm getting few of these "has been defined errors". think it's because have 2 versions of support library under "external libraries" in project view of android studio. have appcompat-v7 , support-v4.
now, saw 1 of local library projects had build.gradle file declared support-v4 dependency, removed , still error. did search support-v4 , it's not located anywhere.
i think if i'm able find out causing listed under "external libraries" should able figure out why support-v4 being added.
you can information on command line dependencies
command:
user@machine$ ./gradlew app:dependencies --configuration compile :app:dependencies ------------------------------------------------------------ project :app ------------------------------------------------------------ compile - classpath compiling main sources. +--- com.android.support:support-v4:22.2.1 | \--- com.android.support:support-annotations:22.2.1 +--- com.android.support:appcompat-v7:22.2.1 | \--- com.android.support:support-v4:22.2.1 (*) +--- com.android.support:cardview-v7:22.2.1 +--- com.android.support:design:22.2.1 | +--- com.android.support:appcompat-v7:22.2.1 (*) | \--- com.android.support:support-v4:22.2.1 (*) +--- com.android.support:support-annotations:22.2.1 \--- com.squareup.okhttp:okhttp:2.4.0 \--- com.squareup.okio:okio:1.4.0 (*) - dependencies omitted (listed previously) build successful total time: 0.795 secs
this command available in "gradle" tab on right-hand side of screen in android studio, listed in "help" category.
Comments
Post a Comment