Android App Will Not Run
So I am trying to run this app I am using to learn about threads and intents however the app will not run, But I don't have any warning/error underlines in the code, could anyone h
Solution 1:
Change
<intent-filter><actionandroid:name="android.intent.action.SPLASH" /><categoryandroid:name="android.intent.category.LAUNCHER" /></intent-filter>
to
<intent-filter><actionandroid:name="android.intent.action.MAIN" /><categoryandroid:name="android.intent.category.LAUNCHER" /></intent-filter>
Since your app is probably not shown on the home screen (the MAIN
category is needed).
And also change
IntentopenStartingPoint=newIntent("com.example.learn.tam.StartingPoint");
startActivity(openStartingPoint);
to
Intent openStartingPoint = newIntent(Splash.this, StartingPoint.class );
startActivity(openStartingPoint);
Since your StartingPoint does not define an Intent-Action with "com.example.learn.tam.StartingPoint"
See if that fixes anything.
Solution 2:
Remove this:
<actionandroid:name="android.intent.action.SPLASH" />
And replace it with this:
<actionandroid:name="android.intent.action.MAIN" />
Post a Comment for "Android App Will Not Run"