g123k / flutter_torch_compat

A plugin to enable or disable the torch of a device that works both on Android (including Android 4.x) and iOS.
https://pub.dev/packages/torch_compat
Apache License 2.0
7 stars 22 forks source link

Build failed with an exception. #8

Open Prateek-Vortex opened 4 years ago

Prateek-Vortex commented 4 years ago

When I try to build this error occurred.

A problem occurred configuring project ':torch_compat'.

Could not open cp_proj remapped class cache for bwwbvmdk98egbplr485cawuhq (C:\Users\Prateek Saxena.gradle\caches\5.6.2\scripts-remapped\build_82o7xjpi4r2bzieph3sg9elya\bwwbvmdk98egbplr485cawuhq\cp_proj40e7ec637808a9c747559d26950b1d9b). Unexpected lock protocol found in lock file. Expected 3, found 0. Could not get unknown property 'android' for project ':torch_compat' of type org.gradle.api.Project.