Discussion Forums  >  Uncategorized

Replies: 3    Views: 521

wmbmobile
Code is Art
Profile
Posts: 3
Reg: Mar 09, 2011
USA
30
03/13/11 05:14 PM (14 years ago)

Starting first android project in eclipse having a problem understanding.

When tried to start or run my first android project, and after watching the videos, and removing the comments as in the text file, I am still getting a message that says: your project contains error(s), please fix them before running your application. I am seeing a red x in the src, if I open that I see in the com.v1 a red x, that shows the Obj_MapLocation.java a red x and also see the same in the Screen_LocationMap.java. What did I do wrong or how do I resolve this? Thanks, WMB
 
David @ buzztouch
buzztouch Evangelist
Profile
Posts: 6866
Reg: Jan 01, 2010
Monterey, CA
78,840
like
03/13/11 09:42 PM (14 years ago)
There isn't anyway to understand or see what may be causing the issue (which is why we made the videos). We realize this can get tricky but havn't figured out another way to explain how to get your machine compiling Android apps. If you have successfully compiled a 'test' android app (not your buzztouch probject, but a hellow world app) , great, finding errors should be easy. If you have not compiled an Android app on your machine yet, you'll need to first make sure you can. Assuming you can compile Android apps on your machine, open the two files that have the red-x (these files have errors) and find the line that shows the error, should be highlighted in red. Without seeing what you adjusted, it's tough to make any recommendations other that making sure you commented out what is necessary to run apps (pause the video?) Another idea, re-download your source-code from the control panel, adjust NOTHING, then see if it compiles. If it won't, something not setup on your machine. If it will, cool, THEN you follow the instructions to get maps working.
 
chelsebenham
I hate code!
Profile
Posts: 18
Reg: Mar 14, 2011
texas
180
like
03/17/11 11:52 AM (14 years ago)
say my app is finished within BuzzTouch, I have downloaded its code for Android. I have downloaded the Android SDK ( I suppose) Honestly, I don't recognize it really, but I do see the SDK and ADV manager pane. I even uploaded my app into the List of existing Android Virtual Devices pane and it has a green checkmark beside it. The details for the app read fine. I launch the emulator within the AVD pane, but I don't see my app. Furthermore, I don't know what to do next. I don't find the steps to follow for publishing very easily.
 
David @ buzztouch
buzztouch Evangelist
Profile
Posts: 6866
Reg: Jan 01, 2010
Monterey, CA
78,840
like
03/17/11 12:33 PM (14 years ago)
I'm a little confused with this: 'I even uploaded my app into the list of exisitng Android Virtual Devices' - this may be the confusion. The list of AVD's is a list of Simulators, not a list of apps. The idea is that you setup from zero to many simulators to test how your app runs in different types of devices. In this case, we want to setup a basic simulator. When you add the simulator (create it), you're telling Eclipse, 'Hey, I want to run a simulator that runs the Google API's v1.6' Next... and this still has nothing to do with your app, launch the simulator. If the simulator runs... great ... the nex step is to launch YOUR app (again, the simulator is already running)... when you use the Run > Android Project in the menu, your app will compile and launch in the simulator that was already running. Doing this kind of thing is a bit nerdy - super nerdy actually. And, if it matter, Eclipse / Android doesn't even compare vs. iOS and their simulator (which seems to work perfectly everytime).
 

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.