-
Notifications
You must be signed in to change notification settings - Fork 298
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Flutter 3.0 error #57
Comments
#58 I opened a PR with fix. You can use this fork until my PR is merged.
|
Having the same issue... |
thanks for the fix! I tried out your github PR and the issue went away. now the issue for me is that tflite_flutter_helper depends on camera ^0.8.1+3, which doesnt compile in flutter 3! |
This issue did not occur for me. |
@filofan1 same here, camera 0.8.1+7 fails to build to on fresh flutter install |
@filofan1 I forked your fork and updated Everything seems to compile and work fine. |
@sircambridge you can try
|
@elephantum Nice |
thanx man. |
@filofan1 any interest in create a new package since this one is abandoned? |
GeneratedPluginRegistrant.java:121: error: cannot find symbol FAILURE: Build failed with an exception. android 12 failed |
Face this error and your repo worked! Thank you so much. |
See this issue: am15h#57 The mentioned fork upgrades camera to 0.9 which is old for newer projects and creates conflict
Thank you! This works on Flutter 3.3.9, camera 0.9.8+1, Android 13 (33), and iOS 16.1. Cool. |
FAILURE: Build failed with an exception.
BUILD FAILED in 1s |
Try to change the ext.kotlin_version to 1.5.20 in the tflite_flutter_helper's build.gradle which should be in %LOCALAPPDATA%\Pub\Cache\hosted\tflite_flutter_helper or if u r using git dependencies it's in \Cache\git\tflite_flutter_helperxxx |
I think this is a new error after upgrading to flutter 3.0. when i downgrade to flutter 2.10.5 the error goes away. is this new request permissions something new in flutter 3?
`
Flutter 3.0.0 • channel stable • https://github.com/flutter/flutter.git
Framework • revision ee4e09cce0 (7 days ago) • 2022-05-09 16:45:18 -0700
Engine • revision d1b9a6938a
Tools • Dart 2.17.0 • DevTools 2.12.2
Running flutter doctor...
Doctor summary (to see all details, run flutter doctor -v):
[√] Flutter (Channel stable, 3.0.0, on Microsoft Windows [Version 10.0.19044.1706], locale en-US)
X cmdline-tools component is missing
Run
path/to/sdkmanager --install "cmdline-tools;latest"
See https://developer.android.com/studio/command-line for more details.
X Android license status unknown.
Run
flutter doctor --android-licenses
to accept the SDK licenses.See https://flutter.dev/docs/get-started/install/windows#android-setup for more details.
[√] Visual Studio - develop for Windows (Visual Studio Community 2019 16.11.14)
[√] Android Studio (version 2021.1)
[√] VS Code (version 1.67.1)
[√] Connected device (3 available)
[√] HTTP Host Availability
! Doctor found issues in 1 category.
PS C:\Users\sirca\OneDrive\Documents\GitHub\tw_food2> flutter run -d emulator-5554
No supported devices found with name or id matching 'emulator-5554'.
The following devices were found:
Windows (desktop) • windows • windows-x64 • Microsoft Windows [Version 10.0.19044.1706]
Chrome (web) • chrome • web-javascript • Google Chrome 101.0.4951.54
PS C:\Users\sirca\OneDrive\Documents\GitHub\tw_food2> flutter run -d emulator-5554
Using hardware rendering with device sdk gphone64 x86 64. If you notice graphics artifacts, consider enabling software rendering with
"--enable-software-rendering".
Launching lib\main.dart on sdk gphone64 x86 64 in debug mode...
e: C:\Users\sirca\Downloads\flutter_windows_2.10.5-stable\flutter.pub-cache\hosted\pub.dartlang.org\tflite_flutter_helper-0.3.1\android\src\main\kotlin\com\tfliteflutter\tflite_flutter_helper\TfliteFlutterHelperPlugin.kt: (43, 1): Class 'TfliteFlutterHelperPlugin' is not abstract and does not implement abstract member public abstract fun onRequestPermissionsResult(p0: Int, p1: Array<(out) String!>, p2: IntArray): Boolean defined in io.flutter.plugin.common.PluginRegistry.RequestPermissionsResultListener
e: C:\Users\sirca\Downloads\flutter_windows_2.10.5-stable\flutter.pub-cache\hosted\pub.dartlang.org\tflite_flutter_helper-0.3.1\android\src\main\kotlin\com\tfliteflutter\tflite_flutter_helper\TfliteFlutterHelperPlugin.kt: (143, 2): 'onRequestPermissionsResult' overrides nothing
FAILURE: Build failed with an exception.
Execution failed for task ':tflite_flutter_helper:compileDebugKotlin'.
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
BUILD FAILED in 8s
Running Gradle task 'assembleDebug'... 8.8s
Exception: Gradle task assembleDebug failed with exit code 1`
The text was updated successfully, but these errors were encountered: