Skip to content

Error while compiling the project. #36381

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

Closed
sanketwarule opened this issue Mar 29, 2019 · 4 comments
Closed

Error while compiling the project. #36381

sanketwarule opened this issue Mar 29, 2019 · 4 comments
Labels
closed-duplicate Closed in favor of an existing report legacy-area-front-end Legacy: Use area-dart-model instead. needs-info We need additional information from the issue author (auto-closed after 14 days if no response) P2 A bug or feature request we're likely to work on type-bug Incorrect behavior (everything from a crash to more subtle misbehavior)

Comments

@sanketwarule
Copy link

sanketwarule commented Mar 29, 2019

Compiler message:
Warning: Tried to initialize from a previous compilation (build/app.dill.track.dill), but couldn't. Error message was 'null:3705664: unexpected variable index: 29 at '. This might be a bug. The Dart team would greatly appreciate if you would take a moment to report this problem at http://dartbug.com/new.

file:///Users/ganesh/Documents/flutterSdk/flutter/.pub-cache/hosted/pub.dartlang.org/flutter_webview_plugin-0.3.3/lib/src/webview_scaffold.dart:110:7: Error: No named parameter with the name 'resizeToAvoidBottomInset'.
resizeToAvoidBottomInset: widget.resizeToAvoidBottomInset,
^^^^^^^^^^^^^^^^^^^^^^^^
file:///Users/ganesh/Documents/flutterSdk/flutter/packages/flutter/lib/src/material/scaffold.dart:725:9: Context: Found this candidate, but the arguments don't match.
const Scaffold({
^
Compiler failed on /Users/ganesh/Desktop/FlutterApp/lib/main.dart

Flutter doctor :

[[✓] Flutter (Channel stable, v1.0.0, on Mac OS X 10.13.6 17G5019, locale en-IN)
• Flutter version 1.0.0 at /Users/ganesh/Documents/flutterSdk/flutter
• Framework revision 5391447 (4 months ago), 2018-11-29 19:41:26 -0800
• Engine revision 7375a0f414
• Dart version 2.1.0 (build 2.1.0-dev.9.4 f9ebf21)

[✓] Android toolchain - develop for Android devices (Android SDK 28.0.3)
• Android SDK at /Users/ganesh/Library/Android/sdk
• Android NDK location not configured (optional; useful for native profiling support)
• Platform android-28, build-tools 28.0.3
• Java binary at: /Applications/Android Studio.app/Contents/jre/jdk/Contents/Home/bin/java
• Java version OpenJDK Runtime Environment (build 1.8.0_152-release-1136-b06)
• All Android licenses accepted.

[!] iOS toolchain - develop for iOS devices (Xcode 9.2)
• Xcode at /Applications/Xcode.app/Contents/Developer
• Xcode 9.2, Build version 9C40b
✗ Verify that all connected devices have been paired with this computer in Xcode.
If all devices have been paired, libimobiledevice and ideviceinstaller may require updating.
To update with Brew, run:
brew update
brew uninstall --ignore-dependencies libimobiledevice
brew uninstall --ignore-dependencies usbmuxd
brew install --HEAD usbmuxd
brew unlink usbmuxd
brew link usbmuxd
brew install --HEAD libimobiledevice
brew install ideviceinstaller
• ios-deploy 1.9.4
• CocoaPods version 1.5.3

[✓] Android Studio (version 3.2)
• Android Studio at /Applications/Android Studio.app/Contents
• Flutter plugin version 30.0.1
• Dart plugin version 181.5656
• Java version OpenJDK Runtime Environment (build 1.8.0_152-release-1136-b06)

[✓] Connected device (2 available)
• Pixel • FA6AJ0301424 • android-arm64 • Android 9 (API 28)
• Android SDK built for x86 • emulator-5554 • android-x86 • Android 9 (API 28) (emulator)

! Doctor found issues in 1 category.

@kevmoo
Copy link
Member

kevmoo commented Apr 3, 2019

Looks like you have a mismatched package.

Did you try rerunning flutter packages upgrade ?

@kevmoo kevmoo added the needs-info We need additional information from the issue author (auto-closed after 14 days if no response) label Apr 3, 2019
@far11ven
Copy link

far11ven commented Apr 8, 2019

I too have tried creating new project, as well as running "flutter packages upgrade", always the same result, app launches with following screen.
I've added following "flutter_webview_plugin: ^0.3.3" as dependency.

8e57a030-34fe-4f7b-8cce-eed332a0022d

@kevmoo kevmoo added the area-vm Use area-vm for VM related issues, including code coverage, and the AOT and JIT backends. label Apr 8, 2019
@a-siva
Copy link
Contributor

a-siva commented May 24, 2019

This appears to be a duplicate of #37043

@a-siva a-siva added legacy-area-front-end Legacy: Use area-dart-model instead. type-bug Incorrect behavior (everything from a crash to more subtle misbehavior) P2 A bug or feature request we're likely to work on closed-duplicate Closed in favor of an existing report and removed area-vm Use area-vm for VM related issues, including code coverage, and the AOT and JIT backends. labels May 24, 2019
@a-siva
Copy link
Contributor

a-siva commented Jul 2, 2019

Closing as duplicate.

@a-siva a-siva closed this as completed Jul 2, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
closed-duplicate Closed in favor of an existing report legacy-area-front-end Legacy: Use area-dart-model instead. needs-info We need additional information from the issue author (auto-closed after 14 days if no response) P2 A bug or feature request we're likely to work on type-bug Incorrect behavior (everything from a crash to more subtle misbehavior)
Projects
None yet
Development

No branches or pull requests

4 participants