Affordablesocial
Aspiring developer
Profile
Posts: 16
Reg: Oct 15, 2012
Miamisburg
2,910
10/20/12 08:45 AM (13 years ago)

New user followed demo eclipse returns errors

OK I followed the tutorial and first app returns a load of errors, I went back in and just tried a simple app with only a map, now I get 3 java errors in the BT_item.java, BT_screen_map.java and BT_screen_map.java. First app I've tried so any help would be great. Thanks
 
CRTaylor
Aspiring developer
Profile
Posts: 71
Reg: Mar 16, 2012
Perth, Western ...
10,310
like
10/20/12 08:54 AM (13 years ago)
Are you using the Android API or Google API library in your project? I think anything to do with maps requires the Google API. Also see Sandeep's post here for instructions on how to change it: https://www.buzztouch.com/forum/thread.php?tid=4D73563C9D9F679E6C91E84&fid=06DB0BCB08E3333&sortColumn=FT.id&sortUpDown=DESC&currentPage=1
 
Affordablesocial
Aspiring developer
Profile
Posts: 16
Reg: Oct 15, 2012
Miamisburg
2,910
like
10/20/12 09:03 AM (13 years ago)
OK did that. All errors dissapear except BT_viewUtilities.java
 
Affordablesocial
Aspiring developer
Profile
Posts: 16
Reg: Oct 15, 2012
Miamisburg
2,910
like
10/20/12 09:07 AM (13 years ago)
OK did that. All errors dissapear except BT_viewUtilities.java
 
Affordablesocial
Aspiring developer
Profile
Posts: 16
Reg: Oct 15, 2012
Miamisburg
2,910
like
10/20/12 09:13 AM (13 years ago)
OK did that. All errors dissapear except BT_viewUtilities.java
 
Affordablesocial
Aspiring developer
Profile
Posts: 16
Reg: Oct 15, 2012
Miamisburg
2,910
like
10/20/12 09:14 AM (13 years ago)
Wow, sorry for the triple response my internet kept kicking me.
 
CRTaylor
Aspiring developer
Profile
Posts: 71
Reg: Mar 16, 2012
Perth, Western ...
10,310
like
10/20/12 09:18 AM (13 years ago)
What are the errors ?
 
Affordablesocial
Aspiring developer
Profile
Posts: 16
Reg: Oct 15, 2012
Miamisburg
2,910
like
10/20/12 09:33 AM (13 years ago)
First I get: [2012-10-20 12:17:20 - com.mikeapp13.BT_activity_root] Android requires compiler compliance level 5.0 or 6.0. Found '1.7' instead. Please use Android Tools > Fix Project Properties. So I right click/android tools/fix project properties and nothing still error. I also get a red x on BT_viewUtilities.java under src
 
CRTaylor
Aspiring developer
Profile
Posts: 71
Reg: Mar 16, 2012
Perth, Western ...
10,310
like
10/20/12 09:36 AM (13 years ago)
Have you tried 'Cleaning' the project?
 
Affordablesocial
Aspiring developer
Profile
Posts: 16
Reg: Oct 15, 2012
Miamisburg
2,910
like
10/20/12 09:39 AM (13 years ago)
Cleaned, now only error is red x on BT_viewUtilities.java under src
 
CRTaylor
Aspiring developer
Profile
Posts: 71
Reg: Mar 16, 2012
Perth, Western ...
10,310
like
10/20/12 09:43 AM (13 years ago)
Right click on your project, choose Properties, and in the window that pops up choose Java compiler. Does the compiler compliance level say 1.5? If not try changing it and see if it works. Clean the project again before you build
 
Affordablesocial
Aspiring developer
Profile
Posts: 16
Reg: Oct 15, 2012
Miamisburg
2,910
like
10/20/12 09:51 AM (13 years ago)
Yes it is 1.5 still just that one error
 
CRTaylor
Aspiring developer
Profile
Posts: 71
Reg: Mar 16, 2012
Perth, Western ...
10,310
like
10/20/12 09:52 AM (13 years ago)
Try the next one 1.6
 
Sandeep
Android Fan
Profile
Posts: 1260
Reg: Feb 01, 2012
Miraj, India
25,250
like
10/20/12 10:03 AM (13 years ago)
Hello @Affordablesocial- You are getting error in the BT_viewUtilities.java file because the project name might be different (the default one) in the appDelegate section. If i am correct you are getting red mark underline in this field. You have to change the appDelegate name to your project name. For example- mikeapp13_appDelegate. Remember youo might have to make this change in more than one place.
 
Affordablesocial
Aspiring developer
Profile
Posts: 16
Reg: Oct 15, 2012
Miamisburg
2,910
like
10/20/12 10:04 AM (13 years ago)
Still just that one error I don't get it.
 
Affordablesocial
Aspiring developer
Profile
Posts: 16
Reg: Oct 15, 2012
Miamisburg
2,910
like
10/20/12 10:04 AM (13 years ago)
Sandeep I am new, where do I do this?
 
Sandeep
Android Fan
Profile
Posts: 1260
Reg: Feb 01, 2012
Miraj, India
25,250
like
10/20/12 10:07 AM (13 years ago)
Open your BT_viewUtilities.java file and see where you get the error marks. Then use the ctrl+f option to replace the app delegate errors. In case this does not solve your errors then do you have a teamviewer? If not download it now (its free) and send me your password and id in my PM section.
 
Affordablesocial
Aspiring developer
Profile
Posts: 16
Reg: Oct 15, 2012
Miamisburg
2,910
like
10/20/12 10:17 AM (13 years ago)
Sandeep, that worked. Thanks! And thank you CRTaylor! You guys are great!
 
Sandeep
Android Fan
Profile
Posts: 1260
Reg: Feb 01, 2012
Miraj, India
25,250
like
10/20/12 10:18 AM (13 years ago)
Nice to know that it worked. Dont hesitate to ask any further assistance over here on bt. We definitely have an awesome and helpful community. All the best.
 

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.