Solved

creating android emulators

Posted on 2012-03-19
9
499 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
The Ultimate Checklist to Optimize Your Website

Websites are getting bigger and complicated by the day. Video, images, custom fonts are all great for showcasing your product/service. But the price to pay in terms of reduced page load times and ultimately, decreased sales, can lead to some difficult decisions about what to cut.

 

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

Salesforce Has Never Been Easier

Improve and reinforce salesforce training & adoption using WalkMe's digital adoption platform. Start saving on costly employee training by creating fast intuitive Walk-Thrus for Salesforce. Claim your Free Account Now

Question has a verified solution.

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

Java functions are among the best things for programmers to work with as Java sites can be very easy to read and prepare. Java especially simplifies many processes in the coding industry as it helps integrate many forms of technology and different d…
These days software publishers make it possible to move all the possible applications on smartphones, tablets, smartwatches, and more. Although behind every logic and decision is a gross doubt: how do they make it possible? In this blog post, we sha…
Viewers will learn about arithmetic and Boolean expressions in Java and the logical operators used to create Boolean expressions. We will cover the symbols used for arithmetic expressions and define each logical operator and how to use them in Boole…
This video demonstrates how to sync Microsoft Exchange Public Folders with smartphones using CodeTwo Exchange Sync and Exchange ActiveSync. To learn more about CodeTwo Exchange Sync and download the free trial, go to: http://www.codetwo.com/excha…

734 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