Check failed: gl_version_string. The GL proc resolver's glGetString(GL_VERSION) with flutter - flutter

I ran flutter run -d linux and here is the error
Launching lib/main.dart on Linux in debug mode... Building Linux application... [FATAL:flutter/shell/gpu/gpu_surface_gl_delegate.cc(50)] Check failed: gl_version_string. The GL proc resolver's glGetString(GL_VERSION) failed Error waiting for a debug connection: The log reader stopped unexpectedly. Error launching application on Linux.

You have To change your Nvidia proprietary drivers To open source drivers if You don’t understant the answer is explained here with on this repository : https://github.com/fermat28/flutter_shell_gpu_surface_gl_delegate.cc_error_fix

Related

flutter CMakeLists.txt

when I try to run the desktop application in a flutter. i write on terminal flutter run -d windows
give this the below error
Launching lib\main.dart on Windows in debug mode...
Nuget is not installed.
CMake Error at flutter/ephemeral/.plugin_symlinks/desktop_webview_auth/windows/CMakeLists.txt:28 (message):
Integrity check for E:/Kabbee/Kp_Destop_App/build/windows/nuget.exe failed.
Building Windows application...
Exception: Unable to generate build filesenter image description here

flutter project - INSTALL_FAILED_NO_MATCHING_ABIS when trying to install on device

I am getting this kind of error in vs code from past 1 day and implemented all possible results
but, I dint get any solution plz help me to get rid of this
√ Built build\app\outputs\flutter-apk\app-debug.apk.
Error: ADB exited with exit code 1
Performing Streamed Install
adb: failed to install F:\flutter firebase\authenticationapp\build\app\outputs\flutter-apk\app.apk: Failure [INSTALL_FAILED_NO_MATCHING_ABIS: Failed to extract native libraries, res=-113]
Error launching application on vivo 1819

Illegal byte sequence zipro W 10-02 23:01:47 10808 9104 Error opening archive T:\my_app\build\app\outputs\flutter-apk\app.apk: I/O error ERROR: dump

I have created this project before and I'm trying to run it again but I am getting the following error(s) :
Error Log:
Launching lib\main.dart on AOSP on IA Emulator in debug mode...
lib\main.dart:1
√ Built build\app\outputs\flutter-apk\app-debug.apk.
ziparchive W 10-02 23:01:47 10808 9104 Unable to open 'T:my_ap\build\app\outputs\flutter-apk\app.apk': Illegal byte sequence
zipro W 10-02 23:01:47 10808 9104 Error opening archive T:\my_app\build\app\outputs\flutter-apk\app.apk: I/O error
ERROR: dump failed because resource AndroidManifest.xml not found
Failed to extract manifest from APK: ProcessException: The command failed
Command: C:\Users\cordt\AppData\Local\Android\sdk\build-tools\30.0.3\aapt dump xmltree T:\batí\Mail\projects\shop_app_3\build\app\outputs\flutter-apk\app.apk AndroidManifest.xml.
Exception: Problem building Android application: see above error(s).
Exited (sigterm)
I have tried flutter clean but it didn't help me.
I came across a similar problem on an app I've been working on, the key takeaway is that this happened immediately after I update to the latest version of My flutter SDK. These are the steps I followed to solve this problem.
flutter create .
flutter clean
flutter pub get
flutter run

how i can solve this problem in flutter application

Launching lib\main.dart on SM A105F in debug mode...
Running Gradle task 'assembleDebug'...
√ Built build\app\outputs\flutter-apk\app-debug.apk.
Installing build\app\outputs\flutter-apk\app.apk...
Error: ADB exited with exit code 1
Performing Streamed Install
adb: failed to install C:\Users\ABDERRAHIM\flutter-1\bouzid_app\build\app\outputs\flutter-apk\app.apk:
Exception occurred while executing:
android.os.ParcelableException: java.io.IOException: Requested internal only, but not enough space
at android.util.ExceptionUtils.wrap(ExceptionUtils.java:34)
at com.android.server.pm.PackageInstallerService.createSession(PackageInstallerService.java:564)
at com.android.server.pm.PackageManagerShellCommand.doCreateSession(PackageManagerShellCommand.java:2700)
at com.android.server.pm.PackageManagerShellCommand.runInstall(PackageManagerShellCommand.java:1061)
at com
Error launching application on SM A105F.
Your error states the following java.io.IOException: Requested internal only, but not enough space at android.util.ExceptionUtils.wrap(ExceptionUtils.java:34). Do you have enough free space on your device?
Please search the web before posting a question: Flutter - android.os.ParcelableException: java.io.IOException: Requested internal only, but not enough space
According to #dariush f's answer answer:
Maybe your device/emulator's storage is full. Try deleting some apps or similar to free up storage.
Or
Invalid package name . for example using capital letter in package name. use this to change package name in flutter

Error: This application failed to start because no Qt platform plugin could be initialized (Ubuntu 18.04, Gitlab)

I try start android emulator on Ubuntu 18.04 in Gitlab CI but get error. Please, help.
Gitlab output:
$ emulator -avd Android28 -no-snapshot-save &
$ export APK_PATH=$CI_PROJECT_DIR/.../app-dev-debug.apk
$ mvn clean test
bash: строка 110: emulator: command not found
bash: строка 114: mvn: command not found
ERROR: Job failed: exit status 1
cmd output for gitlab-runner:
gitlab-runner#shafaci:/home/shafaci$ emulator -avd Android28
No protocol specified
No protocol specified
No protocol specified
emulator: INFO: QtLogger.cpp:68: Warning: could not connect to display :0 ((null):0, (null))
emulator: INFO: QtLogger.cpp:68: Info: Could not load the Qt platform plugin "xcb" in "/opt/platforms/emulator/lib64/qt/plugins" even though it was found. ((null):0, (null))
Fatal: This application failed to start because no Qt platform plugin could be initialized. Reinstalling the application may fix this problem.
Available platform plugins are: xcb.
((null):0, (null))
emulator: INFO: QtLogger.cpp:68: Fatal: This application failed to start because no Qt platform plugin could be initialized. Reinstalling the application may fix this problem.
Available platform plugins are: xcb.
((null):0, (null))