You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I upgraded flutter from version 2 to 3, now the project is unable to build in Android due to an error related to native_pdf_renderer, the specific error shown is this one:
e: C:\flutter\.pub-cache\hosted\pub.dartlang.org\native_pdf_renderer-4.0.1\android\src\main\kotlin\io\scer\native_pdf_renderer\NativePdfRendererPlugin.kt: (124, 29): Type mismatch: inferred type is String? but String was expected
e: C:\flutter\.pub-cache\hosted\pub.dartlang.org\native_pdf_renderer-4.0.1\android\src\main\kotlin\io\scer\native_pdf_renderer\NativePdfRendererPlugin.kt: (138, 25): Type mismatch: inferred type is String? but String was expected
FAILURE: Build failed with an exception.
* What went wrong:
Execution failed for task ':native_pdf_renderer:compileDebugKotlin'.
> A failure occurred while executing org.jetbrains.kotlin.compilerRunner.GradleCompilerRunnerWithWorkers$GradleKotlinCompilerWorkAction
> Compilation error. See log for more details
[√] Flutter (Channel stable, 3.0.5, on Microsoft Windows [Version 10.0.19044.1889], locale en-US)
[√] Android toolchain - develop for Android devices (Android SDK version 32.0.0)
[√] Chrome - develop for the web
[√] Visual Studio - develop for Windows (Visual Studio Community 2022 17.0.5)
[√] Android Studio (version 2021.1)
[√] Android Studio (version 2021.2)
[√] VS Code (version 1.66.0)
[√] Connected device (4 available)
[√] HTTP Host Availability
The text was updated successfully, but these errors were encountered:
I upgraded flutter from version 2 to 3, now the project is unable to build in Android due to an error related to native_pdf_renderer, the specific error shown is this one:
Here my android configuration:
android\build.gradle
app\build.gradle
gradle-wrapper.properties
flutter doctor:
The text was updated successfully, but these errors were encountered: