解决方案:compileDebugJavaWithJavac 因为错误:在-source 11 中不支持 switch 表达式
原文英文,约200词,阅读约需1分钟。发表于: 。I recently encountered an issue in ReactExoplayerView where playback speed adjustments weren't working as expected. Here's the fix that resolved the problem: Original Code (Using a Switch...
在ReactExoplayerView中,播放速度调整存在问题。通过将switch表达式替换为传统switch语句解决了该问题,并使用patch-package确保修复得以保留,从而实现了React Native应用中的播放速度平滑过渡。