-
Notifications
You must be signed in to change notification settings - Fork 29.8k
Closed
Labels
a: existing-appsIntegration with existing apps via the add-to-app flowIntegration with existing apps via the add-to-app flowc: crashStack traces logged to the consoleStack traces logged to the consoleplatform-androidAndroid applications specificallyAndroid applications specifically
Description
In packages/flutter_tools/gradle/flutter.gradle, if the Android existing app has flavors, we don't append the current flavor to find the correct mergeAssets task path.
Steps to Reproduce
- Create Android app with flavors
- Follow instructions here to add Flutter to your existing app.
- Run the app
Crash
2019-03-20 07:43:45.392 32147-32147/io.github.tarek360.flavoredapp.demo E/flutter: [ERROR:flutter/runtime/dart_vm.cc(265)] VM snapshot must be valid.
2019-03-20 07:43:45.392 32147-32147/io.github.tarek360.flavoredapp.demo A/flutter: [FATAL:flutter/shell/common/shell.cc(208)] Check failed: vm. Must be able to initialize the VM.
2019-03-20 07:43:45.392 32147-32147/io.github.tarek360.flavoredapp.demo A/libc: Fatal signal 6 (SIGABRT), code -6 in tid 32147 (lavoredapp.demo), pid 32147 (lavoredapp.demo)
Sample app:
here
Metadata
Metadata
Assignees
Labels
a: existing-appsIntegration with existing apps via the add-to-app flowIntegration with existing apps via the add-to-app flowc: crashStack traces logged to the consoleStack traces logged to the consoleplatform-androidAndroid applications specificallyAndroid applications specifically