buzzbt
Android Fan
Profile
Posts: 233
Reg: Nov 14, 2011
las vegas
6,530
09/27/12 07:36 PM (13 years ago)

error in eclipse i can't compile

HI ALL ! v2.0 since I add all Plugins and upgrade eclipse Version: 4.2.0 i can't compile in eclipse and the same ting in Xcode iOS SDK 6.0 I get this error in eclipse i didn't take screenshot for xcode yet. screenshot http://dl.dropbox.com/u/27535200/screenshot.png Thank you in advance. Tip if you want to know How To Capture a Screen Shot of your Desktop (Windows) pressed the PrtScn (print screen) key on your Windows keyboard & It copies an image of your screen onto the "clipboard," ready to paste into any graphics program. Here's How: 1.Press the Print Screen key on your keyboard. It may be labeled [PrtScn]. 2.Open an image editing program, such as Microsoft Paint. 3.Go to the Edit menu and choose Paste. 4.If prompted to enlarge the image, choose Yes. 5.Optional: Use your image editor's crop tool to crop out unnecessary portions of the screen shot. 6.Go to the File Menu and choose Save As. 7.Navigate to the folder where you want to save the image.
 
Sandeep
Android Fan
Profile
Posts: 1260
Reg: Feb 01, 2012
Miraj, India
25,250
like
09/27/12 08:21 PM (13 years ago)
Hi @buzzbt- I took a look at your screenshot. I think you are missing the maps.jar file in the project file thats why so many errors. Well first have a look that the maps.jar is there in android dependancies. If so then there is something other error. But in case its not there then you need to add the maps.jar file to the project. Right click on project file---> build path---> add external jar---> (now navigate the path to the maps jar which is normally in the User/***username/android-sdks/add-on/google_apis_google-8/libs/maps.jar I am sure adding this file in your project will solve all those errors.
 
GoNorthWest
buzztouch Evangelist
Profile
Posts: 8197
Reg: Jun 24, 2011
Oro Valley, AZ
1,000,000
like
09/27/12 09:44 PM (13 years ago)
In instances like this it's very helpful to see what's on the Console tab. Sometimes it'll give you a good hint as to what the problem is. I'd verify that Properties...Android is set to the correct Google API 8. You can also right-click the project, Android Tools...Fix Project Properties is run at least once. Mark
 
buzzbt
Android Fan
Profile
Posts: 233
Reg: Nov 14, 2011
las vegas
6,530
like
09/27/12 10:16 PM (13 years ago)
HI Sandeep & GoNorthWest(Mark) Thank you for responding. i add the maps.jar file the error didn't go. the Console tab shows noting,Properties is set Google API 8 ,i did try Fix Project Properties .the error is didn't go. Thank you all.
 
Sandeep
Android Fan
Profile
Posts: 1260
Reg: Feb 01, 2012
Miraj, India
25,250
like
09/27/12 10:19 PM (13 years ago)
Can you send me the project file (In zip format) so that i can have a look at whats the problem? My email add- sandeepkurne (at) gmail (dot) com
 
buzzbt
Android Fan
Profile
Posts: 233
Reg: Nov 14, 2011
las vegas
6,530
like
09/28/12 04:36 AM (13 years ago)
HI Sandeep Thank you whan i get to my computer i will get back to you . thanks!
 
buzzbt
Android Fan
Profile
Posts: 233
Reg: Nov 14, 2011
las vegas
6,530
like
09/30/12 06:00 PM (13 years ago)
HI Sandeep Thank you ! it works! Thank you so much for helping greatly appreciated.
 
buzzbt
Android Fan
Profile
Posts: 233
Reg: Nov 14, 2011
las vegas
6,530
like
09/30/12 06:18 PM (13 years ago)
To those like me strangling i would like to share the part of his email. Here is what Sandeep did to resolved the problem from the project . * First of all i checked whether the app is configured for Google API Level 8. Then i removed the external maps.jar which you added on my instructions from the forum. I removed it because the app was configured already for Google API 8 which has maps.jar already in it. * I still got errors relating to R.******** values in all the project java files. I figured out that the errors were causing because of the layout file for the timer plugin. It has error in the android text field for start, stop, chronometer and reset. I ave made necessary changes in that fields and now its fixed. Following is the changes i made: Original code: android:text="@string/Start" Modified code: android:text="Start"
 
Sandeep
Android Fan
Profile
Posts: 1260
Reg: Feb 01, 2012
Miraj, India
25,250
like
09/30/12 09:08 PM (13 years ago)
For further clarification the errors were in the timer.xml file in the android text field for start, stop, chronometer and reset values. Original code in each android:text fields: android:text="@string/Start" android:text="@string/Stop" android:text="@string/Chronometer" android:text="@string/Reset" Modified code in those respective fields: android:text="Start" android:text="Stop" android:text="Chronometer" android:text="Reset"
 
buzzbt
Android Fan
Profile
Posts: 233
Reg: Nov 14, 2011
las vegas
6,530
like
10/01/12 08:51 AM (13 years ago)
Thanks!
 

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.