Hi,
I'm trying to use GAE from Android Studio 2.2 and I'm running into this
error: I've rebuilt the project with no errors but the crash happens when I
try to run the app. Apparently, *sep_approx_spanish.txt *appears in the two
gae jars as shown in the error below. How do I resolve this?
I've tried this in the app's build.gradle file:
packagingOptions {
exclude 'META-INF/DEPENDENCIES.txt'
exclude 'META-INF/LICENSE.txt'
exclude 'META-INF/NOTICE.txt'
exclude 'META-INF/ASL2.0'
exclude 'META-INF/NOTICE'
exclude 'META-INF/LICENSE'
exclude 'META-INF/maven'
exclude
'META-INF/com/google/appengine/repackaged/org/apache/commons/codec/language/bm/sep_approx_spanish.txt'
}
FAILURE: Build failed with an exception.
* What went wrong:
Execution failed for task
':testapp:transformResourcesWithMergeJavaResForDebug'.
> com.android.build.api.transform.TransformException:
com.android.builder.packaging.DuplicateFileException: Duplicate files
copied in APK
com/google/appengine/repackaged/org/apache/commons/codec/language/bm/sep_approx_spanish.txt
File1:
/Users/aubreymalabie/.gradle/caches/modules-2/files-2.1/com.google.appengine/appengine-endpoints/1.9.42/5c25efed254f8f9846d04b156e68283055efd320/appengine-endpoints-1.9.42.jar
File2:
/Users/aubreymalabie/.gradle/caches/modules-2/files-2.1/com.google.appengine/appengine-api-1.0-sdk/1.9.42/c972bc847992e5512eb4338a38cc2392e56760f6/appengine-api-1.0-sdk-1.9.42.jar
--
You received this message because you are subscribed to the Google Groups
"Google App Engine" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To post to this group, send email to [email protected].
Visit this group at https://groups.google.com/group/google-appengine.
To view this discussion on the web visit
https://groups.google.com/d/msgid/google-appengine/6897f8f0-6c26-48dc-9c07-1f9c5a773c32%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.