I started with cordova and I have some small problems. I've created an android application. I have installed java, android SDK , Apache Ant and Apache Ant.
I have added android with cordova add platforms android
and builded correctly.
1 - When I use cordova run android
I get the following error:
an error occured while running the android project . Buildfile : ...Demo \ platforms \ android \ build.xml . ERROR : Failed to install apk to device
I think this is due to the fact that my application is not in debug mode. How to set the debug mode? (' cordova emulate android ' works and launches the emulator )
2 - When I want to load a project in eclipse . (New project - > Android Project from Existing Code) I have the error:
Invalid project description Reason : . Invalid project description
How to overcome this error ?
3 - I want to install external plugins, eg - https://github.com/ClickInnovate/CordovaPhoneGapPlugins/tree/master/Android/SocialMessage - https://github.com/phonegap/phonegap-plugins/tree/master/Android/StatusBarNotification It is said that to copy the java files in the src folder , but, I copy the java files in the original project or one that is build ( in plateform directorie )