[android-beginners] Re: Okay.... I give up
The better part of 12 hours? What is that, like 6 1/2 hours? :) Yusuf Saib Android ·T· · ·Mobile· stick together The views, opinions and statements in this email are those of the author solely in their individual capacity, and do not necessarily represent those of T-Mobile USA, Inc. On Sep 5, 5:47 pm, furby wrote: > I have now spent the better part of 12 hours trying to just get my > development environment to run I am trying to use NetBeans to > develop a simple Android app. I downloaded the Android dev kit and > unpacked it to my C:/ drive. Then I grabbed the latest version of > NetBeans. And then I installed nbandroid for NetBeans. I create a new > project and choose the Android type of project. All is well... then I > take that base project and try to run it and NetBeans asks me to > either select a running device or start AVD... Both lists are blank. > > So I figured that perhaps I ought to start the emulator running before > I try to run the project from the NetBeans side. I go to the ADK > directory and try double clicking on the Android jar file... nothing. > I figure "The emuilator must be in the tools directory" and so I go > there and double click on the android.bat file... nothing. So I think > "Maybe it is the exe file called Android" and double click on that - > nothing. > > At that point I thought I had missed something in installing the > ADK... I go to the web page that describes installing it - Apparently > the only thing for windows (After unpacking the zip file) is to update > the "Path" system variable - which I did and have now checked 4 times > to make sure I didn't point it at the wrong directory... with the same > results as before. > > What am I doing wrong? I know it isn't a google mistake - enough > people have made this work before me - so it has to be me. What did I > miss? --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Android Beginners" group. To post to this group, send email to android-beginners@googlegroups.com To unsubscribe from this group, send email to android-beginners-unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-beginners?hl=en -~--~~~~--~~--~--~---
[android-beginners] Re: Okay.... I give up
While it -is- true that you need to create the AVD, NetBeans has absolutely no issues with launching the emulator when you click Run. It will either ask you to choose a specific AVD, or you can use the settings to make it choose a specific one, or to let it pick one itself. I tried Eclipse for Android development, even though NetBeans is my preferred IDE, but I couldn't get it to work properly. It wouldn't install at first, and when it finally did, it wouldn't compile properly, and it didn't do at all what I asked it to, so eventually I got tired of it, and decided to give NBAndroid another try. I had tried it previously, but it didn't work with Android SDK 1.5, hence why I tried out Eclipse. But those things were fixed, and I have no problems with Android on NetBeans now. One thing you need to be aware of, however, is that you cannot get stacktraces in NetBeans output (not that I've seen anyway), but that's no problem. You just need to launch the ddms tool, and make your application force close again, and you'll see the stacktrace just fine. :) Also, make sure not to close the emulator when you're done testing, but leave it open, since starting up the emulator takes quite a while, whereas it works just fine to leave it open. I hope it helps. - AngelOD On Sep 8, 9:54 pm, Xavier Ducrohet wrote: > You're only missing the part about creating an > AVD:http://d.android.com/guide/developing/tools/avd.html > > btw, you can only launch the emulator manually from the command line > (because you need to give the avd name). > > Xav --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Android Beginners" group. To post to this group, send email to android-beginners@googlegroups.com To unsubscribe from this group, send email to android-beginners-unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-beginners?hl=en -~--~~~~--~~--~--~---
[android-beginners] Re: Okay.... I give up
You're only missing the part about creating an AVD: http://d.android.com/guide/developing/tools/avd.html btw, you can only launch the emulator manually from the command line (because you need to give the avd name). Xav On Sat, Sep 5, 2009 at 5:47 PM, furby wrote: > > I have now spent the better part of 12 hours trying to just get my > development environment to run I am trying to use NetBeans to > develop a simple Android app. I downloaded the Android dev kit and > unpacked it to my C:/ drive. Then I grabbed the latest version of > NetBeans. And then I installed nbandroid for NetBeans. I create a new > project and choose the Android type of project. All is well... then I > take that base project and try to run it and NetBeans asks me to > either select a running device or start AVD... Both lists are blank. > > So I figured that perhaps I ought to start the emulator running before > I try to run the project from the NetBeans side. I go to the ADK > directory and try double clicking on the Android jar file... nothing. > I figure "The emuilator must be in the tools directory" and so I go > there and double click on the android.bat file... nothing. So I think > "Maybe it is the exe file called Android" and double click on that - > nothing. > > At that point I thought I had missed something in installing the > ADK... I go to the web page that describes installing it - Apparently > the only thing for windows (After unpacking the zip file) is to update > the "Path" system variable - which I did and have now checked 4 times > to make sure I didn't point it at the wrong directory... with the same > results as before. > > What am I doing wrong? I know it isn't a google mistake - enough > people have made this work before me - so it has to be me. What did I > miss? > > > > -- Xavier Ducrohet Android Developer Tools Engineer Google Inc. --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Android Beginners" group. To post to this group, send email to android-beginners@googlegroups.com To unsubscribe from this group, send email to android-beginners-unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-beginners?hl=en -~--~~~~--~~--~--~---
[android-beginners] Re: Okay.... I give up
I suggest you use Eclipse for development .. Android sdk attaches to it like a charm. Android site itself has suggested to do so. Why do you want to use netbeans.. If u really like netbeans then keep trying :P http://developer.android.com/sdk/1.5_r3/installing.html Regards, Alok On Sun, Sep 6, 2009 at 6:17 AM, furby wrote: > > I have now spent the better part of 12 hours trying to just get my > development environment to run I am trying to use NetBeans to > develop a simple Android app. I downloaded the Android dev kit and > unpacked it to my C:/ drive. Then I grabbed the latest version of > NetBeans. And then I installed nbandroid for NetBeans. I create a new > project and choose the Android type of project. All is well... then I > take that base project and try to run it and NetBeans asks me to > either select a running device or start AVD... Both lists are blank. > > So I figured that perhaps I ought to start the emulator running before > I try to run the project from the NetBeans side. I go to the ADK > directory and try double clicking on the Android jar file... nothing. > I figure "The emuilator must be in the tools directory" and so I go > there and double click on the android.bat file... nothing. So I think > "Maybe it is the exe file called Android" and double click on that - > nothing. > > At that point I thought I had missed something in installing the > ADK... I go to the web page that describes installing it - Apparently > the only thing for windows (After unpacking the zip file) is to update > the "Path" system variable - which I did and have now checked 4 times > to make sure I didn't point it at the wrong directory... with the same > results as before. > > What am I doing wrong? I know it isn't a google mistake - enough > people have made this work before me - so it has to be me. What did I > miss? > > > > --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Android Beginners" group. To post to this group, send email to android-beginners@googlegroups.com To unsubscribe from this group, send email to android-beginners-unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-beginners?hl=en -~--~~~~--~~--~--~---