diff --git a/app/build.gradle b/app/build.gradle index 3b180e6..2060ff0 100644 --- a/app/build.gradle +++ b/app/build.gradle @@ -17,12 +17,12 @@ apply plugin: 'com.android.application' android { - compileSdkVersion 25 - buildToolsVersion "25.0.2" + compileSdkVersion 26 + buildToolsVersion "26.0.1" defaultConfig { applicationId "com.mindorks.tensorflowexample" minSdkVersion 16 - targetSdkVersion 25 + targetSdkVersion 26 versionCode 1 versionName "1.0" testInstrumentationRunner "android.support.test.runner.AndroidJUnitRunner" @@ -40,7 +40,7 @@ dependencies { androidTestCompile('com.android.support.test.espresso:espresso-core:2.2.2', { exclude group: 'com.android.support', module: 'support-annotations' }) - compile 'com.android.support:appcompat-v7:25.1.1' + compile 'com.android.support:appcompat-v7:26.0.0' testCompile 'junit:junit:4.12' compile files('libs/libandroid_tensorflow_inference_java.jar') compile 'com.flurgle:camerakit:0.9.13' diff --git a/app/src/main/java/com/mindorks/tensorflowexample/TensorFlowImageClassifier.java b/app/src/main/java/com/mindorks/tensorflowexample/TensorFlowImageClassifier.java index b53a9fb..b290448 100644 --- a/app/src/main/java/com/mindorks/tensorflowexample/TensorFlowImageClassifier.java +++ b/app/src/main/java/com/mindorks/tensorflowexample/TensorFlowImageClassifier.java @@ -41,7 +41,7 @@ */ public class TensorFlowImageClassifier implements Classifier { - private static final String TAG = "TensorFlowImageClassifier"; + private static final String TAG = "TensorFlowClassifier"; // Only return this many results with at least this confidence. private static final int MAX_RESULTS = 3; diff --git a/build.gradle b/build.gradle index c4ee9ba..aaa9351 100644 --- a/build.gradle +++ b/build.gradle @@ -31,6 +31,9 @@ buildscript { allprojects { repositories { jcenter() + maven { + url 'https://maven.google.com' + } } }