在Android Studio中运行项目时出错

时间:2016-10-02 14:43:40

标签: android

我使用的是Android Studio v2.2.0.12。我创建了一个新的应用程序,但是当我构建它时,它会卡在gradle Build Running步骤上。

enter image description here

终端输出为:

[  22589]   WARN - radle.project.ProjectSetUpTask -  
[  22675]   WARN - roid.tools.ndk.GradleWorkspace - NDK support for project 'plaid' is disabled because the project doesn't contain any valid native configurations. 
[  29788]   WARN - roid.tools.ndk.GradleWorkspace - NDK support for project 'Discover-Delhi' is disabled because the project doesn't contain any valid native configurations. 
[  35374]   WARN - s.idea.run.util.MultiUserUtils - Error parsing output of `am get-current-user`: usage: am [subcommand] [options]
usage:... 
Loading library manifest /home/cortana/AndroidProjects/FirstApp/app/src/main/nevercreated.xml
Merging main manifest /home/cortana/AndroidProjects/FirstApp/app/src/main/AndroidManifest.xml
Merging library manifest /home/cortana/AndroidProjects/FirstApp/app/src/main/nevercreated.xml
Merging manifest with lower nevercreated.xml:1:1-12:12
Merging application with lower nevercreated.xml:3:5-11:19
[1339049]   WARN - .workspace.NdkWorkspaceManager - NDK support for project 'FirstApp' is disabled because it's not a valid Android project 
[1339338]   WARN - ools.idea.run.util.LaunchUtils - calling isWatchFaceApp when facet is not ready yet 

我认为这个错误 - >

  

[35374] WARN - s.idea.run.util.MultiUserUtils - 解析am get-current-user的输出时出错:usage:am [subcommand] [options]

是构建未完成的原因。在以前版本的android studio上它从未花费超过几秒钟,现在等了半个小时。这可能是它不建造的原因吗?如果是,我该如何纠正?

0 个答案:

没有答案