opened
nohli
username_0
* Try:

Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output. Run with --scan to get full insights.



* Get more help at https://help.gradle.org
```

<!--
     Run `flutter analyze` and attach any output of that command below.
     If there are any analysis errors, try resolving them before filing this issue.
-->



<!-- Finally, paste the output of running `flutter doctor -v` here. -->



</details>
Adding web support to project breaks Android build
issue
created
TahaTesser
username_1
Hi @username_0 
Can you please provider `flutter doctor -v` and `flutter build appbundle --verbose`?
Thank you
comment
created
nohli
username_0
* Try:

Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output. Run with --scan to get full insights.



* Get more help at https://help.gradle.org



BUILD FAILED in 2m 24s
Running Gradle task 'bundleRelease'...                            145.9s (!)
Gradle task bundleRelease failed with exit code 1


Build failed :|
Failed to build for Android
```

Is this enough, or should I bring back MainActivity.kt and run both commands on my MacBook, so you have some logs?
comment
created
VladyslavBondarenko
username_2
@username_0 
Does https://github.com/flutter/flutter/issues/45231#issuecomment-557938784 work for you?

or if you had initially content of MainActivity.kt as second in mentioned comment - try it with adding 
```
<meta-data
    android:name="flutterEmbedding"
    android:value="2" />
```
to your `AndroidManifest.xml`
comment
created
TahaTesser
username_1
Hi @username_0 

Can you please switch to `beta channel`? 
You're tying to build for web in stable version


`stable channel` doesn't have web support yet. 
[Building a web application with Flutter](https://flutter.dev/docs/get-started/web)


Change Flutter version in Codemagic build to `channel Beta` and run the build again
![Annotation 2020-02-17 183708](https://user-images.githubusercontent.com/48603081/74656966-47937d00-51b5-11ea-994f-65973f8f201b.png)


Thank you
comment
created
nohli
username_0
* Try:

Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output. Run with --scan to get full insights.



* Get more help at https://help.gradle.org



BUILD FAILED in 2m 28s
Running Gradle task 'bundleRelease'...                            151.0s (!)
Gradle task bundleRelease failed with exit code 1


Build failed :|
Failed to build for Android
```
comment
created
VladyslavBondarenko
username_2
@username_0 
Thanks for the input,
Closing since solved
comment
closed
VladyslavBondarenko
username_2
issue