Warning: file_get_contents(/data/phpspider/zhask/data//catemap/3/android/204.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
是否可以在不添加play services广告依赖项的情况下获取android广告id?_Android_Google Play Services_Google Advertising Id - Fatal编程技术网

是否可以在不添加play services广告依赖项的情况下获取android广告id?

是否可以在不添加play services广告依赖项的情况下获取android广告id?,android,google-play-services,google-advertising-id,Android,Google Play Services,Google Advertising Id,我使用google play广告依赖项只是为了获得广告id com.google.android.gms:play服务广告:7.8.0 有没有办法避免这种情况,因为库的方法计数为6201。及其相关类也可以在更小的库中找到 com.google.android.gms:play-services-basement:8.3.0 如果您使用Google Play services 8.3。在此之前,您是正确的,因为它是播放服务广告的一部分 在任何情况下,强烈建议您在发布应用程序的零售版本之前,先使用

我使用google play广告依赖项只是为了获得广告id

com.google.android.gms:play服务广告:7.8.0

有没有办法避免这种情况,因为库的方法计数为6201。

及其相关类也可以在更小的库中找到

com.google.android.gms:play-services-basement:8.3.0
如果您使用Google Play services 8.3。在此之前,您是正确的,因为它是
播放服务广告的一部分


在任何情况下,强烈建议您在发布应用程序的零售版本之前,先使用删除应用程序中未使用的代码。

并非所有GPS都已升级。单击左侧的“外部”LIB,您可以看到
advisingID
将位于哪个模块中。