查看
// 查看接入的key
code-push access-key ls
// 查看部署的 app 信息 包括键
code-push deployment ls test_push-android -k
版本一变一重天
问题:执行./gradlew clean
遇到:
Starting a Gradle Daemon (subsequent builds will be faster)
Configure project :app
WARNING: Configuration ‘compile’ is obsolete and has been replaced with ‘implementation’ and ‘api’.
It will be removed at the end of 2018. For more information see: http://d.android.com/r/tools/update-dependency-configurations.html
FAILURE: Build failed with an exception.
- What went wrong:
A problem occurred configuring project ‘:app’.
All flavors must now belong to a named flavor dimension. Learn more at https://d.android.com/r/tools/flavorDimensions-missing-error-message.html
解决:
defaultConfig {
// 略。。。。
minSdkVersion 16
targetSdkVersion 22
versionCode 1
versionName "1.0"
ndk {
abiFilters "armeabi-v7a", "x86"
}
flavorDimensions "versionCode" // 添加此处代码
}