Closed justasher closed 3 weeks ago
I have the same problem with the latest Flutter version
Duplicate of issue #45
I used @thuytrinh 's workaround to solve the issue:
I had to work around like below in the root build file of my Android module:
project(':flutter_libphonenumber_android').afterEvaluate { project(':flutter_libphonenumber_android').android { compileSdkVersion 30 compileOptions { sourceCompatibility JavaVersion.VERSION_17 targetCompatibility JavaVersion.VERSION_17 } kotlinOptions { jvmTarget = '17' } } }
Is there any update?
Fixed in v2.3.1
Error while running Gradle task 'assembleDebug'...
FAILURE: Build failed with an exception.