numandev1 / react-native-compressor

🗜️Compress Image, Video, and Audio same like Whatsapp 🚀✨

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

[Android] Compilation failed for task compileDebugKotlin

quimbaget opened this issue · comments

Current behavior

The build fails at step Task :react-native-compressor:compileDebugKotlin

Expected behavior

The build should succeed

Platform

  • Android
  • iOS

React Native Version

0.64.1

React Native Compressor Version

Tried with:

  • Latest
  • 1.8.21
  • 1.8.8

Same result for all

Reproducible Steps And Demo

  • android/build.gradle
buildToolsVersion = "30.0.2"
minSdkVersion = 23
compileSdkVersion = 33
targetSdkVersion = 33
kotlinVersion = '1.6.0'
  • android/app/build.gradle
compileOptions {
    sourceCompatibility JavaVersion.VERSION_1_8
    targetCompatibility JavaVersion.VERSION_1_8
}

👋 @quimvinals
Thanks for opening your issue here! If you find this package useful hit the star🌟!

Hello. Do you have the solution to resolve it yet?