Searched on Google with the first line of a JAVA stack trace?

We can recommend more relevant solutions and speed up debugging when you paste your entire stack trace with the exception message. Try a sample exception.

Recommended solutions based on your search

Solutions on the web

via GitHub by julienschmidt
, 1 year ago
Calling startActivity() from outside of an Activity context requires the FLAG_ACTIVITY_NEW_TASK flag. Is this really what you want?
via csdn.net by Unknown author, 2 years ago
Calling startActivity() from outside of an Activity context requires the FLAG_ACTIVITY_NEW_TASK flag. Is this really what you want?
via Stack Overflow by Tomasz Kryński
, 5 months ago
Calling startActivity() from outside of an Activity context requires the FLAG_ACTIVITY_NEW_TASK flag. Is this really what you want? 10-16 12:36:01.491 13024 13024 E AndroidRuntime:
via Stack Overflow by user1755546
, 2 years ago
Calling startActivity() from outside of an Activity context requires the FLAG_ACTIVITY_NEW_TASK flag. Is this really what you want?
via Stack Overflow by Matthew Runo
, 2 years ago
Calling startActivity() from outside of an Activity context requires the FLAG_ACTIVITY_NEW_TASK flag. Is this really what you want?
via Stack Overflow by Kishore Kumar Samudrala
, 2 years ago
Calling startActivity() from outside of an Activity context requires the FLAG_ACTIVITY_NEW_TASK flag. Is this really what you want?
android.util.AndroidRuntimeException: Calling startActivity() from outside of an Activity  context requires the FLAG_ACTIVITY_NEW_TASK flag. Is this really what you want?	at android.app.ContextImpl.startActivity(ContextImpl.java:682)	at android.app.ContextImpl.startActivity(ContextImpl.java:669)	at android.content.ContextWrapper.startActivity(ContextWrapper.java:337)	at org.microg.gms.gcm.PushRegisterService.register(PushRegisterService.java:143)	at org.microg.gms.gcm.PushRegisterService.onHandleIntent(PushRegisterService.java:111)	at android.app.IntentService$ServiceHandler.handleMessage(IntentService.java:66)	at android.os.Handler.dispatchMessage(Handler.java:102)	at android.os.Looper.loop(Looper.java:148)	at android.os.HandlerThread.run(HandlerThread.java:61)