A problem occurred evaluating project ':app'. > Failed to apply plugin [id 'com.android.internal.version-check']

3,600 views
Skip to first unread message

Aayush Bhattarai

unread,
Jul 7, 2020, 6:35:29 AM7/7/20
to Flutter Development (flutter-dev)
I was working in Flutter Jitsi Plugin with other application. My code was running perfectly. But Now I am getting Error. 

// Error
Launching lib\main.dart on SM A105F in debug mode...
FAILURE: Build failed with an exception. * Where:
Build file 'C:\Users\user\OneDrive\Desktop\project\android\app\build.gradle' line: 24 * What went wrong:
A problem occurred evaluating project ':app'. > Failed to apply plugin [id 'com.android.internal.version-check']
> Cannot parse project property android.enableJetifier='true ' of type 'class java.lang.String' as boolean. Expected 'true' or 'false'. * 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 8s
Exception: Gradle task assembleDebug failed with exit code 1
Exited (sigterm)

// flutter doctor

Doctor summary (to see all details, run flutter doctor -v):
[√] Flutter (Channel stable, v1.17.5, on Microsoft Windows [Version 10.0.18363.900], locale en-US)
 
[√] Android toolchain - develop for Android devices (Android SDK version 29.0.3)
[√] Android Studio (version 4.1)
[√] VS Code (version 1.46.1)
[√] Connected device (1 available)

• No issues found!

// pubspec.yaml

name: videoconf
description: A new Flutter project.


version: 1.0.0+1

environment:
  sdk: ">=2.7.0 <3.0.0"

dependencies:
  flutter:
    sdk: flutter
  jitsi_meet: ^0.2.4
  flutter_svg: ^0.17.4
  path_provider: ^1.6.11
  hive: 1.2.0
  timeago: ^2.0.26
  device_info: ^0.4.2+4
  clipboard_manager: ^0.0.4
  google_fonts: ^1.1.0
  url_launcher: ^5.4.11
  share: ^0.6.4+3
  shared_preferences: ^0.5.7+3
  hive_flutter: ^0.3.0+2
  font_awesome_flutter: ^8.8.1
  provider: ^4.1.3+1

  # The following adds the Cupertino Icons font to your application.
  # Use with the CupertinoIcons class for iOS style icons.
  cupertino_icons: ^0.1.3

dev_dependencies:
  flutter_test:
    sdk: flutter
  hive_generator:
  build_runner:


Souvik Dutta

unread,
Jul 7, 2020, 9:35:02 AM7/7/20
to Aayush Bhattarai, Flutter Development (flutter-dev)
As stated in the error, somewhere in a file that is not a .dart file the "true " (with a trailing space) will be "true" (without a trailing space")

Souvik flutter dev

--
You received this message because you are subscribed to the Google Groups "Flutter Development (flutter-dev)" group.
To unsubscribe from this group and stop receiving emails from it, send an email to flutter-dev...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/flutter-dev/897bf02b-0ddf-42d7-831a-5a1d6997cdb6n%40googlegroups.com.

Souvik Dutta

unread,
Jul 7, 2020, 9:37:23 AM7/7/20
to Aayush Bhattarai, Flutter Development (flutter-dev)
This is the path of the file C:\Users\user\OneDrive\Desktop\project\android\app\build.gradle

Souvik flutter dev

Souvik Dutta

unread,
Jul 7, 2020, 9:38:06 AM7/7/20
to Aayush Bhattarai, Flutter Development (flutter-dev)
And this is the field of the file android.enableJetifier='true

Souvik flutter dev

Aayush Bhattarai

unread,
Jul 7, 2020, 10:54:41 AM7/7/20
to Flutter Development (flutter-dev)
Thanks Solved my Problem!
Reply all
Reply to author
Forward
0 new messages