builde sample code have a error

by yui » Fri, 22 May 2009 01:56:54 GMT

Sponsored Links
 Dear all
If i clean the project and select build progect, will have some worng.
and can't generate .APK file
message as follows

[2009-05-21 11:39:31 - HelloListView] no classfiles specified
[2009-05-21 11:39:31 - HelloListView] Conversion to Dalvik format
failed with error 1


Other Threads

1. HOWTO: Install Android SDK and AVD Manager behind a Proxy/Firewall in Windows

I figure this is the best place for this to surface in a web search -
but apologies if it is not.

Problem Description:
If you're behind a proxy/firewall that requires a domain, username and
password for authentication then you will have a problem with the
final step in setting up your IDE environment.

This is because the SDK/AVD Install/Manager only has proxy settings
for the proxy server and port - it is not sophisticated to accept your
domain, username and password. Because of this you cannot authenticate
through the proxy and you will just get timeouts during the install.

(An alternative solution for *nix can be found here

Solution Description:
1. Download this NTLM Authorization Proxy Server for Windows (link at

2. Unzip and edit the setting in server.cfg - I have a MS Proxy Server
and changed the following settings to match my browser settings;
PARENT_PROXY: <ip address or server name>
PARENT_PROXY_PORT: <normally 8080>
NT_DOMAIN: <windows domain name>
USER: <windows username>
PASSWORD: <windows password>

3. Execute the NTLM Authorization Proxy Server. If you have a firewall
enabled (eg Windows Firewall) you will get a prompt to unblock the
port - do this. If you have another firewall you need to disable it
temporarily or allow access to the port 5865.

4. I first of all tested the settings in my browser, to do this I
changed the proxy settings under the network options. For the proxy
server I used and the port is (by default) 5865. It
initially took a few seconds (~30 sec) to respond and load the
requested page.

5. Now run the "SDK Setup.exe" program in the SDK kit.

6. Go to "Settings" and enter the loop back address as the proxy
server ""

7. Enter the port as 5865 and select/enable "Force HTTPs..."

8. You may need to restart for the changes to work, but first try just
selecting "Installed packages" and "Update All". If it doesn't kick
off the update/install just restart the SDK Setup and it should start
automatically after the reload.

Hope that helps someone, I found a few posts in regard to this so
thought this would help others in future.


2. Android Developer Day - Dallas - Saturday April 10

Free event for Android developers organized with help from Motorola,
Cohabitat and Athlete360.

Event Details:
Developers! This is your opportunity to get first-hand experience
developing for the Google Android platform! This all-day developer
camp will give you the tools you'll need to get started in mobile
development. If you have a working knowledge of Java, Objective C, or
C#, or you've developed for WinMo, iPhone, Blackberry, or Palm this
day is for you.

In our morning sessions we'll give a tour of easy-to-build application
starter kits. Then we'll show you how to build your applications on
top of them and take them to the Android Market before the day is
over! Finally we'll give prizes and awards to the most ambitious apps.
Bring your own developer team or form teams at the event!

9am - 10am Sign-In and Network
10am - 10:30 Introduction and Welcome
10:30 - 12:30 Starter Kit Tours
12:30 - 1:30 Form Teams & Lunch
1:30 - 4:30 Code Jam
4:30 - 5:00 Go To Market! & Door Prizes

Starter Kits Areas of Interest:
Voice Recognition
Feed Reader
Web Wrapper
Home Screen Replacements

Motorola, Cohabitat, Athlete360


3. The program stopped unexpectedly when invoking the goToSleep method in PowerManager object

4. How to use scroller in an application?

5. Expenses of MediaPlayer.getCurrentPosition() vs own ticker

6. Animation from AppWidget to Activity

7. Activities across tasks passing data, possible?