0

I'm newbie at android programming. I've just a form and there is only a textbox and button. When i run it i gives me an error that you can see in the screenshot.

enter image description here

My manifest.xml is below.

<manifest xmlns:android="http://schemas.android.com/apk/res/android"
package="com.deitel.welcome"
android:versionCode="1"
android:versionName="1.0" >

<uses-sdk
    android:minSdkVersion="8"
    android:targetSdkVersion="17" />

<application
    android:allowBackup="true"
    android:icon="@drawable/ic_launcher"
    android:label="@string/app_name"
    android:theme="@style/AppTheme">
    <activity android:name="welcome" android:label="@string/app_name"
            android:theme="@android:style/Theme.Black.NoTitleBar"
            android:configChanges="orientation|keyboardHidden|keyboard|screenSize|locale">
        <intent-filter>
            <action android:name="android.intent.action.MAIN" />
            <category android:name="android.intent.category.LAUNCHER" />
        </intent-filter>
    </activity>
</application>      

Log

[2013-06-17 14:40:38 - Welcome] ------------------------------
[2013-06-17 14:40:38 - Welcome] Android Launch!
[2013-06-17 14:40:38 - Welcome] adb is running normally.
[2013-06-17 14:40:38 - Welcome] Performing com.deitel.welcome.welcome activity launch
[2013-06-17 14:40:38 - Welcome] Automatic Target Mode: launching new emulator with compatible AVD 'emulator1'
[2013-06-17 14:40:38 - Welcome] Launching a new emulator with Virtual Device 'emulator1'
[2013-06-17 14:40:38 - Emulator] Failed to create Context 0x3005
[2013-06-17 14:40:38 - Emulator] could not get wglGetExtensionsStringARB
[2013-06-17 14:40:38 - Emulator] could not get wglGetExtensionsStringARB
[2013-06-17 14:40:38 - Emulator] could not get wglGetExtensionsStringARB
[2013-06-17 14:40:38 - Emulator] could not get wglGetExtensionsStringARB
[2013-06-17 14:40:38 - Emulator] could not get wglGetExtensionsStringARB
[2013-06-17 14:40:38 - Emulator] emulator: WARNING: Could not initialize OpenglES emulation, using software renderer.
[2013-06-17 14:40:38 - Emulator] could not get wglGetExtensionsStringARB
[2013-06-17 14:40:38 - Emulator] could not get wglGetExtensionsStringARB
[2013-06-17 14:40:38 - Emulator] could not get wglGetExtensionsStringARB
[2013-06-17 14:40:39 - Welcome] New emulator found: emulator-5554
[2013-06-17 14:40:39 - Welcome] Waiting for HOME ('android.process.acore') to be launched...
[2013-06-17 14:41:25 - Welcome] HOME is up on device 'emulator-5554'
[2013-06-17 14:41:25 - Welcome] Uploading Welcome.apk onto device 'emulator-5554'
[2013-06-17 14:41:25 - Welcome] Installing Welcome.apk...
[2013-06-17 14:42:24 - Welcome] Success!
[2013-06-17 14:42:24 - Welcome] Starting activity com.deitel.welcome.welcome on device emulator-5554
[2013-06-17 14:42:26 - Welcome] ActivityManager: Starting: Intent { act=android.intent.action.MAIN cat=[android.intent.category.LAUNCHER] cmp=com.deitel.welcome/.welcome }
Bora
  • 127
  • 5
  • 13

1 Answers1

1

This shows that your application is crashing due to some reason. Debug your Main Activity in your case it is Welcome.java. Place debug point in your onCreate and other callback methods, i.e onResume(), onPuase(), Also provide complete stack-trace, what trace you have provided is useless. Please also privide code of your Welcome Activity.

Yahya Arshad
  • 1,626
  • 2
  • 19
  • 34