Building Outsystemsnow For Android On Android Studio Getting Dexexception
I've imported the Outsystems Now android app into Android Studio. After several hours of trying to import the project and resolve all module imports. I'm currently getting this err
Solution 1:
The "generic" answer to this kind of problem is that your project is including multiple libraries and some library appears twice (because it may already be included in one of your included libraries).
In this specific case it appears that the following class is defined multiple times (probably because the library it is part of is included multiple times):
android/support/v7/app/ActionBar$Callback;
You can see what libraries your project is using by running the following gradle command:
gradle -q dependencies
Once you find a duplicated library you can remove it by specifying "exclude" in the dependency section. Something like the following:
compile ('com.android.support:appcompat-v7:+'){
exclude module: 'support-v4'
}
Post a Comment for "Building Outsystemsnow For Android On Android Studio Getting Dexexception"