Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

No Java files found which extend CordovaActivity. when use "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:

[Error: No Java files found which extend CordovaActivity.]

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

like image 438
Jack Zhang Avatar asked Nov 28 '13 13:11

Jack Zhang


1 Answers

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

remove : cordova platform rm android
add : cordova platform add android

like image 143
Sundar Ram Avatar answered Sep 27 '22 23:09

Sundar Ram