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

Error:Could not find property 'preBuild' on root project 'leying'. #2

Open
ihrthk opened this issue Dec 18, 2015 · 3 comments
Open

Comments

@ihrthk
Copy link

ihrthk commented Dec 18, 2015

No description provided.

@damonliuchn
Copy link
Owner

你是在你 app 目录下的 build.gradle文件里引用改脚本的吗,不要在根目录的 build.gradle里引用,如果还不行可以提供一下你 build.gradle的相对路径

@ihrthk
Copy link
Author

ihrthk commented Dec 21, 2015

是的。app 和root 是同一build.gradle文件。
路径 D:\workspace\leying\build.gradle

@damonliuchn
Copy link
Owner

leying 是你的 Project 目录,在这个目录下应该有一个住 module,里边有个 build.gradle. 你可以用 as 新建一个 project 里边会有一个 app 目录那就是主 module

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

No branches or pull requests

2 participants