Nach dem Download und die API 24 Quellcode installieren, ich bin eine große Anzahl von Compiler-Fehlern in Klassen zu sehen, dass 24Compiler-Fehler in Android API 24 Quellcode
Zum Beispiel Änderungen in API haben, die AccessibilityService Klasse hat Hunderte von "Kann nicht lösen Symbol" Fehler auf Variablen, Methoden, Importe usw.
Ich habe versucht zu löschen und redownloading Quellen mehrmals ohne Erfolg. Tritt dies häufig bei neuen Quellen auf oder habe ich etwas falsch gemacht?
Edit:
Hier ist meine App Gradle-Datei, und ich bin mit 'com.android.tools.build:gradle:2.1.0' Plugin anwenden: 'com.android.application'
android {
compileSdkVersion 24
buildToolsVersion "23.0.2"
defaultConfig {
applicationId "com.nyelito.dactyl"
minSdkVersion 23
targetSdkVersion 24
versionCode 10
versionName "1.2.2"
}
buildTypes {
release {
minifyEnabled false
proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
}
}
}
dependencies {
compile fileTree(dir: 'libs', include: ['*.jar'])
testCompile 'junit:junit:4.12'
compile(
[group: 'com.fasterxml.jackson.core', name: 'jackson-annotations', version: '2.4.1'],
)
provided 'org.glassfish:javax.annotation:10.0-b28'
compile('com.mikepenz:aboutlibraries:[email protected]') {
transitive = true
}
compile 'com.android.support:appcompat-v7:24.0.0'
compile 'com.android.support:support-v4:24.0.0'
compile 'com.github.medyo:android-about-page:1.0.5'
compile 'com.github.thepacific:adapter:1.0.5'
compile 'com.google.firebase:firebase-database:9.0.2'
compile 'com.google.firebase:firebase-messaging:9.0.2'
compile 'com.google.code.gson:gson:2.2.4'
compile 'com.github.paolorotolo:appintro:4.0.0'
}
apply plugin: 'com.google.gms.google-services'
Here is a screenshot of what it looks like
Wenn Sie zurück zu API 23 wechseln, tritt immer noch die Hunderte Fehler auf? –
Haben Sie versucht, die Gradle-Synchronisierungsaufgabe auszuführen? –
@AndrewSun Ja, keine Änderung leider. –