Re: [android-beginners] Just starting this, not working
Where in Eclipse I pass the command lines you mentioned? --noaudio -no-boot-anim 2009/12/9 Greg Donald > On Tue, Dec 8, 2009 at 3:44 AM, Sean Hodges > wrote: > > Sounds to me like you haven't allocated enough RAM to Eclipse, on a > > modest 2.40Ghz Core 2 Duo, with 3GB RAM, my Eclipse starts in just > > over 40secs using these settings: > > > > -XX:MaxPermSize=256m > > -Xms256m > > -Xmx1024m > > I tried these settings, and then I doubled them and tried again. > Neither attempt made any difference in my Eclipse load time. My best > load time is currently 1 minute and 53 seconds. > > My PC starts in 23 seconds for Windows7 and 14 seconds for Ubuntu > Linux.. doesn't seem like it's a hardware problem. > > Any more suggestions? > > > -- > Greg Donald > http://destiney.com/ > > -- > 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 > -- Márton -- 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
Re: [android-beginners] Just starting this, not working
On Tue, Dec 8, 2009 at 3:44 AM, Sean Hodges wrote: > Sounds to me like you haven't allocated enough RAM to Eclipse, on a > modest 2.40Ghz Core 2 Duo, with 3GB RAM, my Eclipse starts in just > over 40secs using these settings: > > -XX:MaxPermSize=256m > -Xms256m > -Xmx1024m I tried these settings, and then I doubled them and tried again. Neither attempt made any difference in my Eclipse load time. My best load time is currently 1 minute and 53 seconds. My PC starts in 23 seconds for Windows7 and 14 seconds for Ubuntu Linux.. doesn't seem like it's a hardware problem. Any more suggestions? -- Greg Donald http://destiney.com/ -- 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
Re: [android-beginners] Just starting this, not working
Incidentally, having more plugins in Eclipse won't slow down it's startup times by much, if anything. Eclipse employs a lazy initialization process for plugins. When they are needed, they are activated. The only thing it does is read each plugin manifest to register it in the system and add any "non code" elements like menus (that can be clicked to activate the actual code in the plugin), UI elements, extension points and so on. On Tue, Dec 8, 2009 at 2:40 AM, Marton Kodok wrote: > Where in Eclipse I pass the command lines you mentioned? > --noaudio > -no-boot-anim > > > 2009/12/8 Sean Hodges > > On Mon, Dec 7, 2009 at 5:27 PM, Greg Donald wrote: >> > I have a new 2.66GHz i7 (8 cores) over-clocked to 3.69GHz, and I have >> > 12 GBs of ram, 9 GBs free, no swapping. The emulator take about 80 >> > seconds to load from scratch. Eclipse takes well over two minutes to >> > start up. >> > >> > Seems to me it doesn't really matter your computer configuration. >> >> Sounds to me like you haven't allocated enough RAM to Eclipse, on a >> modest 2.40Ghz Core 2 Duo, with 3GB RAM, my Eclipse starts in just >> over 40secs using these settings: >> >> -XX:MaxPermSize=256m >> -Xms256m >> -Xmx1024m >> >> I also keep plug-ins to a minimum, in particular avoiding VCS plugins >> like Subclipse. >> >> Your emulator estimates more-or-less match mine, you can improve boot >> time to a degree by passing some command switches to it. e.g. >> "--noaudio" which prevents Android emulating the entire audio stack >> (assuming you don't need it), and "-no-boot-anim" which prevents the >> boot animation from loading up. >> >> -- >> 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 >> > > > > -- > Márton > > -- > 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 > -- 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
Re: [android-beginners] Just starting this, not working
Just try to do a "clean build" and wait for sometime for the ADT to load and diplay. If you are able to compile Ok with the below source I don't know why you can't see(but ADT loads after sometime). 2009/12/3 airtaz > I installed the sdk and eclipse. I am attempting to follow the guide > at http://developer.android.com/guide/tutorials/hello-world.html. I"m > not getting any notifications of errors. But my screen after running > does not look like the guide's. My screen opens up with a black > section with the word "Android" in the middle of it, on the left side. > And on the right side there are buttons consisting of a keyboard and > above that other buttons relating to a phone. Any ideas? I should > point out tht setting up the ADT like they mention in the guide, > doesn't work. I believe I managed to do it correctly via Eclipse. > > This is the exact code: > > package com.example.helloandroid; > > import android.app.Activity; > import android.os.Bundle; > import android.widget.TextView; > > public class HelloAndroid extends Activity { >/** Called when the activity is first created. */ >@Override >public void onCreate(Bundle savedInstanceState) { >super.onCreate(savedInstanceState); >TextView tv = new TextView(this); >tv.setText("Hello, Android"); >setContentView(tv); > >} > } > > -- > 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 -- Venkata Ramana Veldanda Senior Software Engineer Mobile Wimax R&D Group Netford Co Ltd -- 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
Re: [android-beginners] Just starting this, not working
Where in Eclipse I pass the command lines you mentioned? --noaudio -no-boot-anim 2009/12/8 Sean Hodges > On Mon, Dec 7, 2009 at 5:27 PM, Greg Donald wrote: > > I have a new 2.66GHz i7 (8 cores) over-clocked to 3.69GHz, and I have > > 12 GBs of ram, 9 GBs free, no swapping. The emulator take about 80 > > seconds to load from scratch. Eclipse takes well over two minutes to > > start up. > > > > Seems to me it doesn't really matter your computer configuration. > > Sounds to me like you haven't allocated enough RAM to Eclipse, on a > modest 2.40Ghz Core 2 Duo, with 3GB RAM, my Eclipse starts in just > over 40secs using these settings: > > -XX:MaxPermSize=256m > -Xms256m > -Xmx1024m > > I also keep plug-ins to a minimum, in particular avoiding VCS plugins > like Subclipse. > > Your emulator estimates more-or-less match mine, you can improve boot > time to a degree by passing some command switches to it. e.g. > "--noaudio" which prevents Android emulating the entire audio stack > (assuming you don't need it), and "-no-boot-anim" which prevents the > boot animation from loading up. > > -- > 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 > -- Márton -- 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
Re: [android-beginners] Just starting this, not working
On Mon, Dec 7, 2009 at 5:27 PM, Greg Donald wrote: > I have a new 2.66GHz i7 (8 cores) over-clocked to 3.69GHz, and I have > 12 GBs of ram, 9 GBs free, no swapping. The emulator take about 80 > seconds to load from scratch. Eclipse takes well over two minutes to > start up. > > Seems to me it doesn't really matter your computer configuration. Sounds to me like you haven't allocated enough RAM to Eclipse, on a modest 2.40Ghz Core 2 Duo, with 3GB RAM, my Eclipse starts in just over 40secs using these settings: -XX:MaxPermSize=256m -Xms256m -Xmx1024m I also keep plug-ins to a minimum, in particular avoiding VCS plugins like Subclipse. Your emulator estimates more-or-less match mine, you can improve boot time to a degree by passing some command switches to it. e.g. "--noaudio" which prevents Android emulating the entire audio stack (assuming you don't need it), and "-no-boot-anim" which prevents the boot animation from loading up. -- 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
Re: [android-beginners] Just starting this, not working
On Mon, Dec 7, 2009 at 11:19 AM, Justin Anderson wrote: > Search the forums This has been addressed SEVERAL times already! > > You are falling into one of two categories: > > 1) You aren't waiting long enough for the emulator to load... It can take > anywhere from 30 seconds to hours depending on your computer configuration I have a new 2.66GHz i7 (8 cores) over-clocked to 3.69GHz, and I have 12 GBs of ram, 9 GBs free, no swapping. The emulator take about 80 seconds to load from scratch. Eclipse takes well over two minutes to start up. Seems to me it doesn't really matter your computer configuration. -- Greg Donald http://destiney.com/ -- 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
Re: [android-beginners] Just starting this, not working
Search the forums This has been addressed SEVERAL times already! You are falling into one of two categories: 1) You aren't waiting long enough for the emulator to load... It can take anywhere from 30 seconds to hours depending on your computer configuration 2) You really are having a problem with the emulator and even if you let it sit all night it still won't come up. In that case I have read that some people think it may have to do with having an older video card but I have yet to see anything conclusive about the cause. -- There are only 10 types of people in the world... Those who know binary and those who don't. -- On Wed, Dec 2, 2009 at 4:11 PM, airtaz wrote: > I installed the sdk and eclipse. I am attempting to follow the guide > at http://developer.android.com/guide/tutorials/hello-world.html. I"m > not getting any notifications of errors. But my screen after running > does not look like the guide's. My screen opens up with a black > section with the word "Android" in the middle of it, on the left side. > And on the right side there are buttons consisting of a keyboard and > above that other buttons relating to a phone. Any ideas? I should > point out tht setting up the ADT like they mention in the guide, > doesn't work. I believe I managed to do it correctly via Eclipse. > > This is the exact code: > > package com.example.helloandroid; > > import android.app.Activity; > import android.os.Bundle; > import android.widget.TextView; > > public class HelloAndroid extends Activity { >/** Called when the activity is first created. */ >@Override >public void onCreate(Bundle savedInstanceState) { >super.onCreate(savedInstanceState); >TextView tv = new TextView(this); >tv.setText("Hello, Android"); >setContentView(tv); > >} > } > > -- > 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 -- 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] Just starting this, not working
I installed the sdk and eclipse. I am attempting to follow the guide at http://developer.android.com/guide/tutorials/hello-world.html. I"m not getting any notifications of errors. But my screen after running does not look like the guide's. My screen opens up with a black section with the word "Android" in the middle of it, on the left side. And on the right side there are buttons consisting of a keyboard and above that other buttons relating to a phone. Any ideas? I should point out tht setting up the ADT like they mention in the guide, doesn't work. I believe I managed to do it correctly via Eclipse. This is the exact code: package com.example.helloandroid; import android.app.Activity; import android.os.Bundle; import android.widget.TextView; public class HelloAndroid extends Activity { /** Called when the activity is first created. */ @Override public void onCreate(Bundle savedInstanceState) { super.onCreate(savedInstanceState); TextView tv = new TextView(this); tv.setText("Hello, Android"); setContentView(tv); } } -- 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