[SOLVED] No Java files found which extend CordovaActivity. when use “cordova build”

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 and found find the solution.

Solution

I had the 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

Leave a Comment

Your email address will not be published. Required fields are marked *

Scroll to Top