java.lang.ClassNotFoundException after changing nothing in the project but upgrading eclipse android sdk -


this question has answer here:

some time ago developed rather simple app, target of 4.2.2. had working in device. stopped development 1 month.

after recent google i/o, decided come development. first did open android sdk manager , update newly available packages (i think sdk tools, platform tools, , not more).

i tried run project , got java.lang.classnotfoundexception. checked everything, no errors @ all, building completing successfully.

java.lang.classnotfoundexception: didn't find class "com.example.compassgps.compassgpsactivity" on path: /data/app/com.example.compassgps-2.apk 

i have tried lot of things: cleaned project, changed android target (in case new revisions api17 had made crash)...

i have searched through stackoverflow's asked questions, have not found of situations in changes project none. feeling quite frustrated because have changed nothing , project has stopped working :(

right click on project goto properties. java build path. choose order export tab. make sure android private libraries selected. if have referenced library project. same library project also. clean , build.

also goto android sdk manager , check have android sdk build tools installed. many not necessary make sure have android build tools installed.


Comments

Popular posts from this blog

SPSS keyboard combination alters encoding -

Add new record to the table by click on the button in Microsoft Access -

javascript - jQuery .height() return 0 when visible but non-0 when hidden -