Recently I faced 65K method limitation
issue in my android project. Then I started to implement multidex in that projects. When
I try to add this support library in eclipse, the issue not resolved. Still it showing
the 65K limitation. But when its working fine in Gradle+Android studio. How can i
achieve this in eclipse? Because I don't want to switch to Android studio
now.
Here is the steps I have
followed,
1) Added the
android-support-multidex.jar into build path,
2) overrided, the below method
in Application class. Since I am subclassing custom Application class.
@Override
protected
void attachBaseContext(Context base) {
// TODO Auto-generated method
stub
super.attachBaseContext(base);
MultiDex.install(this);
}
But
I can't able to achieve this in eclipse. Any solution for this?
No comments:
Post a Comment