机器人工作室1.0和错误"库项目不能设置的applicationID" [英] Android Studio 1.0 and error "Library projects cannot set applicationId"

查看:160
本文介绍了机器人工作室1.0和错误"库项目不能设置的applicationID"的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

更新的Andr​​oid工作室到1.0后,我看到这样的错误:

After updating Android Studio to 1.0, I see this error:

错误:库项目不能设置的applicationID。的applicationID设置的   在默认配置com.super.app。

我更新的插件摇篮的建议,但我不知道如何解决这个问题。

I updated the Gradle plugin as suggested but I did not understand how to fix this.

推荐答案

在此基础上的信息的:

的applicationID在库项目

ApplicationId in Library Projects

您不能使用的applicationID自定义库项目的包。包名称已被固定在库项目(并在清单中指定的packageName)。该摇篮插件并没有强制执行这个限制更早。

You cannot use applicationId to customize the package of a library project. The package name has to be fixed in library projects (and specified as packageName in the manifest). The Gradle plugin did not enforce this restriction earlier.

从库的 build.gradle 文件中删除的applicationID变量应该可以解决这个问题。

Removing applicationId variable from the library's build.gradle file should resolve the issue.

这篇关于机器人工作室1.0和错误"库项目不能设置的applicationID"的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆