android - Google App Engine Module Error:Execution failed for task ':app:transformClassesWithDexForDebug'. > java.io.IOException: Failed to delete -
trying compile android app google app engine module darn thing won't work. working before reason after cleared android studio cache , restarted, stopped compiling. here error get:
error:execution failed task ':app:transformclasseswithdexfordebug'. > java.io.ioexception: failed delete /users/me/androidstudioprojects/mycoolapp/app/build/intermediates/pre-dexed/debug/appengine-api-1.0-sdk-1.9.18_0179742441e08a2aeb8477eb85038e2130d180e7.jar i checked folder , above file not exist - why try delete it?
i tried putting in dummy file above name hoping might work did not.
here gradle files like:
app
apply plugin: 'com.android.application' android { compilesdkversion 23 buildtoolsversion "23.0.2" defaultconfig { applicationid "com.me.mycoolapp" minsdkversion 13 targetsdkversion 23 versioncode 1 versionname "1.0" } buildtypes { release { minifyenabled false proguardfiles getdefaultproguardfile('proguard-android.txt'), 'proguard-rules.pro' } } } dependencies { compile filetree(dir: 'libs', include: ['*.jar']) compile 'com.google.android.gms:play-services-gcm:8.4.0' //needed gcm testcompile 'junit:junit:4.12' compile project(path: ':backend', configuration: 'android-endpoints') compile 'com.android.support:appcompat-v7:23.1.1' compile 'com.android.support:design:23.1.1' compile project(':backend') } apply plugin: 'com.google.gms.google-services' // needed gcm project:
// top-level build file can add configuration options common sub-projects/modules. buildscript { repositories { jcenter() } dependencies { classpath 'com.android.tools.build:gradle:2.0.0-alpha3' classpath 'com.google.gms:google-services:2.0.0-alpha3' // needed gcm // note: not place application dependencies here; belong // in individual module build.gradle files } } allprojects { repositories { jcenter() } } task clean(type: delete) { delete rootproject.builddir }
very dumb reason (i have no clue why) android studio added line file
compile project(':backend')
dependencies { compile filetree(dir: 'libs', include: ['*.jar']) compile 'com.google.android.gms:play-services-gcm:8.4.0' //needed gcm testcompile 'junit:junit:4.12' compile project(path: ':backend', configuration: 'android-endpoints') compile 'com.android.support:appcompat-v7:23.1.1' compile 'com.android.support:design:23.1.1' //compile project(':backend') //delete } man, android studio + gae module getting annoying make these days...
Comments
Post a Comment