[Flutter] audioplayers / Execution failed for task ':app:compileDebugKotlin'.

autumn·2021년 10월 24일
0

What went wrong:
Execution failed for task ':app:compileDebugKotlin'.
Compilation error. See log for more details

audioplayers 패키지를 추가하니까 갑자기 안드로이드 빌드에서 오류가 났다.

해결방법👩🏻‍💻

  1. android/build.gradle
    ext.kotlin_version=‘1.4.32 변경
  2. android/app/build.gradle
    implementation 'androidx.core:core-ktx:1.3.2' 추가
  3. gradewrapper.properties
    services.gradle.org/distributions/gradle-6.9-all.zip 변경
profile
🪴 autumn? awesome!

0개의 댓글