Bug Report for "Records are not supported" Issue in Android Instrumentation Testing
Nessuno ha ancora preso questa issue.
Valutazione
- Difficoltà
- 4/5
- Tempo stimato
- 3-5 giorni
- Idoneità per principianti
- 25/100
- Tipo di issue
- Bug
- Chiarezza
- Da chiarire
- Stato di attività
- Ferma
- Stack tecnologico
- android, java
- Ambito
- mobile-dev, testing
Direzione di ricerca
Inizia riproducendo il fallimento del test di instrumentation Android utilizzando i dettagli dell’ambiente riportati nel report: Android Studio Giraffe, Java 11, SDK 33 e le versioni indicate di Android Gradle Plugin e Gradle. Controlla la configurazione del test di instrumentation e la configurazione della build per l’errore R8 “Records are not supported” segnalato; il lavoro è completo quando viene identificata una causa riproducibile e viene confermato che i test vengono eseguiti correttamente senza questo errore.
Scritto dal modello di indicizzazione a partire dal testo della issue.
Descrizione
Issue While Runnig Intrumentation Test : com.android.tools.r8.internal.YI0: Records are not supported
Description: I encountered an issue while running Android Instrumentation tests. The error message I received is as follows:
com.android.tools.r8.internal.YI0: Records are not supported
This error is impacting the execution of my instrumentation tests and preventing them from running successfully.
Steps to Reproduce:
Set up an Android project with instrumentation tests.
Configure and run the instrumentation tests using the required setup.
Observe the mentioned error message during the test execution.
Expected Result:
The instrumentation tests should run without encountering the "Records are not supported" error.
Actual Result:
The error "com.android.tools.r8.internal.YI0: Records are not supported" occurs during the test execution, causing the tests to fail.
Environment:
Android Studio version: Android Studio Giraffe | 2022.3.1 Patch 1
Android Gradle Plugin version: [Your AGP version](com.android.tools.build:gradle:3.6.4)
Java version: [Java 11]
Android SDK version: [33]
Gradle version: [3.6.4]
Additional Information:
Please let me know if there are any workarounds or solutions available to address this issue. If there are any further details required from my end to investigate or resolve the problem, please inform me.
Recommended warning:
We recommend using a newer Android Gradle plugin to use compileSdk = 33
This Android Gradle plugin (7.1.3) was tested up to compileSdk = 32
This warning can be suppressed by adding
android.suppressUnsupportedCompileSdk=33
to this project's gradle.properties
The build will continue, but you are strongly encouraged to update your project to
use a newer Android Gradle Plugin that has been tested with compileSdk = 33
Link to a public git repo demonstrating the problem:
Thank you in advance 🙏
- Lingua principale
- Java
- Stelle
- 1.2k
- Fork
- 342
- Merge medio
- 1g 14h
- PR unite (30g)
- 5
Guida per i contributori
Apri la guida per i contributori
Come iniziare
- Leggi tutta la issue e poi la guida ai contributi del progetto.
- Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
- Fai un fork del repository e lavora su un branch.
- Apri una pull request che faccia riferimento al numero della issue.
Altre issue di android/android-test
-
Difficoltà 1/5 Meno di un'ora Idoneità per principianti 62/100
android/android-test#681 · 2 commenti · 1 reazione ·
-
Difficoltà 3/5 1-2 giorni Idoneità per principianti 72/100
android/android-test#2507 · 1 commento ·
-
ξεκσνδξδ Aperta
Difficoltà 5/5 Più di una settimana Idoneità per principianti 1/100
android/android-test#2499 ·
-
ησξξσ Aperta
Difficoltà 5/5 Più di una settimana Idoneità per principianti 1/100
android/android-test#2498 ·
-
Difficoltà 4/5 3-5 giorni Idoneità per principianti 38/100
android/android-test#2473 ·
Tutte le issue di android/android-test
Issue simili
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 85/100
HL7/fhir-ig-publisher#1375 ·
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 74/100
-
Flaky: a relaunched catch-up replay can still report catching up right after its marker is written Apertabug
Difficoltà 2/5 1-3 ore Idoneità per principianti 78/100
johanhaleby/occurrent#1134 ·
-
bug
Difficoltà 2/5 1-3 ore Idoneità per principianti 78/100
objectionary/jeo-maven-plugin#1811 ·
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 88/100