title: Can not resolve import LocalBroadcastManager on statement android.support.v4.content.LocalBroadcastManager;
body: <p>I got this error while importing an eclipse project to Android studio. It shows a suggestion Add library <code>Gradle: com.android.support:support-core-utils-27.1.1</code> to classpath. I have added the library in my <code>build.gradle</code> file.</p>
  
  <p>Here is my gradle file.</p>
  
  <pre><code>apply plugin: 'com.android.application'
  
  android {
  compileSdkVersion 27
  buildToolsVersion "28.0.0"
  
  defaultConfig {
      applicationId "com.example.tracking"
      minSdkVersion 17
      targetSdkVersion 27
  }
  
  buildTypes {
      release {
          minifyEnabled false
          proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.txt'
      }
  }
  }
  
  allprojects {
  repositories {
      google()
  
  }
  }
  
  dependencies {
  
  
  implementation project(':asciiProtocol')
  implementation project(':deviceList')
  implementation project(':captureActivity')
  implementation 'com.android.support:support-v4:27.1.1'
  implementation 'com.android.support:appcompat-v7:27.1.1'
  implementation "com.android.support:support-core-utils:27.1.1"
  implementation 'com.google.code.gson:gson:2.8.2'
  implementation 'com.google.code.gson:gson:2.8.2'
  implementation 'com.google.code.gson:gson:2.8.2'
  implementation files('libs/opencsv-2.3.jar')
  implementation files('libs/rfid.reader.api.jar')
  implementation files('libs/scannercontrol.jar')
  implementation files('libs/Zebra.jar')
  
  configurations.all {
      resolutionStrategy.eachDependency { DependencyResolveDetails details -&gt;
          def requested = details.requested
          if (requested.group == 'com.android.support') {
              if (!requested.name.startsWith("multidex")) {
                  details.useVersion '27.1.1'
              }
          }
      }
  }
  }
  </code></pre>
  
  <p>I googled it but I could not find a proper solution for this. However, I tried the solution from <a href="https://stackoverflow.com/questions/21082990/cant-add-localbroadcastmanager-to-project-in-android-studio?answertab=active#tab-top">this</a> that isn't the right solution. Any help is appreciated?</p>