Are you using Eclipse 3.5 or later? If not, you should, as that's the minimum version for Android development.
-- Kostya Vasilyev 04.06.2011 19:19 пользователь "Matthew" <[email protected]> написал: > yes that might be, but how can i fix that? > > i tried to reload the plugin or update it but got no effect to the > problem, but i found an new errortext... > > "Conversion to Dalvik format failed: Unable to execute dex: wrapper > was not properly loaded first unknown Android Packaging Problem" > > this might help identifiing the problem... i think its definatly an > error to Eclypse, or could that be an broken .xml file problem? > > > > On 3 Jun., 20:07, B Lyon <[email protected]> wrote: >> if you're using eclipse.... >> >> sometimes the eclipse android plugin sticks in an import to android.R >> - it does for me every now and then, and then it of course doesn't >> know what my id's are >> >> or there could be an issue with your xml, which the plugin should be >> telling you about >> >> >> >> >> >> >> >> On Fri, Jun 3, 2011 at 11:37 AM, Matthew <[email protected]> wrote: >> > Hey, got a little problem while developing my project. >> >> > I`ve got some code running well, with some views in an activity but >> > then I tried to add another Button in code (with onClickListener >> > etc.) and in the graphical main.xml view. >> >> > Code was okay, but the "Id" of the new button could not be resolved... >> > i thought it would be an typical writing mistake or something like >> > that, but also after some trying the Id wont be work. So i finaly >> > changed the code back to the last known working version, but now I >> > have still problems with all other Views ID`s, there all cant be >> > resolved even the >> >> > setContentView(R.layout.main); >> >> > command of the onCreate() method... (main is underlined red and >> > eclipse tells that "main could not be resolved or is not a field") >> >> > (refresh project, restart did also not work) >> >> > I tried to create an new project as a test, same problem in the auto >> > created sourcecode. >> >> > So finaly i think that i accidential changed something in the Eclipse >> > IDE.. but i dont have anm Idea what to do... can anyone help? >> >> > thanks >> >> > -- >> > You received this message because you are subscribed to the Google >> > Groups "Android Developers" group. >> > To post to this group, send email to [email protected] >> > To unsubscribe from this group, send email to >> > [email protected] >> > For more options, visit this group at >> >http://groups.google.com/group/android-developers?hl=en > > -- > You received this message because you are subscribed to the Google > Groups "Android Developers" group. > To post to this group, send email to [email protected] > To unsubscribe from this group, send email to > [email protected] > For more options, visit this group at > http://groups.google.com/group/android-developers?hl=en -- You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/android-developers?hl=en

