Debug: file not found in Android 1.0

Today I upgraded to Android Studio v 1.0, and I get the following error when trying to compile any project.

.... \ app \ build \ intermediates \ classes \ debug: file not found

The fact is that before the update I had no problems. Here is the code I'm trying to compile.

build.grade

apply plugin: 'com.android.application' android { compileSdkVersion 20 buildToolsVersion "21.1.2" defaultConfig { applicationId "razvitrance.testnavdrawerplz" minSdkVersion 16 targetSdkVersion 20 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.android.support:support-v13:21.0.3' } 

build.gradle (for the project)

 // Top-level build file where you can add configuration options common to all sub-projects/modules. buildscript { repositories { jcenter() } dependencies { classpath 'com.android.tools.build:gradle:1.0.0' // NOTE: Do not place your application dependencies here; they belong // in the individual module build.gradle files } } allprojects { repositories { jcenter() } } 

And the activity code is a simple navigation box. Thanks for helping.

This is the ero that I get. Error after 1.0 update

http://gyazo.com/bdf375a160b1662ce4eb0d4e9aed8f30

+3
source share
2 answers

Check this one and this one .

As a rule, you will need to delete the grandle file, and let Android Studio generate the one that, in his opinion, will be correct, since it is mentioned in these messages. It also happened to me when I upgraded to a new version and solved my problem.

+1
source

Android Studio does not seem to recognize non-alphanumeric characters in the path (e.g. Cyrillic). I had the same problem, and it was solved with creating a project in another folder that did not contain Cyrillic characters in its path. In your case, it could be a "#" synmbol, which creates problems.

0
source

Source: https://habr.com/ru/post/979682/


All Articles