Skip to content
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

Support fvm #11

Open
a43mrk opened this issue Apr 27, 2022 · 7 comments
Open

Support fvm #11

a43mrk opened this issue Apr 27, 2022 · 7 comments

Comments

@a43mrk
Copy link

a43mrk commented Apr 27, 2022

Currently I'm using fvm to run flutter; is ther a plan to support fvm flutter like command?
if flutter isn't the command file not found is being throwing :(

@a43mrk a43mrk changed the title DeviceError.flutterFailure(op: isRunning, error: FlutterError.toolchainFailure(op: running, message: ProcessException: No such file or directory.. Support fvm Apr 28, 2022
@a43mrk
Copy link
Author

a43mrk commented Apr 28, 2022

I need to pass some parameters to flutter command to be build w/o null safety due to some plugins aren't null safe too.

@tim-smart
Copy link
Owner

tim-smart commented Apr 28, 2022

Could you add the full error to your issue, and also a copy of Platform.environment (in your test_driver/main_driver.dart file)

print(json.encode(Platform.environment))

@a43mrk
Copy link
Author

a43mrk commented Apr 29, 2022

I/flutter ( 3001): {"PATH":"/product/bin:/apex/com.android.runtime/bin:/apex/com.android.art/bin:/system_ext/bin:/system/bin:/system/xbin:/odm/bin:/vendor/bin:/vendor/xbin","ANDROID_BOOTLOGO":"1","ANDROID_ROOT":"/system","ANDROID_ASSETS":"/system/app","ANDROID_DATA":"/data","ANDROID_STORAGE":"/storage","ANDROID_ART_ROOT":"/apex/com.android.art","ANDROID_I18N_ROOT":"/apex/com.android.i18n","ANDROID_TZDATA_ROOT":"/apex/com.android.tzdata","EXTERNAL_STORAGE":"/sdcard","ASEC_MOUNTPOINT":"/mnt/asec","BOOTCLASSPATH":"/apex/com.android.art/javalib/core-oj.jar:/apex/com.android.art/javalib/core-libart.jar:/apex/com.android.art/javalib/core-icu4j.jar:/apex/com.android.art/javalib/okhttp.jar:/apex/com.android.art/javalib/bouncycastle.jar:/apex/com.android.art/javalib/apache-xml.jar:/system/framework/framework.jar:/system/framework/ext.jar:/system/framework/telephony-common.jar:/system/framework/voip-common.jar:/system/framework/ims-common.jar:/system/framework/framework-atb-backward-compatibility.jar:/apex/com.android.conscrypt/javalib/

@a43mrk
Copy link
Author

a43mrk commented Apr 29, 2022

you can ignore the error @tim-smart :) the cause is the flutter comand, I debugged yesterday, because I'm using fvm the command flutter isn't found and he is throwing that error...

@a43mrk
Copy link
Author

a43mrk commented Apr 29, 2022

I found a new issue; that if you want to take the screenshot for only android on a linux machine(that do not have a xcode)
if the xcrun isn't present he throws a similar error :(

@tim-smart
Copy link
Owner

Does disabling any iOS devices in the screenshot script work?

@martin-braun
Copy link

So running fvm dart tools/screenshots.dart will not use fvm flutter?

Could this please be considered?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants