A problem occurred configuring project ':share_plus' in flutter

Viewed 27

im using Share_Plus package in my flutter project،Share plus is a Flutter plugin for sharing content via the platform share UI, using the ACTION_SEND intent on Android and UIActivityViewController on iOS:

this is the error:

Searched in the following locations: https://dl.google.com/dl/android/maven2/com/android/tools/utp/android-test-plugin-host-coverage-proto/30.1.1/android-test-plugin-host-coverage-proto-30.1.1.jar

Could not find android-test-plugin-host-retention-proto-30.1.1.jar (com.android.tools.utp:android-test-plugin-host-retention-proto:30.1.1). Searched in the following locations: https://dl.google.com/dl/android/maven2/com/android/tools/utp/android-test-plugin-host-retention-proto/30.1.1/android-test-plugin-host-retention-proto-30.1.1.jar Could not find android-test-plugin-result-listener-gradle-proto-30.1.1.jar (com.android.tools.utp:android-test-plugin-result-listener-gradle-proto:30.1.1). Searched in the following locations: https://dl.google.com/dl/android/maven2/com/android/tools/utp/android-test-plugin-result-listener-gradle-proto/30.1.1/android-test-plugin-result-listener-gradle-proto-30.1.1.jar Could not find builder-model-7.1.1.jar (com.android.tools.build:builder-model:7.1.1). Searched in the following locations: https://dl.google.com/dl/android/maven2/com/android/tools/build/builder-model/7.1.1/builder-model-7.1.1.jar Could not find dvlib-30.1.1.jar (com.android.tools:dvlib:30.1.1). Searched in the following locations: https://dl.google.com/dl/android/maven2/com/android/tools/dvlib/30.1.1/dvlib-30.1.1.jar Could not find common-30.1.1.jar (com.android.tools:common:30.1.1). Searched in the following locations: https://dl.google.com/dl/android/maven2/com/android/tools/common/30.1.1/common-30.1.1.jar Could not find apkzlib-7.1.1.jar (com.android.tools.build:apkzlib:7.1.1). Searched in the following locations: https://dl.google.com/dl/android/maven2/com/android/tools/build/apkzlib/7.1.1/apkzlib-7.1.1.jar Could not find protos-30.1.1.jar (com.android.tools.analytics-library:protos:30.1.1). Searched in the following locations: https://dl.google.com/dl/android/maven2/com/android/tools/analytics-library/protos/30.1.1/protos-30.1.1.jar Could not find signflinger-7.1.1.jar (com.android:signflinger:7.1.1). Searched in the following locations: https://dl.google.com/dl/android/maven2/com/android/signflinger/7.1.1/signflinger-7.1.1.jar Could not find zipflinger-7.1.1.jar (com.android:zipflinger:7.1.1). Searched in the following locations: https://dl.google.com/dl/android/maven2/com/android/zipflinger/7.1.1/zipflinger-7.1.1.jar Could not find annotations-30.1.1.jar (com.android.tools:annotations:30.1.1). Searched in the following locations: https://dl.google.com/dl/android/maven2/com/android/tools/annotations/30.1.1/annotations-30.1.1.jar Could not find apksig-7.1.1.jar (com.android.tools.build:apksig:7.1.1). Searched in the following locations: https://dl.google.com/dl/android/maven2/com/android/tools/build/apksig/7.1.1/apksig-7.1.1.jar Failed to notify project evaluation listener. 2 Could not get unknown property 'android' for project ':share_plus' of type org.gradle.api.Project.

I added the package correctly, but every time i run the app, it shows this error.

0 Answers
Related