我试图从Intellij Idea 12切换到Android Studio 0.2.1 目前我的android项目是使用maven-android-plugin安装的。我使用actionbarsherlock作为apklib依赖项。Android Studio Pre Dexing失败
当我尝试建立与Android Studio中的项目失败德兴前阶段与
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 a core class (java.* or javax.*)
Error:Android Pre Dex: [xpp3-1.1.4c.jar] when not building a core library.
Error:Android Pre Dex: [xpp3-1.1.4c.jar] This is often due to inadvertently including a core library file
Error:Android Pre Dex: [xpp3-1.1.4c.jar] in your application's project, when using an IDE (such as
Error:Android Pre Dex: [xpp3-1.1.4c.jar] Eclipse). If you are sure you're not intentionally defining a
Error:Android Pre Dex: [xpp3-1.1.4c.jar] core class, then this is the most likely explanation of what's
Error:Android Pre Dex: [xpp3-1.1.4c.jar] going on.
但是到XPP3唯一的依赖是从actionbarsherlock,如果你考虑项目结构你看,它有“提供”的范围。所以在我看来,这不应该是预先排好的或者包含在apk中。
你有没有做过类似的观察?或者你有没有得到一个android-maven项目与actionbarsherlock依赖在android studio中构建?关于如何得到这个工作与Android工作室任何提示赞赏:)
问候 弗兰克
如何将支持库依赖项添加到您的项目中? – maclir
使用Maven:' com.google.android 支持-V4 ' –
Frank
你不想使用Android工作室的gradle与构建系统? – maclir