react-native-camera报错 camaramanager.aspect

修改build.gradle为

buildscript {
     repositories {
           jcenter()
           maven {
              url 'https://maven.google.com/'
              name 'Google'
           }
       }

      dependencies {
          classpath 'com.android.tools.build:gradle:2.2.3'
      }
}

allprojects {
    repositories {
          mavenLocal()
          jcenter()
          maven {
              // All of React Native (JS, Obj-C sources, Android binaries) is installed       from cpm
              url "$rootDir/../node_modules/react-native/android"
          }
         maven { url "https://jitpack.io" }
         maven {
            url 'https://maven.google.com/'
           name 'Google'
         }
   }
}

清缓存,同步

你可能感兴趣的:(react-native-camera报错 camaramanager.aspect)