No Java files found which extend CordovaActivity. when use “cordova build”
My computer is Windows 10 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?
I had the same 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