Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

grade cleanLib buildLib 出错 #115

Open
jmchen-ggm opened this issue Apr 25, 2016 · 4 comments
Open

grade cleanLib buildLib 出错 #115

jmchen-ggm opened this issue Apr 25, 2016 · 4 comments

Comments

@jmchen-ggm
Copy link
Contributor

Execution failed for task ':lib.afterutils:assembleRelease'.

Could not find property 'applicationVariants' on com.android.build.gradle.LibraryExtension_Decorated@1be17ac3.

@peacepassion
Copy link
Contributor

@jmchen-ggm cleanLib buildLib不能在一起执行,要分开执行。
gradle cleanLib
gradle buildLib

@pscj
Copy link

pscj commented Apr 25, 2016

我觉得你遇到了和我一样的问题,你创建的那个app.main,创建成library了,其实应该是application类型

@TOPWN
Copy link

TOPWN commented Dec 14, 2016

请问这个问题现在怎么解决

@chond
Copy link

chond commented Dec 14, 2016

创建app.main 为:Phone & Tablet Module。

创建app.lib 为:Android Library

但是还是会出现以上问题,求如何解决

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

6 participants