Warning: file_get_contents(/data/phpspider/zhask/data//catemap/6/ant/2.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
Android 如何只编译所需的Google Play服务';蚂蚁依赖_Android_Ant_Google Play Services - Fatal编程技术网

Android 如何只编译所需的Google Play服务';蚂蚁依赖

Android 如何只编译所需的Google Play服务';蚂蚁依赖,android,ant,google-play-services,Android,Ant,Google Play Services,看来,谷歌Play的更新版本只能用gradle编译 有点像 dependencies { compile 'com.google.android.gms:play-services-base:6.5.+' compile 'com.google.android.gms:play-services-maps:6.5.+' } 如果我不想使用标准的project.properties文件,而只想包含一些依赖项(分析和应用内计费服务所需),那么我如何才能获得相同的结果

看来,谷歌Play的更新版本只能用gradle编译

有点像

dependencies {
      compile 'com.google.android.gms:play-services-base:6.5.+'
      compile 'com.google.android.gms:play-services-maps:6.5.+'
    }

如果我不想使用标准的
project.properties
文件,而只想包含一些依赖项(分析和应用内计费服务所需),那么我如何才能获得相同的结果呢?

这在谷歌提供的情况下是不可能的。只支持Gradle。

YMMV,我想。特别是在过去的几个月里,情况发生了很大的变化——10秒以下的推送给一台设备带来了巨大的变化。还有一个是专门为Gradle提供帮助的,另一个是专门为ok提供帮助的。你能告诉我,我需要为google billing services编译哪些组件吗??在这个列表中,我找到了除了账单以外的所有东西的单一组件名称。应用内计费完全独立于Google Play服务,并且有一个独立的帐户,因此仅凭aidl就足够了,我不需要钱包或其他Google Play服务组件?是的!AIDL是唯一需要的部件。相关: