Problem to see the app in the emulator

Common bugs/problems with the Android SDK the Emulator and the ADT-Plugin.

Problem to see the app in the emulator

Postby shalomthe » Mon Jan 03, 2011 11:27 am

Hello everybody,
I'm having a problem to see the app's i created in the emulator it all seems fine and just for the start I copy the code from android web site but still i can't see the app icon and the name of the app.
please if anyone can help i'm trying to study this thing but this problem stops me from advance.
the code is that:
package com.example.helloandroid;

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

public class Hello extends Activity
{
/** Called when the activity is first created. */
@Override
public void onCreate(Bundle savedInstanceState)
{
super.onCreate(savedInstanceState);
setContentView(R.layout.main);
}
}
shalomthe
Freshman
Freshman
 
Posts: 5
Joined: Mon Jan 03, 2011 11:22 am

Top

Re: Problem to see the app in the emulator

Postby blundell » Tue Jan 04, 2011 4:25 pm

Check your Android Manifest File and please post code in [ code ] tags [/ code ]
User avatar
blundell
Master Developer
Master Developer
 
Posts: 1610
Joined: Tue Nov 18, 2008 12:58 pm
Location: UK

Re: Problem to see the app in the emulator

Postby shalomthe » Tue Jan 04, 2011 4:46 pm

tnx!
shalomthe
Freshman
Freshman
 
Posts: 5
Joined: Mon Jan 03, 2011 11:22 am

Re: Problem to see the app in the emulator

Postby shalomthe » Tue Jan 04, 2011 5:23 pm

hay i still can't see the app.
what do i need to fill in the form in Manifest file?
shalomthe
Freshman
Freshman
 
Posts: 5
Joined: Mon Jan 03, 2011 11:22 am

Re: Problem to see the app in the emulator

Postby blundell » Tue Jan 04, 2011 6:03 pm

Show us it
User avatar
blundell
Master Developer
Master Developer
 
Posts: 1610
Joined: Tue Nov 18, 2008 12:58 pm
Location: UK

Re: Problem to see the app in the emulator

Postby shalomthe » Thu Jan 06, 2011 8:13 am

that's the code file.
tnx
Attachments
ManifestXmljpg.jpg
ManifestXmljpg.jpg (74.07 KiB) Viewed 211 times
shalomthe
Freshman
Freshman
 
Posts: 5
Joined: Mon Jan 03, 2011 11:22 am

Top

Re: Problem to see the app in the emulator

Postby blundell » Thu Jan 06, 2011 9:49 am

You do, Right Click on the project and select Run As > Android App ?
User avatar
blundell
Master Developer
Master Developer
 
Posts: 1610
Joined: Tue Nov 18, 2008 12:58 pm
Location: UK

Re: Problem to see the app in the emulator

Postby shalomthe » Fri Jan 07, 2011 2:56 pm

i just now figured that out (with your of course)... thanks a lot!
shalomthe
Freshman
Freshman
 
Posts: 5
Joined: Mon Jan 03, 2011 11:22 am

Top

Return to SDK/ADT/Emulator Problems

Who is online

Users browsing this forum: No registered users and 1 guest