找不到扩展CordovaActivity的Java文件。当使用“cordova build”时 [英] No Java files found which extend CordovaActivity. when use "cordova build"

查看:2549
本文介绍了找不到扩展CordovaActivity的Java文件。当使用“cordova build”时的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我的电脑是Windows 8 64bit,我为我的项目安装了cordova和android平台,我已经通过输入创建了我的项目 cordova create hello com.example.hello HelloWorld cordova平台添加android
但是当我运行 cordova build 时,它会显示以下错误:

My computer is Windows 8 64bit, i install cordova and android platform for my project, I have created my project by input cordova create hello com.example.hello HelloWorld and cordova platform add android but when i run cordova build, it show below error:

[错误:找不到扩展CordovaActivity的Java文件。]

我在网上搜索但是还没找到解决方案,有什么问题?

i searched the web but didn't find the solution yet, What's the problem?

推荐答案

我遇到同样的错误从另一个项目克隆我的存储库。我通过删除平台并再次添加它来解决它。

I had the same error when I cloned my repository from another project. I solved it by removing the platforms and adding it again.

这篇关于找不到扩展CordovaActivity的Java文件。当使用“cordova build”时的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆