Ich habe vor kurzem auf den Gradle-3.0.0-Alpha8 aktualisiert, nach dem einige Stile nicht zur Kompilierzeit aufgelöst werden.
entwickeln envirment:Fehler: Stilattribut '@android: attr/windowExitAnimation' nicht gefunden
- IDE: Android Studio 3.0 Bate3
- Gradle Werkzeuge bauen: 'com.android.tools.build:gradle:3.0.0-beta3'
- Gradle: gradle-4.1- all.zip
Fehlerinfo:
Error:(94, 5) style attribute '@android:attr/windowExitAnimation' not found Error:(94, 5) style attribute '@android:attr/windowEnterAnimation' not found
Einstellung android.enableAapt2 false = grad Die Datei le.properties kann dieses Problem lösen.
Aber, Instant App brauchen android.enableAapt2 = true. Was würde ich tun?
https://developer.android.com/studio/build/gradle-plugin-3-0-0-migration.html –
Können Sie versuchen, es mit Android Studio Beta 2? Weil Beta 3 Version wurde entfernt https://androidstudio.googleblog.com/2017/08/android-studio-30-beta-3-is-now.html (mit android.enableAapt2) –
Ich fand ein ähnliches Problem in der Öffentlichkeit gemeldet Tracker https://issuetracker.google.com/issues/65036100 –