- html - 出于某种原因,IE8 对我的 Sass 文件中继承的 html5 CSS 不友好?
- JMeter 在响应断言中使用 span 标签的问题
- html - 在 :hover and :active? 上具有不同效果的 CSS 动画
- html - 相对于居中的 html 内容固定的 CSS 重复背景?
在我将 android studio 更新到 3.4.2 和 gradle 之后,当我运行这条线时
gradlew publishApkappNameRelease
我收到这个错误:
* What went wrong: Some problems were found with the configuration of task ':app:generateappNameReleasePlayResources'.
> File 'E:\Projects\packagename\app\src\main\play' specified for property '$1' does not exist.
> File 'E:\Projects\packagename\app\src\appName\play' specified for property '$2' does not exist.
> File 'E:\Projects\packagename\app\src\release\play' specified for property '$3' does not exist.
> File 'E:\Projects\packagename\app\src\appNameRelease\play' specified for property '$4' does not exist.
* Try: Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output. Run with --scan to get full insights.
* Get more help at https://help.gradle.org
Deprecated Gradle features were used in this build, making it incompatible with Gradle 6.0. Use '--warning-mode all' to show the individual deprecation warnings. See https://docs.gradle.org/5.1.1/userguide/command_line_interface.html#sec:command_line_warnings
BUILD FAILED in 2m 47s 56 actionable tasks: 55 executed, 1 from cache
注意:这一行是用来自动发布apk的
apply plugin: 'com.github.triplet.play'
classpath 'com.github.triplet.gradle:play-publisher:1.1.5'
同样当我运行这个命令行 gradlew --recompile-scripts
我得到错误
Unknown command-line option '--recompile-scripts'
这些命令在更新前运行良好。
更新:
当我尝试将 triplet.play 更新到任何 t 软管版本 (2.2.1 - 2.2.0 - 2.1.1 - 2.1.0 - 2.0.0 - 2.0.0-rc2) 时,我收到此错误
Could not find com.github.triplet.gradle:play-publisher:2.2.1.
Searched in the following locations:
- https://dl.google.com/dl/android/maven2/com/github/triplet/gradle/play-publisher/2.2.1/play-publisher-2.2.1.pom
- https://dl.google.com/dl/android/maven2/com/github/triplet/gradle/play-publisher/2.2.1/play-publisher-2.2.1.jar
- https://jcenter.bintray.com/com/github/triplet/gradle/play-publisher/2.2.1/play-publisher-2.2.1.pom
- https://jcenter.bintray.com/com/github/triplet/gradle/play-publisher/2.2.1/play-publisher-2.2.1.jar
- https://repo.maven.apache.org/maven2/com/github/triplet/gradle/play-publisher/2.2.1/play-publisher-2.2.1.pom
- https://repo.maven.apache.org/maven2/com/github/triplet/gradle/play-publisher/2.2.1/play-publisher-2.2.1.jar
Required by:
project :
最佳答案
显然,根据此处的 GitHub 问题,可以通过将 play-publisher 插件的版本从 1.1.5 升级到 2.1.1 来解决此问题:https://github.com/Triple-T/gradle-play-publisher/issues/532
但是,该插件的较新版本似乎并非在所有 Artifact 存储库中都可用。我在这里找到了它,其中有明确的步骤:https://plugins.gradle.org/plugin/com.github.triplet.play
最后,建议您再次检查他们的 GitHub 页面,以确保您当前拥有的配置仍然兼容:https://github.com/Triple-T/gradle-play-publisher
关于 gradlew --recompile-scripts
,这在新版本中已被弃用和删除,因为大多数时候 gradle 守护进程正在运行并忽略此选项。更多信息在这里:https://github.com/gradle/gradle/issues/1425
关于android - 'com.github.triplet.play' 任务 ':app:generateAppNameReleasePlayResources'的配置发现了一些问题,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/57029252/
如果我们有 (a1, b1) 和 (a2, b2) 就很容易使用字典来存储对应关系: dict[a1] = b1 dict[a2] = b2 我们可以得到 (a1, b1) 和 (a2, b2) 没有
所以我刚刚了解了 Triplet类(class)。我没有使用 ASP.NET 的经验,只有核心 .NET Framework。 有人可以向我解释 Triplet 类存在的位置/原因吗?它像元组吗? 最
题目地址:https://leetcode.com/problems/increasing-triplet-subsequence/description/ 题目描述: Given an unso
我发现识别服务的方法是通过 DVB 三元组。 DVB三元组是如何形成的,如何保证唯一性? 最佳答案 根据 TS 102 539,DVB 三元组由以下部分组成: 原始网络 ID 传输流 ID 服务 ID
代码如下: <?php /** * 三元组 Triplet * */ class Triplet { p
使用 c++ std 的 unordered_map 我想将整数三元组映射到单个整数,我通常不使用哈希表(不知道它们这么酷),但我不知道在这种情况下的正确方法,我应该使用默认的散列函数直接映射三元组(
我想比较以下类型的 CNN 对于两个不同的大型图像数据集的性能。目标是测量两幅图像之间的相似性,这两幅图像在训练期间都没有出现过。我可以使用 2 个 GPU 和 16 个 CPU 内核。 Triple
我的原生 gcc 说,它的三元组如下。 > gcc -dumpmachine x86_64-suse-linux 其中cpu-vendor-os对应x86_64、suse、linux。后者意味着 gl
我正在努力了解如何使用 tm 包的 TermDocumentMatrix() 生成的简单三重矩阵进行基本操作。 问题似乎出在矩阵未被识别为数字。 library(tm) data("crude") t
我想制作一个通用的特征提取器,它还可以将新类分类为模型中的未知类。除了基于距离的矩阵之外,还有什么好的技术可用吗? 目前我正在使用 Triplet loss,由于 alpha 值较小,我的 Tripl
这是 Codility 的三角问题: A zero-indexed array A consisting of N integers is given. A triplet (P, Q, R) is
我正在使用邻接矩阵来表示可以在视觉上解释为的 friend 网络 Mary 0 1 1 1 Joe 1 0 1 1
我对 C 还很陌生,并且部分地通过 Codility 培训来学习它。 对于三重问题,我只得到 11% 我不确定这里有什么问题。问题是:给定一个由 N 个整数组成的非空零索引数组 A。三元组 (P, Q
在我将 android studio 更新到 3.4.2 和 gradle 之后,当我运行这条线时 gradlew publishApkappNameRelease 我收到这个错误: * What w
你看,大多数讨论图像创建的帖子都涉及 3D 矩阵 [0][1][2],它有效地包含直接应用的必要信息 img = Image.fromarray(Matrix, 'RGB') 但是,我遇到了一个具有“
碰到古老的 .NET Pair Class和 Triplet Class 为什么它们在 System.Web.UI 命名空间中? 我可以在桌面(Windows 窗体)或控制台应用程序中使用它们吗? 更
碰到古老的 .NET Pair Class和 Triplet Class 为什么它们在 System.Web.UI 命名空间中? 我可以在桌面(Windows 窗体)或控制台应用程序中使用它们吗? 更
这个问题在这里已经有了答案: Find all triplets in array with sum less than or equal to given sum (5 个答案) 关闭 8 年前。
我是一名优秀的程序员,十分优秀!