w3hello.com logo
Home PHP C# C++ Android Java Javascript Python IOS SQL HTML videos Categories
Why is "Duplicate zip entry [classes.jar:android/support/v7/appcompat/R$styleable.class]" with android-sdk-plugin?

I have got solution from google group of "scala-on-android". Author of pfn/android-sdk-plugin provided the solution. Here is the solution

Since androidlibs is library project, it's build.sbt MUST have libraryProject in Android := true, this enables plugin not to include resource(R.java & TR.scala) files of libraries. If "compact" library resources are been referred by app then library has to be included in "libraryDependencies" of app explicitly. typedResources in Android := false has to be included in local library in case if your library shouldn't generate resource files

© Copyright 2018 w3hello.com Publishing Limited. All rights reserved.