benjamindean / flutter_vibration

Handle vibration on iOS and Android in Flutter apps
217 stars 67 forks source link

Problem building on Android #85

Closed Novpic closed 1 year ago

Novpic commented 1 year ago

Hi Devs, I have this problem running on android, does anyone can tell me what I have donde wrong or what can I do?

This is what the console throws.

currently using version 1.7.7


FAILURE: Build failed with an exception.

* Where:
Script '/Users/juancamilolondono/Documents/Development/flutter/packages/flutter_tools/gradle/flutter.gradle' line: 412

* What went wrong:
A problem occurred configuring project ':vibration'.
> Failed to notify project evaluation listener.
   > Could not get unknown property 'android' for project ':vibration' of type org.gradle.api.Project.
   > Could not get unknown property 'android' for project ':vibration' of type org.gradle.api.Project.
benjamindean commented 1 year ago

The project is on Android Gradle Plugin 8.0. You can either upgrade, or remove the namespace if it's not possible to upgrade.