Solved

android not running

Posted on 2012-03-19
19
346 Views
Last Modified: 2012-03-20
I tried my andriod hello world apps at work which has proxies for internet.

ANyway it worked fine at home and I havent touched it since, bit neither netbeans or eclipse hello world project works.

IN fact I un netbeans and dont get an error but no emulator appears?

The eclipse I get cant find adb.exe file and the android project is ful or errors..

However I havent touched this project and it woked fine at home!


For eclipse I get a location android sdk not set in preferences error and I set netwok conections to manual
0
Comment
Question by:jagguy
  • 9
  • 9
19 Comments
 
LVL 30

Expert Comment

by:IanTh
ID: 37740011
so your android is connected to the wifi at work that has a internet proxy server

are the errors to do with the internet ie a url as that could be way

as why do you get errors if it works at home and no change has taken place
0
 
LVL 47

Accepted Solution

by:
for_yan earned 500 total points
ID: 37740040
did you follow that

http://developer.android.com/sdk/installing.html

instruction strictly?
Did you download the SDK Starter package?

If your section Installing ADT does not work as they suggest in the beginning because eclipse cannot connect to outside, then still waht they suggest in the toublehasooting section
http://developer.android.com/sdk/eclipse-adt.html#troubleshooting

should work

Yesterday, I strictly followed all that (true, I didn't have any problems with connectivity though) and it all worked fine for me.

As I understand, proxies may play the role when you try to downloadf through Eclipse, eveything else seems to be mostly local until you start going outside with your ddevice, but that is far down the road

I'd still suggest to try again - install new eclips - classic version as they suggest and install sdk in a new place and maybe it will still work
0
 

Author Comment

by:jagguy
ID: 37740081
>as why do you get errors if it works at home and no change has taken place
Well thats why I am asking the question. The errors are to do with not locating android sdk but I checked the setting and it is ok. This is weird .

wait wait...I did install eclipse and I did get a project to work and I did install the android sdk. I see no reason to do it all again as there must be something with the work proxies and eclipse.

It did work fine at home on this same laptop. NOw I dont see the point in yet yet again more and more fiddling for a problem that people are giving me a 'maybe solution'.

In my android sdk folder I can get the avd manager to load .
0
 

Author Comment

by:jagguy
ID: 37740104
installing android sdk takes a long time.
is there a way to download the thing and not have an installer that continually downloads?

then I need t completely wip android sdk and eclipse from my computer
0
 
LVL 47

Expert Comment

by:for_yan
ID: 37740109
It is of course your decision what to do, or not to do, however when I'm trying to undersatand I acnnot see at waht moment your network conenction (and therefore your proxies, etc ) should be important. If you bypass
Downloading the ADT Plugin
step directly from eclipse and instead go to the step 1 described in Troubleshooting section - then your proxies or any other specifics of your network connection should not play any role.
 If in general you can go to some web site from your computer and download zuip file form public internet site's such as Eclipse and android locations, then with this direct downloading (not from eclipse) there is no reason why it should not work
0
 
LVL 47

Expert Comment

by:for_yan
ID: 37740114
>then I need t completely wip android sdk and eclipse from my computer
and you don;t neeed even to do tahtjust unzip your ecloispe to an new folder and unzip your sdk to a new folder
0
 

Author Comment

by:jagguy
ID: 37740154
download the android sdk takes 1-2 hours with the install.

Is the a complete download fr android sdk instead of the installer as this takes the time .
0
 
LVL 47

Expert Comment

by:for_yan
ID: 37740165
don't know about time - that is all specific to network, traffic, etc,
sometimes I opne a webpage in three second, next time I can be openeing the same page on the same computer the whole minute; the same happens  with downloads; taht cannot be predicted.
0
 

Author Comment

by:jagguy
ID: 37740183
the installer http://developer.android.com/sdk/index.html

takes a long time because it is only 28 mb but downloads further files.

It would be much quicker if I could download the whole thing in one shot
0
Top 6 Sources for Identifying Threat Actor TTPs

Understanding your enemy is essential. These six sources will help you identify the most popular threat actor tactics, techniques, and procedures (TTPs).

 
LVL 47

Expert Comment

by:for_yan
ID: 37740192
Don't spend time thinking how long it would take - start downloading.
Anyway even if you are successful and install everything today - you'll spend next couple of months mastering how to program it; it is really not important if it takes 2 hrs or 4 hrs to download
0
 

Author Comment

by:jagguy
ID: 37740310
here is a poblel already, when installing the android sdk I get

failed to fetch for some file addlist1..connection refused, then i get fetch successful for add-ons.

Is this normal and it takes a long time to fetch everything.

see the file I get? this cant be corect as something is stopping this download of android sdk.
so i turn off the firewall and the same problem
android.docx
0
 

Author Comment

by:jagguy
ID: 37740336
0
 
LVL 47

Expert Comment

by:for_yan
ID: 37740338
the screenshot does not seem dramatic to me
why you are getting failed to fetch - can't understand that
0
 

Author Comment

by:jagguy
ID: 37740373
ok here is the solution

I need to set proxy when downloading android sdk in tools->options

that is the problem all along othewside I can never install android sdk
0
 
LVL 47

Expert Comment

by:for_yan
ID: 37740374
I aslo noticed that  the "SDK and AVD Manager" but in my Eclipse they are separate.
But it was not such a problem - I guess what they refreerd tyow left part and right part are now split - and it still worked OK
0
 
LVL 47

Expert Comment

by:for_yan
ID: 37740375
good, it finally works for you
0
 

Author Comment

by:jagguy
ID: 37740554
well when running hellow wold androind app I get the emulator up where is is a black screen with android and then it crashes and the whole computer reboots

DDMS files not found: C:\@backup\ATO\eclipse\platform-tools\adb.exe

still a problem somewhere
0
 

Author Comment

by:jagguy
ID: 37740564
hee ae some outouts with hello world android and the packages installed and yes I did install the plugin
and2.docx
0
 
LVL 47

Expert Comment

by:for_yan
ID: 37740567
I think I also so such message, there were two lines with this DDMS lines not found
I think it was first time when I started from SDKManager.exe
But there was never computer reboot.
And then when I went to eclipse, it again started downloadoing and installing some pieces and it was already fine
0

Featured Post

Maximize Your Threat Intelligence Reporting

Reporting is one of the most important and least talked about aspects of a world-class threat intelligence program. Here’s how to do it right.

Join & Write a Comment

Suggested Solutions

In this article we will discuss all things related to StageFright bug, the most vulnerable bug of android devices.
Introduction This article is the second of three articles that explain why and how the Experts Exchange QA Team does test automation for our web site. This article covers the basic installation and configuration of the test automation tools used by…
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.

746 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

Need Help in Real-Time?

Connect with top rated Experts

10 Experts available now in Live!

Get 1:1 Help Now