相关疑难解决方法(0)

错误:任务':app:transformClassesWithInstantRunSlicerForDebug'的执行失败.> java.io.IOException:

每当我尝试运行我的应用程序时,我都会收到此错误:

错误:任务执行失败

 :app:transformClassesWithInstantRunSlicerForDebug'.
 java.io.IOException: Failed to delete 

 C:\Users\ashis\AndroidStudioProjects\FirstApp\app\build\intermediates\instant-run-support\debug\restart-changes.txt**
Run Code Online (Sandbox Code Playgroud)

这是输出:

信息:Gradle任务

[:app:assembleDebug]:app:preBuild UP-TO-DATE:app:preDebugBuild UP-TO-DATE:app:checkDebugManifest:app:preReleaseBuild UP-TO-DATE:app:prepareComAndroidSupportAnimatedVectorDrawable2340Library UP-TO-DATE:app:prepareComAndroidSupportAppcompatV72340Library最新消息:app:prepareComAndroidSupportSupportV42340Library UP-TO-DATE:app:prepareComAndroidSupportSupportVectorDrawable2340Library UP-TO-DATE:app:prepareDebugDependencies:app:compileDebugAidl UP-TO-DATE:app:compileDebugRenderscript UP-TO-DATE:app:generateDebugBuildConfig UP -TO-DATE:app:mergeDebugShaders UP-TO-DATE:app:compileDebugShaders UP-TO-DATE:app:generateDebugAssets UP-TO-DATE:app:mergeDebugAssets UP-TO-DATE:app:generateDebugResValues UP-TO-DATE: app:generateDebugResources UP-TO-DATE:app:mergeDebugResources UP-TO-DATE:app:processDebugManifest UP-TO-DATE:app:processDebugResources UP-TO-DATE:app:generateDebugSources UP-TO-DATE:app:incrementalDebugJavaCompilationSafeguard UP-至今:app:compileDebugJavaWithJavac 最新版本:app:compileDebugNdk UP-TO-DATE:app:compileDebugSources UP-TO-DATE:app:buildInfoDebugLoader:app:transformClassesWithExtractJarsForDebug UP-TO-DATE:app:transformClassesWithInstantRunVerifierForDebug UP-TO-DATE:app:transformClassesWithJavaResourcesVerifierForDebug UP -TO-DATE:app:mergeDebugJniLibFolders UP-TO-DATE:app:transformNative_libsWithMergeJniLibsForDebug UP-TO-DATE:app:processDebugJavaRes UP-TO-DATE:app:transformResourcesWithMergeJavaResForDebug UP-TO-DATE:app:transformResourcesAndNative_libsWithJavaResourcesVerifierForDebug UP-TO-DATE: app:transformClassesWithInstantRunForDebug UP-TO-DATE:app:transformClasses_enhancedWithInstant + reloadDexForDebug UP-TO-DATE:app:incrementalDebugTasks:app:prePackageMarkerForDebug:app:fastDeployDebugExtractor UP-TO-DATE:app:generateDebugInstantRunAppInfo UP-TO-DATE:app:coldswapKickerDebug: app:transformClassesWithInstantRunSlicerForDebug FAILED错误:任务执行失败':app:transformClassesWithInstantRunSlicerForD ebug".java.io.IOException:无法删除C:\ Users\ashis\AndroidStudioProjects\FirstApp\app\build\intermediates\instant-run-support\debug\restart-changes.txt信息:BUILD FAILED信息:总时间:1分钟6.761秒信息:1错误信息:0警告信息:在控制台中查看完整输出

android

44
推荐指数
3
解决办法
6万
查看次数

标签 统计

android ×1