Solved

creating android emulators

Posted on 2012-03-19
9
493 Views
Last Modified: 2012-03-19
I can create a hellow world with eclipse/ android sdk.

Now I created virtual  android devices for  android 2.2 and 4.03.

q1) what are the limits to sd card or anything because my hello world app on 4.03 android AVD crashed win7 but the  2.2 AVD woked fine.

q2)I also get prmopted to enter password and user name all the time. is there any setting to stop this prompting me all the time?
. In preferences I have manual setting for proxy and at home I turn this off to native.
0
Comment
Question by:jagguy
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 5
  • 4
9 Comments
 
LVL 47

Expert Comment

by:for_yan
ID: 37740614
what you mean by limits on sd card? did you specif its size ?

At waht point does it ask you user and password?

Did not crash anything for me with 4.0.3 and does not ask for user/password...
0
 

Author Comment

by:jagguy
ID: 37740625
i get asked for username and password when i open the project. The app always needs to know where the internet is because the emulator sems connected to internet.

my AVD 4.03 gives me an error but my AVD 2.2 works fine.


[2012-03-20 14:29:45 - test3] HOME is up on device 'emulator-5554'
[2012-03-20 14:29:45 - test3] Uploading test3.apk onto device 'emulator-5554'
[2012-03-20 14:29:45 - test3] Installing test3.apk...
[2012-03-20 14:31:50 - test3] Failed to install test3.apk on device 'emulator-5554!
[2012-03-20 14:31:50 - test3] (null)
[2012-03-20 14:31:50 - test3] Failed to install test3.apk on device 'emulator-5554': EOF
[2012-03-20 14:31:50 - test3] com.android.ddmlib.InstallException: EOF
[2012-03-20 14:31:50 - test3] Launch canceled!
0
 
LVL 47

Accepted Solution

by:
for_yan earned 500 total points
ID: 37740634
I did not specify and SD card at all; just left this position blank.
Maybe you allocated too much ?
0
Technology Partners: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

 

Author Comment

by:jagguy
ID: 37740658
The above error I get for android 4.03 on win7, as the other AVD work so far.
My computer doesnt crash but I get this problem now

I dont know the solution to this.

[2012-03-20 14:31:50 - test3] Failed to install test3.apk on device 'emulator-5554': EOF
[2012-03-20 14:31:50 - test3] com.android.ddmlib.InstallException: EOF
[2012-03-20 14:31:50 - test3] Launch canceled!
0
 
LVL 47

Expert Comment

by:for_yan
ID: 37740668
so where you specifued the proxy for emulator, can you do it like that:

http://<username>:<password>@<server>:<port>

see here:
http://developer.android.com/guide/developing/devices/emulator.html
0
 

Author Comment

by:jagguy
ID: 37740679
the link didnt work.


this worked below .


"Try changing the ADB connection timeout. I think it defaults that to 5000ms and I changed mine to 10000ms to get rid of that problem. If you are in Eclipse, you can do this by going through Window -> Preferences and then it is in DDMS under Android."

 the hello world on the emulator only appeared briefly.
how do i get the hello world to appear after it goes?
0
 
LVL 47

Expert Comment

by:for_yan
ID: 37740681
which link didn't work ?
0
 

Author Comment

by:jagguy
ID: 37740702
http://developer.android.com/guide/developing/devices/emulator.html

i get the app to view as well as it comes up as an icon.

now i might close the thread as it seems to work at work but i ownder what happens when I amat home


thank you
0
 
LVL 47

Expert Comment

by:for_yan
ID: 37740705
if that link didn't work - I think you simply have intermittenet network working and that may account for a lot of your problems.
This link works absolutely without any problems for me alal the time:
http://developer.android.com/guide/developing/devices/emulator.html
0

Featured Post

Free Tool: SSL Checker

Scans your site and returns information about your SSL implementation and certificate. Helpful for debugging and validating your SSL configuration.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
ejb example issues 3 55
java mysql insert application 14 47
Push wifi profile to Android & IOS 1 41
glassfish admin console 1 23
This is an explanation of a simple data model to help parse a JSON feed
Displaying an arrayList in a listView using the default adapter is rarely the best solution. To get full control of your display data, and to be able to refresh it after editing, requires the use of a custom adapter.
Video by: Michael
Viewers learn about how to reduce the potential repetitiveness of coding in main by developing methods to perform specific tasks for their program. Additionally, objects are introduced for the purpose of learning how to call methods in Java. Define …
The viewer will learn how to implement Singleton Design Pattern in Java.

726 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question