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

EVC bytecode is version 065, but runtime supports version 73. #67

Open
manavgarg272 opened this issue Jan 21, 2024 · 1 comment
Open

Comments

@manavgarg272
Copy link

class MyApp extends StatelessWidget {
const MyApp({super.key});

// This widget is the root of your application.
@OverRide
Widget build(BuildContext context) {
return HotSwapLoader(
uri:
'https://storage.cloud.google.com/staging.datingcoach-61f38.appspot.com/version_xxx.evc',
child: MaterialApp(
title: 'Flutter Demo',
theme: ThemeData(
colorScheme: ColorScheme.fromSeed(seedColor: Colors.deepPurple),
useMaterial3: true,
),
home: const MyHomePage(title: 'Flutter Demo Home Page'),
),
);
}
}

Error facing

[ERROR:flutter/runtime/dart_vm_initializer.cc(41)] Unhandled Exception: Exception: dart_eval runtime error: EVC bytecode is version 065, but runtime supports version 73.
E/flutter (15811): Try using the same version of dart_eval for compiling as the version in your application.
E/flutter (15811): #0 Runtime._load (package:dart_eval/src/eval/runtime/runtime.dart:153:7)
E/flutter (15811): #1 Runtime._setup (package:dart_eval/src/eval/runtime/runtime.dart:281:7)
E/flutter (15811): #2 Runtime.setup (package:dart_eval/src/eval/runtime/runtime.dart:271:19)
E/flutter (15811): #3 _HotSwapLoaderState._setup. (package:flutter_eval/src/flutter_eval.dart:777:18)
E/flutter (15811): #4 State.setState (package:flutter/src/widgets/framework.dart:1138:30)
E/flutter (15811): #5 _HotSwapLoaderState._setup (package:flutter_eval/src/flutter_eval.dart:770:5)
E/flutter (15811): #6 _HotSwapLoaderState._loadFromUrl (package:flutter_eval/src/flutter_eval.dart:748:7)

@ethanblake4
Copy link
Owner

You need to recompile the EVC code with the latest version of dart_eval.

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