Android Studio Development

asked 2014-10-12 10:36:57 -0500

TheCurl gravatar image

Hello, i tried to build an app with Android Studio like it is described in .

I also modified the dependencies to match the workaround but i still get the error when i try to build it. Then i get always following error message: Failed to run command:
    /opt/homebrew-cask/Caskroom/android-studio/0.8.6 build-135.1339820/Android --dex --output /Users/TheCurl/git/Ros/app/build/intermediates/pre-dexed/debug/xml-apis-1.0.b2-b76fbe8f744c59044b7848bb585dd56e032743cb.jar /Users/TheCurl/.gradle/caches/modules-2/files-2.1/xml-apis/xml-apis/1.0.b2/3136ca936f64c9d68529f048c2618bd356bf85c9/xml-apis-1.0.b2.jar
  Error Code:

    trouble processing "javax/xml/parsers/DocumentBuilder.class":

    Ill-advised or mistaken usage of a core class (java.* or javax.*)
    when not building a core library.

My build.gradle:

apply plugin: ''

android {
    compileSdkVersion 20
    buildToolsVersion "20.0.0"

    defaultConfig {
        applicationId "com.example.TheCurl.ros"
        minSdkVersion 13
        targetSdkVersion 20
        versionCode 1
        versionName "1.0"
    buildTypes {
        release {
            runProguard false
            proguardFiles getDefaultProguardFile('proguard-android.txt'), ''

repositories {
    maven {
        url ''


dependencies {
    compile fileTree(dir: 'libs', include: ['*.jar'])
    compile ''
    compile 'org.ros.android_core:android_gingerbread_mr1:[0.1,0.2)'
        exclude group: 'junit'
        exclude group: 'xml-apis'
    compile 'org.ros.rosjava_core:rosjava:[0.1,0.2)'
edit retag flag offensive close merge delete