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

Latest flutter stable version is breaking with this plugin use. Urgently need fix! #158

Closed
zuhabul opened this issue Apr 28, 2024 · 13 comments
Labels
version conflict Version conflict with gradle, kotlin, other packages, etc.

Comments

@zuhabul
Copy link

zuhabul commented Apr 28, 2024

Execution failed for task ':flutter_contacts:compileDebugKotlin'.

'compileDebugJavaWithJavac' task (current target is 1.8) and 'compileDebugKotlin' task (current target is 17) jvm target compatibility should be set to the same Java version.

flutter doctor
Doctor summary (to see all details, run flutter doctor -v):
[✓] Flutter (Channel stable, 3.19.6, on macOS 14.4.1 23E224 darwin-x64, locale en-GB)
[✓] Android toolchain - develop for Android devices (Android SDK version 34.0.0)
[✓] Xcode - develop for iOS and macOS (Xcode 15.3)
[✓] Chrome - develop for the web
[✓] Android Studio (version 2023.2)
[✓] VS Code (version 1.88.1)
[✓] VS Code (version 1.79.0-insider)
[✓] Connected device (4 available)
! Error: Browsing on the local area network for Hridoy’s iPhone. Ensure the device is unlocked
and attached with a cable or associated with the same local area network as this Mac.
The device must be opted into Developer Mode to connect wirelessly. (code -27)
[✓] Network resources

• No issues found!

@arabnology
Copy link

Hey, any solution ?

We are waiting this to be fixed ASAP!!

@arabnology
Copy link

Hello, any news about this ??

@arabnology
Copy link

Is the package developer still active ?

@rignaneseleo
Copy link

Same error here

@arabnology
Copy link

Same error here

Unfortunately, the only solution for now is to fallback to Gradle version 7.x.x.

@joachim-quis
Copy link
Contributor

@arabnology @rignaneseleo @zuhabul can you try version 1.1.8?

@himsarevenus
Copy link

still happens in latest version @joachim-quis

@arabnology
Copy link

@arabnology @rignaneseleo @zuhabul can you try version 1.1.8?

still happens in latest version :(, please do something

@himsarevenus
Copy link

himsarevenus commented May 27, 2024

I found a workaround @arabnology @joachim-quis

acoutts/flutter_libphonenumber#70

project(':flutter_contacts').afterEvaluate { project(':flutter_contacts').android { compileOptions { sourceCompatibility JavaVersion.VERSION_17 targetCompatibility JavaVersion.VERSION_17 } kotlinOptions { jvmTarget = '17' } } }

@zuhabul
Copy link
Author

zuhabul commented May 27, 2024

I found a workaround @arabnology @joachim-quis

acoutts/flutter_libphonenumber#70

project(':flutter_contacts').afterEvaluate { project(':flutter_contacts').android { compileOptions { sourceCompatibility JavaVersion.VERSION_17 targetCompatibility JavaVersion.VERSION_17 } kotlinOptions { jvmTarget = '17' } } }

This workaround solution works!

@cyborpaul
Copy link

Any update about it?

@cyborpaul
Copy link

Try to use this: flutter_contacts_plus: ^1.3.0 with min sdk 23

@joachim-quis
Copy link
Contributor

Hi all - thanks for your patience and the recommended solutions.

This should be fixed in version 1.1.9. If it is not, please let me know, and reopen this conversation.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
version conflict Version conflict with gradle, kotlin, other packages, etc.
Projects
None yet
Development

No branches or pull requests

6 participants