No service of type Factory available in ProjectScopeService

Geeks, please accept the hero post of 2021 Microsoft x Intel hacking contest>>>

Error in importing project downloaded from GitHub

No service of type Factory< LoggingManagerInternal> available in ProjectScopeService

Most people on the Internet say they will

classpath ‘com.github. dcendents:android-maven-plugin : 1.3 ‘

the version can be upgraded to 1.4.1 or above, and the attempt is invalid. In fact, the Android Maven plugin should be changed to Android maven gradle plugin at the same time

Namely

classpath‘com.github. dcendents:android-maven -gradle– plugin:1.4.1 ‘

Failed resolution of: LCOM/Google/Android/GMS/common/API/API $clientkey( I imported a demo of Google maps

At this point, just upgrade the version of your play services related jar package, such as

compile "com.google.android.gms:play-services-location:7.5.0"

Upgrade to

compile "com.google.android.gms:play-services-location:8.4.0"

That’s it

EMM, but the problem is that once the version exceeds 7, the package of com.google.android.gms.location.places will not be found

Similar Posts: