i'm trying switch intellij idea 12 android studio 0.2.1 android project setup maven-android-plugin. use actionbarsherlock apklib dependency.
when try build project android studio fails @ pre-dexing phase with
error:android pre dex: [xpp3-1.1.4c.jar] trouble processing "javax/xml/namespace/qname.class": error:android pre dex: [xpp3-1.1.4c.jar] ill-advised or mistaken usage of core class (java.* or javax.*) error:android pre dex: [xpp3-1.1.4c.jar] when not building core library. error:android pre dex: [xpp3-1.1.4c.jar] due inadvertently including core library file error:android pre dex: [xpp3-1.1.4c.jar] in application's project, when using ide (such error:android pre dex: [xpp3-1.1.4c.jar] eclipse). if sure you're not intentionally defining error:android pre dex: [xpp3-1.1.4c.jar] core class, explanation of what's error:android pre dex: [xpp3-1.1.4c.jar] going on. however dependency xpp3 actionbarsherlock , if project structure see has scope "provided". in opinion should not pre-dexed or included apk @ all.
have made similar observations? or did android-maven-project actionbarsherlock dependency build in android studio? hints on how working android studio appreciated :)
regards frank
i have found problem. has nothing android studio or actionbar sherlock apklib dependency incorrectly declared have dependencies xpp3 , xmlparserapis scope "compile" should "provided".
idea 12 had no problems android studio/idea 13 preview seems more strict.
just changing scope "provided" in project structure solves problem.
Comments
Post a Comment