Fehler: Die Sendung Drop_shader_cache wurde beim Hinzufügen von Basisprofilen in der Android -App nicht empfangenAndroid

Forum für diejenigen, die für Android programmieren
Anonymous
 Fehler: Die Sendung Drop_shader_cache wurde beim Hinzufügen von Basisprofilen in der Android -App nicht empfangen

Post by Anonymous »

Ich versuche, ein Basisprofil für eine Android -App hinzuzufügen. Ich habe in erster Linie die Google Android-Dokumentation und [dieses Video] [https://youtu.be/m7orrdud-my?si=0vrqty5pyg-61fue] verwendet, um ein neues Benchmark-Modul zu erstellen und das zugehörige Setup zugeordnet, um das Baseline-Profil hinzuzufügen. Ausgabe] [https://stackoverflow.com/questions/777 ... th-profile]
• [Google Issue Tracker über dieselbe Ausgabe und die erwähnte Lösung] [https:/issuetracker [Ein weiterer Google -Ausgabe -Link, den ich verwiesen habe] [https://issuetracker.google.com/issues/258619948]
Ich erhalte den folgenden Fehler, wenn ich den Test auf dem Gerät ausführe, auf dem ich diesen Benchmark -Build installiert habe:
Ich bin derzeit mit der Version androidx.profileInstaller .

Code: Select all

java.lang.IllegalStateException: The DROP_SHADER_CACHE broadcast was not received. This most likely means that the `androidx.profileinstaller` library used by the target apk is old. Please use `1.3.0-alpha02` or newer. For more information refer to the release notes at https://developer.android.com/jetpack/androidx/releases/profileinstaller.
at androidx.benchmark.macro.MacrobenchmarkScope.dropShaderCache(MacrobenchmarkScope.kt:300)
at androidx.benchmark.macro.MacrobenchmarkKt$macrobenchmarkWithStartupMode$1.invoke(Macrobenchmark.kt:454)
at androidx.benchmark.macro.MacrobenchmarkKt$macrobenchmarkWithStartupMode$1.invoke(Macrobenchmark.kt:436)
at androidx.benchmark.macro.MacrobenchmarkKt$macrobenchmark$measurements$1.invoke(Macrobenchmark.kt:265)
at androidx.benchmark.macro.MacrobenchmarkKt$macrobenchmark$measurements$1.invoke(Macrobenchmark.kt:255)
at androidx.benchmark.perfetto.PerfettoTraceProcessor$Companion.runServer(PerfettoTraceProcessor.kt:105)
at androidx.benchmark.macro.MacrobenchmarkKt.macrobenchmark(Macrobenchmark.kt:255)
at androidx.benchmark.macro.MacrobenchmarkKt.macrobenchmarkWithStartupMode(Macrobenchmark.kt:436)
at androidx.benchmark.macro.junit4.MacrobenchmarkRule.measureRepeated(MacrobenchmarkRule.kt:107)
at androidx.benchmark.macro.junit4.MacrobenchmarkRule.measureRepeated$default(MacrobenchmarkRule.kt:97)
at StartupBenchmark.startup(StartupBenchmark.kt:15)

Quick Reply

Change Text Case: 
   
  • Similar Topics
    Replies
    Views
    Last post