If you got Different error after importing phonegap created projects into Eclipse as existing android project.
Note : While Importing do not set copy Project to Workspace, use same location where phonegap created project.
To solve all other errors do below steps.
a) import project from Android folder it will import both "hello world" and "hello world-cordovaLib"
b) clean both projects Project->Clean All (select two projects and unselect Automatic Build)->Clean
c ) remove the reference to "hello world-cordovaLib" from "hello world"
Rightclick on Hello World->Project->Android->is Library->Remove Reference of hello world-cordovaLib
d) build the "hello-cordovaLib"
e) restore the reference to "hello world-cordovaLib" from "hello world"
Rightclick->Project->Android->is Library->Add Reference of hello world-cordovaLib
f) clean "hello world" and run
Note : While Importing do not set copy Project to Workspace, use same location where phonegap created project.
To solve all other errors do below steps.
a) import project from Android folder it will import both "hello world" and "hello world-cordovaLib"
b) clean both projects Project->Clean All (select two projects and unselect Automatic Build)->Clean
c ) remove the reference to "hello world-cordovaLib" from "hello world"
Rightclick on Hello World->Project->Android->is Library->Remove Reference of hello world-cordovaLib
d) build the "hello-cordovaLib"
e) restore the reference to "hello world-cordovaLib" from "hello world"
Rightclick->Project->Android->is Library->Add Reference of hello world-cordovaLib
f) clean "hello world" and run
Thank you for sharing such a wonderful Information !!
ReplyDeleteHere is a list of Top LINUX INTERVIEW QUESTIONS
Veritas Cluster Interview Questions
Redhat Cluster Suite Commands
SAMBA Server Interview Questions
Linux FTP vsftpd Interview Questions
SSH Interview Questions
Apache Interview Questions
Nagios Interview questions
IPTABLES Interview Questions
Ldap Server Interview Questions
LVM Interview questions
Sendmail Server Interview Questions
YUM Interview Questions
NFS Interview Questions
Tcpdump Command Examples & Usages
Example of YUM Commands
Read More at :- Linux Troubleshooting