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

我发现了一个很奇怪的问题,无法生成MyObjectBox #1

Open
Leo199206 opened this issue Jan 22, 2018 · 3 comments
Open

我发现了一个很奇怪的问题,无法生成MyObjectBox #1

Leo199206 opened this issue Jan 22, 2018 · 3 comments

Comments

@Leo199206
Copy link

image
实体类必须放包名下model.boxstroe目录下,才能正确生成MyObjectBox这个类,感觉好奇葩😂

@Jay-huangjie
Copy link
Owner

兄弟,不用这么写的把,你只要在进入Build> Make project之前,至少创建一个带有@entity注解的实体类就能正常生成MyObjectBox类了,我测试了和目录没关系的

@Jay-huangjie
Copy link
Owner

或者检查下你的Gradle版本,版本太低也是不能正常生成的

@Leo199206
Copy link
Author

image
Gradle版本也不低,所以我遇到这个问题很奇葩

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