HelloAndroid help,

Discussion in 'Java' started by ssecorp, Aug 3, 2008.

  1. ssecorp

    ssecorp Guest

    I have emailed the beginners list of the Android forum but it doesn't
    seem to get there.


    I have successfully installed Eclipse+the Android SDK.

    When trying to run the HelloAndroid example I get:



    I get this when starting eclipse:

    [2008-08-03 13:53:52 - adb] Failed to get the adb version: Cannot run
    program "\tools\adb.exe": CreateProcess error=3, The system cannot
    find the path specified


    I have successfully installed the SDK and the eclipse plugin though.
    ------------------
    When trying to run the HelloAndroid example this happens:


    HelloAndroid.java:

    package com.android.hello;

    import android.app.Activity;
    import android.os.Bundle;
    import android.widget.TextView;

    public class HelloAndroid extends Activity {
    /** Called when the activity is first created. */
    @Override
    public void onCreate(Bundle icicle) {
    super.onCreate(icicle);
    TextView tv = new TextView(this);
    tv.setText("Hello, Android");
    setContentView(tv);
    }
    }



    Severity and Description Path Resource Location Creation
    Time Id
    Error executing aapt. Please check aapt is present at \tools
    \aapt.exe HelloAndroid Unknown 1217725441627 6


    Severity and Description Path Resource Location Creation
    Time Id
    Project 'HelloAndroid' is missing required library:
    '\android.jar' HelloAndroid Build path 1217725359502 1


    Severity and Description Path Resource Location Creation
    Time Id
    The project cannot be built until build path errors are
    resolved HelloAndroid Unknown 1217725441627 7


    ---------------------
    I can start the Android emulator.

    ___________

    the file android.jar is corrupt or invalid is the response when I
    doubleclick on it form Windows.
    ssecorp, Aug 3, 2008
    #1
    1. Advertising

Want to reply to this thread or ask your own question?

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. =?Utf-8?B?dHJlbGxvdzQyMg==?=

    HELP! HELP! HELP! Opening Web Application Project Error

    =?Utf-8?B?dHJlbGxvdzQyMg==?=, Feb 20, 2004, in forum: ASP .Net
    Replies:
    0
    Views:
    761
    =?Utf-8?B?dHJlbGxvdzQyMg==?=
    Feb 20, 2004
  2. Harvey
    Replies:
    0
    Views:
    692
    Harvey
    Jul 16, 2004
  3. Harvey
    Replies:
    1
    Views:
    835
    Daniel
    Jul 16, 2004
  4. =?Utf-8?B?S2ltb24gSWZhbnRpZGlz?=

    HELP - HELP - HELP

    =?Utf-8?B?S2ltb24gSWZhbnRpZGlz?=, Mar 9, 2006, in forum: ASP .Net
    Replies:
    4
    Views:
    678
    Eliyahu Goldin
    Mar 9, 2006
  5. Buster

    Help, Help, Help

    Buster, Oct 4, 2003, in forum: Java
    Replies:
    3
    Views:
    469
    Saager
    Oct 30, 2003
Loading...

Share This Page