Discussion Forums  >  Self Hosted Control Panels

Replies: 5    Views: 62

WolfTimJ
buzztouch Evangelist
Profile
Posts: 810
Reg: Feb 20, 2011
Rockwall, TX
17,400
02/23/13 01:42 PM (12 years ago)

Android - Eclipse java errors

Have some errors in one section of one plugin. I know there is an easy way to fix this... what is the right way? Screenshot of the eclipse: http://db.tt/FWV7nP5Q Using Helios, ADT up to date. Thanks, Tim
 
SmugWimp
Smugger than thou...
Profile
Posts: 6316
Reg: Nov 07, 2012
Tamuning, GU
81,410
like
02/23/13 02:01 PM (12 years ago)
Because I'm no java expert, I usually let my java 'self heal'. If you place your cursor over the offending area, it usually suggests a course of action to remedy the problem. Usually an Import, sometimes syntax... But try that and see what happens. Cheers! -- Smug
 
WolfTimJ
buzztouch Evangelist
Profile
Posts: 810
Reg: Feb 20, 2011
Rockwall, TX
17,400
like
02/23/13 02:06 PM (12 years ago)
I did and it seemed to fix it, but ever since I did that I've been fighting some weird errors. I was hoping someone had a definite fix. All the errors can be cleared with imports, just not sure that's how they are supposed to be cleared. Thanks Smug
 
SmugWimp
Smugger than thou...
Profile
Posts: 6316
Reg: Nov 07, 2012
Tamuning, GU
81,410
like
02/23/13 02:09 PM (12 years ago)
Well, that would be the right way 'for that' part. But I'll let someone better weigh in on advanced Android Troubleshooting... That's about my limit, lol! Good luck! Cheers! -- Smug
 
WolfTimJ
buzztouch Evangelist
Profile
Posts: 810
Reg: Feb 20, 2011
Rockwall, TX
17,400
like
02/23/13 02:46 PM (12 years ago)
Did the imports, seems to have fixed it. The other errors on the test device seem to be gone too. Unfortunately I reinstalled much of the server then recompiled so it was one of about 1000 things that fixed it... ;->
 
Paul Rogers
Android Fan
Profile
Posts: 2524
Reg: May 30, 2011
UK
35,740
like
02/23/13 07:06 PM (12 years ago)
I get this occasionally, I think it's a glitch in eclipse rather than any code errors. What <i>usually</i> fixes it for me is to hover the mouse over a problem, and when the quick fix options box pops up go to the last entry - "Fix Project Setup". When I get weird errors like this the fix is usually for the android jar file of whatever api level I've selected to be added to the build path - even though it should already be done. Accept the fix, do a project > clean and it should be ok. And the other way is to add all the imports again..
 

Login + Screen Name Required to Post

pointerLogin to participate so you can start earning points. Once you're logged in (and have a screen name entered in your profile), you can subscribe to topics, follow users, and start learning how to make apps like the pros.