簡體   English   中英

科爾多瓦,在哪里build.gradle文件

[英]cordova, where is build.gradle file

更改build.gradle

然后我運行cordova build android build.gradle文件已更新。

如何更改cordova /插件的依賴關系? 還是強制使用特定版本? 遇到問題:google-gcm服務

我的插件依賴項沖突,導致服務無法構建。

這樣的事情可能會幫助您:

buildscript {
repositories {
    google()
}
dependencies {
    classpath 'com.android.tools.build:gradle:2.3.3'
    classpath 'com.google.gms:google-services:1.5.0-beta2'
}
}
apply plugin: 'com.android.application'
apply plugin: 'com.google.gms.google-services'

dependencies {
compile 'com.google.android.gms:play-services-gcm:8.3.0'
}

暫無
暫無

聲明:本站的技術帖子網頁,遵循CC BY-SA 4.0協議,如果您需要轉載,請注明本站網址或者原文地址。任何問題請咨詢:yoyou2525@163.com.

 
粵ICP備18138465號  © 2020-2024 STACKOOM.COM