Google Play Services 6.5。+ API白屏

时间:2015-01-08 13:05:18

标签: android google-play-services

使用时我的应用程序成功运行:

compile 'com.google.android.gms:play-services:6.1.11'

但是当我转而使用:

compile 'com.google.android.gms:play-services:6.5.+'

应用程序立即显示白屏,然后显示ANR。

这是干净和构建之后的gradle控制台日志:

Configuration on demand is an incubating feature.

WARNING: Dependency org.apache.httpcomponents:httpclient:4.0.1 is ignored for <app1> as it may be conflicting with the internal version provided by Android.
     In case of problem, please repackage it with jarjar to change the class packages
...
Note: Some input files use or override a deprecated API.
Note: Recompile with -Xlint:deprecation for details.
Note: Some input files use unchecked or unsafe operations.
Note: Recompile with -Xlint:unchecked for details.
...

BUILD SUCCESSFUL

2 个答案:

答案 0 :(得分:2)

您是否有机会使用Google Analytics?我最近发现https://code.google.com/p/android/issues/detail?id=82157似乎和我一样。如果是这种情况,您可以尝试Google Analytics blocks Android App

答案 1 :(得分:-1)

在6.5中,您不再需要导入播放服务的每个子模块 Check this link;)

希望这有帮助!