Android Studio Weird Warning -
after updated support library 23.1.1
23.4.0
warning cannot access android.support.v4.app.basefragmentactivityeclair
on every call super , every instance of appcompatactivity
and if updated support library 24.1.1
warning changes cannot access android.support.v4.app.basefragmentactivityjb
.
can tell me why warning shown , how can remove warning:
here dependencies before: (no error in this)
compile 'com.android.support:palette-v7:23.1.1' compile 'com.android.support:gridlayout-v7:23.1.1' compile 'com.android.support:support-v4:23.1.1' compile 'com.android.support:appcompat-v7:23.1.1' compile 'com.android.support:design:23.1.1' compile 'com.android.support:cardview-v7:23.1.1'
here dependencies after cannot access android.support.v4.app.basefragmentactivityeclair
warning:
compile 'com.android.support:palette-v7:23.4.0' compile 'com.android.support:gridlayout-v7:23.4.0' compile 'com.android.support:support-v4:23.4.0' compile 'com.android.support:appcompat-v7:23.4.0' compile 'com.android.support:design:23.4.0' compile 'com.android.support:cardview-v7:23.4.0'
here dependencies after cannot access android.support.v4.app.basefragmentactivityjb
warning:
compile 'com.android.support:palette-v7:24.1.1' compile 'com.android.support:gridlayout-v7:24.1.1' compile 'com.android.support:support-v4:24.1.1' compile 'com.android.support:appcompat-v7:24.1.1' compile 'com.android.support:design:24.1.1' compile 'com.android.support:cardview-v7:24.1.1'
we ran similar problem when 1 of packages in our project had dependencies on version 24.0 support libraries , package dependent on version 23.4.0. seems problem android studio (intellij) ide, not compiler, because able build , run project without problems. resolved warning reverting 24.0 dependency 23.4.0. suspect going other direction (advancing of our package dependencies 24.0) have eliminated warning didn't experiment due number of packages in our project.
Comments
Post a Comment