Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8238121
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 7, 20262026-06-07T19:42:06+00:00 2026-06-07T19:42:06+00:00

I am new in android development. I am using Eclipse Helios and AVD 15.

  • 0

I am new in android development. I am using Eclipse Helios and AVD 15. I am trying with a tiny program Sliding Drawer. Whenever I want to run it, compiler shows no error but in Emulator shows “Unfortunately has stopped. I uninstall it then run it for several times, Clean project, eliminate each warning still it coming. When I run it on debug mode , the console shows:-

[2012-07-18 12:03:34 - sliding drawer] ------------------------------
[2012-07-18 12:03:34 - sliding drawer] Android Launch!
[2012-07-18 12:03:34 - sliding drawer] adb is running normally.
[2012-07-18 12:03:34 - sliding drawer] Performing sliding.drawer.SlidingdrawerActivity 
activity launch
[2012-07-18 12:03:34 - sliding drawer] Automatic Target Mode: launching new emulator   compatible AVD 'And_em_1.5'
[2012-07-18 12:03:34 - sliding drawer] Launching a new emulator with Virtual Device  ![android debug image][1]'And_em_1.5'
[2012-07-18 12:03:54 - sliding drawer] New emulator found: emulator-5554
[2012-07-18 12:03:54 - sliding drawer] Waiting for HOME ('android.process.acore') to be launched...
[2012-07-18 12:05:33 - sliding drawer] HOME is up on device 'emulator-5554'
[2012-07-18 12:05:33 - sliding drawer] Uploading sliding drawer.apk onto device  'emulator-5554'
[2012-07-18 12:05:33 - sliding drawer] Installing sliding drawer.apk...
[2012-07-18 12:06:33 - sliding drawer] Success!
[2012-07-18 12:06:33 - sliding drawer] Starting activity  sliding.drawer.SlidingdrawerActivity on device emulator-5554
[2012-07-18 12:06:36 - sliding drawer] ActivityManager: Starting: Intent {  act=android.intent.action.MAIN cat=[android.intent.category.LAUNCHER]  cmp=sliding.drawer/.SlidingdrawerActivity }
[2012-07-18 12:06:38 - sliding drawer] Attempting to connect debugger to  'sliding.drawer' on port 8633

I am sending my code:

.java file

package sliding.drawer;

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

public class SlidingdrawerActivity extends Activity {
/** Called when the activity is first created. */
@Override
public void onCreate(Bundle savedInstanceState) {
    super.onCreate(savedInstanceState);
    setContentView(R.layout.main);
}
}

main.xml file

<?xml version="1.0" encoding="utf-8"?>
<RelativeLayout 
      xmlns:android="http://schemas.android.com/apk/res/android"
      android:layout_width="fill_parent"
      android:layout_height="fill_parent"    >
     <SlidingDrawer
          android:id="@+id/drawer"
          android:layout_width="320dip"
          android:layout_height="440dip"
          android:orientation="vertical"
          android:handle="@+id/handle"
          android:content="@+id/content">
    <ImageView
          android:id="@+id/handle"
          android:layout_width="48dip"
          android:layout_height="48dip"
          android:contentDescription="@string/s"
          android:src="@drawable/ic_launcher" />
    <AnalogClock
          android:background="#D0A0A0"
          android:layout_width="fill_parent"
          android:layout_height="fill_parent" />
    </SlidingDrawer>

  <TextView
         android:layout_width="fill_parent"
         android:layout_height="wrap_content"
         android:text="@string/hello" />
</RelativeLayout>

Then a window comes with thread status.

Threads

ActivityThread.performLaunchActivity(ActivityThread$ActivityClientRecord, Intent) line: 1956    
ActivityThread.handleLaunchActivity(ActivityThread$ActivityClientRecord, Intent) line: 1981 
ActivityThread.access$600(ActivityThread, ActivityThread$ActivityClientRecord, Intent) line: 123    
ActivityThread$H.handleMessage(Message) line: 1147  
ActivityThread$H(Handler).dispatchMessage(Message) line: 99 
Looper.loop() line: 137 
ActivityThread.main(String[]) line: 4424    
Method.invokeNative(Object, Object[], Class, Class[], Class, int, boolean) line: not   available [native method]            
Method.invoke(Object, Object...) line: 511  
ZygoteInit$MethodAndArgsCaller.run() line: 784  
ZygoteInit.main(String[]) line: 551 
NativeStart.main(String[]) line: not available [native method]  

As I am new in android I am getting mad. Please help me.

Thanks..

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-07T19:42:08+00:00Added an answer on June 7, 2026 at 7:42 pm

    I think the problem is you forgot the id attribute on your AnalogClock:

    <AnalogClock
        android:id="@+id/content"
        android:background="#D0A0A0"
        android:layout_width="fill_parent"
        android:layout_height="fill_parent" />
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I am new to using SQLite databases and android mobile development. I am trying
I am new to android development . I'm trying to download and run the
I'm trying to get started with Android development. I'm using eclipse on Linux and
I am new to Android development using eclipse, although not new to software development
I am new to Android development using eclipse, although not new to software development
I'm new to Eclipse and I'm using for some Android development. Eclipse is making
I am new to Android development and facing a problem while using AndEngine. I
I am new to Android development. In my project, I’m using EditText, but I
I'm new to Mono for Android (using MonoDevelop) and Android development in general. I
I'm new to Android development. My OS is WinXP. I'm trying to install two

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.