I just updated the version of FOP to 2.10 and it's started throwing an
error. Could you guys please provide further information?
Here's the log:
deva00s@deva00s-Aspire-A515-51:~/Downloads/main$ flutter run -d
PB1S244S70453 Launching lib/main.dart on P2 A11 in debug mode...
ERROR:/home/deva00s/.gradle/caches/transforms-3/cbc4cf0cb6642efe5849238aee5f020f/transformed/jetified-commons-logging-1.3.0.jar:
D8: java.lang.NullPointerException: Cannot invoke "String.length()" because
"<parameter1>" is null e:
file:///home/deva00s/Downloads/main/android/app/src/main/kotlin/com/example/pdv_bin/MainActivity.kt:767:65
Type mismatch: inferred type is Any but String was expected FAILURE: Build
completed with 2 failures. 1: Task failed with an exception. ----------- *
What went wrong: Execution failed for task ':app:mergeExtDexDebug'. > Could
not resolve all files for configuration ':app:debugRuntimeClasspath'. >
Failed to transform commons-logging-1.3.0.jar
(commons-logging:commons-logging:1.3.0) to match attributes
{artifactType=android-dex, asm-transformed-variant=NONE,
dexing-enable-desugaring=true, dexing-enable-jacoco-instrumentation=false,
dexing-is-debuggable=true, dexing-min-sdk=22, org.gradle.category=library,
org.gradle.libraryelements=jar, org.gradle.status=release,
org.gradle.usage=java-runtime}. > Execution failed for
DexingWithClasspathTransform:
/home/deva00s/.gradle/caches/transforms-3/cbc4cf0cb6642efe5849238aee5f020f/transformed/jetified-commons-logging-1.3.0.jar.
> Error while dexing. * Try: > Run with --stacktrace option to get the
stack trace. > Run with --info or --debug option to get more log output. >
Run with --scan to get full insights. > Get more help at
https://help.gradle.org.