这个项目不使用Gradle构建系统

这个项目不使用Gradle构建系统

本文介绍了这个项目不使用Gradle构建系统。我们建议您迁移到使用Gradle构建系统的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我是android新手工作室

I am new to android studio

我已将importgap项目导入Android studio。

I have importing phonegap project into android studio.

得到此错误

This project does not use the Gradle build system. We recommend that you migrate to using the Gradle build system.

我不知道如何使用android studio

and i dont know how to use android studio

我做了以下步骤。


  1. nodejs和phonegap和android studio安装

  2. Phonegap项目创建

  3. 将android平台添加到phonegap项目中并构建android

  4. 将项目导入Studio(我已经导入整个应用程序, li>
  1. nodejs and phonegap and android studio installation
  2. Phonegap project creation
  3. add android platform into phonegap project and build android
  4. import the project into studio (I have imported whole app not only android platform)
Migrate Project to Gradle?
            This project does not use the Gradle build system. We recommend that you migrate to using the Gradle build system.
            More Information about migrating to Gradle
            Don't show this message again.

我如何解决这个问题?以及如何运行项目?以及如何在android studio + Phonegap项目中继续进行

How can i solve this? and how to run the project? and how to proceed further in android studio+Phonegap project

推荐答案

@Deen,

See UPDATE

但是,在最后一个小时(2015-12-04 10:45 pm在得克萨斯州埃尔帕索)我发现这可能不是这样。

However, in the last hour (it's 10:45pm on 2015-12-04 in El Paso, Texas) I found out this may not be the case.

我已经询问到Nitobi论坛,Phonegap Build的官方论坛。
请参阅:

I have made an inquire to the Nitobi Forum, Phonegap Build's "official forum".
See: Is gradle the default build?

在此期间,您应该能够强制使用:

In the meantime you should be able to force gradle with:

< preference name =android-build-toolvalue =gradle/>

文档确认同样多。请参阅:配置 - > 首选项 - >

The documentation confirms as much. See: Configuring->Preferences->Android Only

注意: Phonegap Build是构建Apps的云服务。它不在IDE中运行。 Phonegap Build 是自包含的。详情请参阅Stack-overflow标记。

NOTE: Phonegap Build is a cloud service to build Apps. It does not run in an IDE. Phonegap Build is self-contained. See the Stack-overflow tag for more.

更新:2015-12-05T22:19:32 其他志愿者在Nitobi的反应表明Phonegap在公告后24小时内删除默认gradle。

UPDATE: 2015-12-05T22:19:32 The response from other Volunteers on Nitobi indicate that Phonegap remove thed "default gradle" within 24 hours of the announcement.

最好的运气

这篇关于这个项目不使用Gradle构建系统。我们建议您迁移到使用Gradle构建系统的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!

09-02 15:10