luis901101 / honeywell_scanner

BSD 3-Clause "New" or "Revised" License
22 stars 9 forks source link

Could not resolve all files for configuration ':app:debugRuntimeClasspath'. #16

Open StatTark opened 1 year ago

StatTark commented 1 year ago

Hello, I am getting this error even though I fulfill all the installation conditions. I did the same with everything in the example section in the GitHub account.The screenshot of the error message I received is as follows.

image

setting.gradle file

include ':app'
include ':honeywell'

def localPropertiesFile = new File(rootProject.projectDir, "local.properties")
def properties = new Properties()

assert localPropertiesFile.exists()
localPropertiesFile.withReader("UTF-8") { reader -> properties.load(reader) }

def flutterSdkPath = properties.getProperty("flutter.sdk")
assert flutterSdkPath != null, "flutter.sdk not set in local.properties"
apply from: "$flutterSdkPath/packages/flutter_tools/gradle/app_plugin_loader.gradle"

folder structure image version honeywell_scanner: ^4.0.0+14

luis901101 commented 1 year ago

Hi, try to run example project from plugin and compare each part with your project. Also try a ./gradlew clean and build again. According to your logs, for some reason it's not found the honeywell module, if you have everything in place, then do a full clean/rebuild and that should make it work or at least different error should show.