androidthings / contrib-drivers

Open source peripheral drivers
Apache License 2.0
559 stars 174 forks source link

Studio put an issue that "Could not find com.google.android.things.contrib:driver-button:1.0." #117

Open kenjo78 opened 5 years ago

kenjo78 commented 5 years ago

"implementation 'com.google.android.things.contrib:driver-button:1.0'" is added in gradle file properly. But I got an error like that. Did I miss something new? Please help me.

jdkoren commented 5 years ago

Can you please show a screenshot of the error (just the error, you can crop away anything else)? Or perhaps copy and paste the error message exactly.

kenjo78 commented 5 years ago

Oh! Thank you Jonathan for answering. It's very good to see you.

Here are log message. It changed a little but still about "drivers-button" library.

Please check below and just let me know if you got something. May the Force be with you~! LOL.

sync failed 41 s 994 ms
Starting Gradle Daemon 3 s 351 ms
Run build 20 s 648 ms
Load build 2 s 543 ms
Configure build 8 s 16 ms
allprojects 4 ms
null  
D:/study/Google/Android/sample-tensorflow-imageclassifier-master  
app/build.gradle  
Unable to resolve dependency for ':app@debug/compileClasspath': Could not resolve com.google.android.things.contrib:driver-button:1.0. Open FileShow Details  
Unable to resolve dependency for ':app@debugAndroidTest/compileClasspath': Could not resolve com.google.android.things.contrib:driver-button:1.0. Open FileShow Details  
Unable to resolve dependency for ':app@debugUnitTest/compileClasspath': Could not resolve com.google.android.things.contrib:driver-button:1.0. Open FileShow Details  
Unable to resolve dependency for ':app@release/compileClasspath': Could not resolve com.google.android.things.contrib:driver-button:1.0. Open FileShow Details  
Unable to resolve dependency for ':app@releaseUnitTest/compileClasspath': Could not resolve com.google.android.things.contrib:driver-button:1.0. Open FileShow Details