admin管理员组

文章数量:1125412

when i try to run my flutter app on an android emulator, i get this error, but when i run it on chrome its flawless

FAILURE: Build failed with an exception.

  • Where: Build file '...\myproject\android\build.gradle' line: 4

  • What went wrong: Error resolving plugin [id: 'com.android.library', version: '8.1.0', apply: false]

The request for this plugin could not be satisfied because the plugin is already on the classpath with an unknown version, so compatibility cannot be checked.

i tried flutter upgrade reinstalling the proper gradle making sure my plugins are up to date making sure my firebase-bom is up to date removing duplicate/unused dependancies

i expected the versions to sync and for th eandroid emulator to work, the my issue persists

本文标签: Flutter version conflict for buildgrade on android studioStack Overflow