Android播放服务Android Studio 2.1.2中的冲突

时间:2016-08-05 12:22:39

标签: android android-studio-2.1

我收到此错误:

  

找到com.google.android.gms:play-services-auth:9.4.0,但版本   google-services插件需要9.0.0。

迫使我使用9.0.0版本,但我想使用9.4.0。

建议将不胜感激。

1 个答案:

答案 0 :(得分:2)

我也遇到了这个问题并通过简单地将这一行放在应用程序graddle文件的末尾而不是顶部来找到解决方案

<强> function onDeviceReady() { window.requestFileSystem(LocalFileSystem.PERSISTENT, 0, gotFS, fail); } function gotFS(fileSystem) { alert(JSON.stringify(fileSystem.root)); return; fileSystem.root.getFile("readme.txt", {create: true}, gotFileEntry, fail); }