> Gradle 'android' project refresh failed:
> Open quote is expected for attribute "{1}" associated with an element type "language".
프로젝트를 열 수 있습니다 내 그룹 구성원 모두가 계속 있기 때문에 안드로이드 스튜디오를 재 - 설치
도움이 절실히 필요합니다. 저는 학기 중 그룹 프로젝트를 끝내고 싶습니다. 도와 줘서 고맙습니다. 응용 프로그램 폴더에
settings.gradle
include ':app'
build.gradle
apply plugin: 'android'
android {
compileSdkVersion 19
buildToolsVersion "19.0.1"
defaultConfig {
minSdkVersion 16
targetSdkVersion 19
versionCode 1
versionName "1.0"
}
buildTypes {
release {
runProguard false
proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.txt'
}
}
}
dependencies {
compile 'com.android.support:appcompat-v7:+'
compile 'com.google.android.gms:play-services:4.3.23'
compile 'com.android.support:support-v4:18.0.0'
files('libs/json-simple-1.1.1.jar')
compile files('libs/json-simple-1.1.1.jar')
}
Gradle을 폴더
// Top-level build file where you can add configuration options common to all sub-projects/modules.
buildscript {
repositories {
mavenCentral()
}
dependencies {
classpath 'com.android.tools.build:gradle:0.7.+'
}
}
allprojects {
repositories {
mavenCentral()
}
}
업데이트에 build.gradle : 또 다른 재 intstall했다 안드로이드 스튜디오 그리고 지금 나 에게이 오류를주는.
Failed to refresh Gradle project 'android'
Out of memory: Java heap space. Configure Gradle memory settings using '-Xmx' JVM option (e.g. '-Xmx2048m'.)
Please fix the project's Gradle settings.
Gradle settings
이 오류 주위의 코드를? – nikis
당신은 당신의 "빌드를 게시 할 수 .gradle "파일,"settings.gradle "파일이 있습니다.이 파일이 팀 동료와 다른 경우가있을 수 있습니까? 사용중인 버전 제어 시스템은 무엇입니까? – AndroidGuy
그래, 난 완전히 gradle 파일을 게시하지 않아 죄송합니다. 우리는 버전 관리를 위해 자식을 사용하고 있습니다 .. – Stephen