Hi drex, I have the same problem too. I think the solution is on AndroidManifest.xml
You must write activity xml tag for three Activity Class So, AndroidManifest.xml change into this : <?xml version="1.0" encoding="utf-8"?> <manifest xmlns:android="http://schemas.android.com/apk/res/android" package="tablayout.main" android:versionCode="1" android:versionName="1.0"> <application android:icon="@drawable/icon" android:label="@string/ app_name"> <activity android:name=".AlbumsActivity" android:label="@string/app_name"> </activity> <activity android:name=".ArtistsActivity" android:label="@string/app_name"> </activity> <activity android:name=".SongsActivity" android:label="@string/app_name"> </activity> <activity android:name=".main" android:label="@string/app_name" android:theme="@android:style/Theme.NoTitleBar"> <intent-filter> <action android:name="android.intent.action.MAIN" /> <category android:name="android.intent.category.LAUNCHER" /> </intent-filter> </activity> </application> </manifest> drex wrote: > Hi Guys!! > > I'm new in android and also in java. This is my second day in work > learning android and java. Yesterday i successfully installed android > using eclipse. I tried the sample "Tab Layout" posted in "http:// > developer.android.com/resources/tutorials/views/hello-tabwidget.html". > I had done exactly what is written for me to do. I was able it to run > in my eclipse but when my emulator loads it pops an error saying > "application sample tab has stopped unexpectedly. Please try again". > Ive tried debugging it using the eclipse debugger, it shows an error > which i don't understand, showing a tree explorer of its errors. Hope > i could attached the screen shots of the errors. > > If someone of you guys has a sample of table layout, can you please > send it to my email address. > > Thanks, > > "don't worry about a thing, coz every little thing i gonna be alright" > - bob marley > > -- > You received this message because you are subscribed to the Google > Groups "Android Developers" group. > To post to this group, send email to [email protected] > To unsubscribe from this group, send email to > [email protected] > For more options, visit this group at > http://groups.google.com/group/android-developers?hl=en -- You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/android-developers?hl=en

