Wenn ich die App im Android Studio laufen, bekomme ich diesen FehlerAusführung fehlgeschlagen Ausnahme
Ausführung für Aufgabe fehlgeschlagen ': App: transformClassesWithDexForDebug'.
com.android.build.api.transform.TransformException:
java.lang.RuntimeException:
java.lang.RuntimeException: Kann nicht pre-dex ‚C: \ Benutzer \ abbasooo .android \ build-Cache \ 02f0747de7a8d30b23f383d74adce1e1ad5192a4 \ output \ Krügen \ classes.jar '
zu
' C: \ Benutzer \ abbasooo \ Desktop \ tesssst \ app \ bauen \ Intermediaten \ Transformierten \ dex \ debug \ Ordner \ 1000 \ 10 \ classes_571d6b5e229e10768234d4a86b076939bc9a4c44' **
apply plugin: 'com.android.application'
android {
compileSdkVersion 24
buildToolsVersion '25.0.0'
defaultConfig {
applicationId "com.abbasooo.tesssst"
minSdkVersion 9
targetSdkVersion 24
versionCode 1
versionName "1.0"
testInstrumentationRunner "android.support.test.runner.AndroidJUnitRunner"
}
buildTypes {
release {
minifyEnabled false
proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
}
}
}
dependencies {
compile fileTree(dir: 'libs', include: ['*.jar'])
androidTestCompile('com.android.support.test.espresso:espresso-core:2.0', {
exclude group: 'com.android.support', module: 'support-annotations'
})
compile 'com.android.support:appcompat-v7:24.+'
compile 'com.android.support.constraint:constraint-layout:1.0.0-alpha7'
compile 'com.android.support:design:24.+'
testCompile 'junit:junit:4.12'
}
Das ist mein AndroidManifest.xml starken Text
<?xml version="1.0" encoding="utf-8"?>
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
package="com.abbasooo.tesssst">
<application
android:allowBackup="true"
android:icon="@mipmap/ic_launcher"
android:label="@string/app_name"
android:supportsRtl="true"
android:theme="@style/AppTheme">
<activity
android:name=".MainActivity"
android:label="@string/app_name"
android:theme="@style/AppTheme.NoActionBar">
<intent-filter>
<action android:name="android.intent.action.MAIN" />
<category android:name="android.intent.category.LAUNCHER" />
</intent-filter>
</activity>
</application>
</manifest>
Was passiert, wenn Sie das Projekt säubern und neu erstellen? – rtrigoso