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

实际应用中遇到的 #4

Open
kryst4l opened this issue May 16, 2017 · 7 comments
Open

实际应用中遇到的 #4

kryst4l opened this issue May 16, 2017 · 7 comments

Comments

@kryst4l
Copy link

kryst4l commented May 16, 2017

image
向MainAppliaction.java中添加这个方法 会报错

Uploading 20170516171906.png…
:app:compileDebugJavaWithJavac - is not incremental (e.g. outputs have changed, no previous execution, etc.).
E:\EasyInvoice\android\app\src\main\java\com\easyinvoice\MainApplication.java:32: 错误: 找不到符号
super.onCreate();
^
符号: 方法 onCreate()
E:\EasyInvoice\android\app\src\main\java\com\easyinvoice\MainApplication.java:54: 错误: 方法不会覆盖或实现超类型的方法
@OverRide
^
2 个错误
:app:compileDebugJavaWithJavac FAILED

FAILURE: Build failed with an exception.

@kryst4l
Copy link
Author

kryst4l commented May 16, 2017

czehamy kg_nz1dwv2jr n

@songxiaoliang
Copy link
Owner

@kryst4l 你好,这种问题还是要你的环境是否搭建正确,以及检查下代码。

@kryst4l
Copy link
Author

kryst4l commented May 17, 2017 via email

@songxiaoliang
Copy link
Owner

@kryst4l 你用的什么版本?0.44?

@kryst4l
Copy link
Author

kryst4l commented May 17, 2017 via email

@songxiaoliang
Copy link
Owner

@kryst4l 我这个用的0.3X版本,代码都是测试没问题的。不行你就降低版本吧。

@kryst4l
Copy link
Author

kryst4l commented May 17, 2017 via email

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