Solved

creating android emulators

Posted on 2012-03-19
9
506 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
Get 15 Days FREE Full-Featured Trial

Benefit from a mission critical IT monitoring with Monitis Premium or get it FREE for your entry level monitoring needs.
-Over 200,000 users
-More than 300,000 websites monitored
-Used in 197 countries
-Recommended by 98% of users

 

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

Optimize your web performance

What's in the eBook?
- Full list of reasons for poor performance
- Ultimate measures to speed things up
- Primary web monitoring types
- KPIs you should be monitoring in order to increase your ROI

Question has a verified solution.

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

You should read OS supplied guidelines before developing. I can't stress that enough. The guidelines will help you understand the reasons mobile app developers do what they do.  Apple is very particular when they review appstore submissions.
Here, we have shared an easy step by step tutorial on how to download instagram images and videos on PC, Android Mobile and iOS mobile.
Viewers will learn about if statements in Java and their use The if statement: The condition required to create an if statement: Variations of if statements: An example using if statements:
This tutorial explains how to use the VisualVM tool for the Java platform application. This video goes into detail on the Threads, Sampler, and Profiler tabs.

635 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