Android UI设计器(IntelliJ)-等待构建完成?

时间:2018-08-29 20:44:17

标签: android maven intellij-idea plugins multi-module

我有一个Maven多模块项目。最近,我添加了一个android模块。我可以使用maven构建和部署apk,并且效果很好。但是我似乎无法加载Android UI设计器。我看到的只是一个无尽的加载屏幕。

enter image description here

但是IntelliJ试图构建什么?我所做的只是向模块添加了Android Facette,因此我可以编辑资源xml。

我知道您应该使用Gradle构建android项目。但是这个项目是在maven上构建的,而android模块也必须使用maven构建。 IntelliJ还希望我配置检测到的Android框架。但是随后它告诉我,没有检测到任何框架。 有人遇到过这样的事情吗?

编辑: 这是日志文件:

2018-08-30 17:55:51,567 [  57685]   INFO - pl.ProjectRootManagerComponent   - project roots have changed 
2018-08-30 17:55:51,686 [  57804]   INFO - .diagnostic.PerformanceWatcher - Pushing properties took 3ms; general responsiveness: ok; EDT responsiveness: ok 
2018-08-30 17:55:51,782 [  57900]   INFO - .diagnostic.PerformanceWatcher - Indexable file iteration took 96ms; general responsiveness: ok; EDT responsiveness: ok 
2018-08-30 17:55:52,583 [  58701]   INFO - attrs.AttributeDefinitionsImpl - Found tag with unknown parent: AndroidManifest.AndroidManifestSupportsInput 
2018-08-30 17:55:52,583 [  58701]   INFO - attrs.AttributeDefinitionsImpl - Found tag with unknown parent: AndroidManifest.AndroidManifestCompatibleScreens 

0 个答案:

没有答案