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.
I had the error when I cloned my repository from another project. I solved it by removing the platforms and adding it again.
cordova platform rm android
cordova platform add android