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

Flutter build windows app not run when move it to different directory #93

Open
Kaioken3000 opened this issue May 31, 2024 · 2 comments
Open

Comments

@Kaioken3000
Copy link

My flutter windows build application run normally after i build it, but when i copy the build directory to another folder it doesn't run.

i think it because something is wrong with the serius_python plugin, because it happend only after i add it to my code.

here the code:

Future main() async {
WidgetsFlutterBinding.ensureInitialized();
speechToText();

// runApp(const LoginPageAdmin());
runApp(
MultiProvider(
providers: [
ChangeNotifierProvider(create: (_) => Progress()),
],
child: const LoginPageAdmin(),
),
);
}

Future speechToText() async {
await SeriousPython.runProgram(
"D:/D/demofastapi/main.pyc",
sync: false,
);
}

Please help!!!!

I just want it to run

@FeodorFitsner
Copy link
Contributor

Will take a look.

Please do not create duplicates.

@FeodorFitsner
Copy link
Contributor

What error do you get (in the console or a dialog)?

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

2 participants