Didn't include a pendingIntent in the extras?

14,836

Solution 1

It is probably means that you are missing a uses-library deceleration inside the AndroidManifest.xml file. If you can provide 1 line of the log just before getting this error message it will be helpful. You can try and fix it by adding the:

uses-library android:name="com.<your library>" /

under the

<application

Solution 2

For me I Solved this Error by Giving the right parameter to POST Response in Asynchronous task.

As we see in logcat E/NetworkScheduler.SchedulerReceiver﹕ Invalid parameter app.This error shows that we are not added the right parameter to POST response.

Previously I had added the parameter like this:

  entity.addPart("latitude", new StringBody("23.234234"));
                  entity.addPart("longtitude", new StringBody("22.234324"));
                  entity.addPart("note", new StringBody("20"));
                  entity.addPart("parking_title", new StringBody("Drop"));
                  entity.addPart("filename[0]", new StringBody("199"));
                  entity.addPart("filename[1]", new StringBody("10"));
                  entity.addPart("filename[2]", new ByteArrayBody(data,"image/jpeg", params[1]));

Then I changed into this:

  entity.addPart("latitude", new StringBody(lat_str));
                  entity.addPart("longtitude", new StringBody(long_str));
                  entity.addPart("note", new StringBody(note_str));
                  entity.addPart("parking_title", new StringBody(parking_titleStr));

                  entity.addPart("filename[0]", new ByteArrayBody(data,"image/jpeg", params[1]));
Share:
14,836

Related videos on Youtube

Mallock
Author by

Mallock

Updated on September 15, 2022

Comments

  • Mallock
    Mallock over 1 year

    I came across this Error message on Logcat while working on an app. Can anyone tell me what it means?

    07-24 23:34:20.288    1140-1140/? E/NetworkScheduler.SchedulerReceiver﹕ Invalid parameter app
    07-24 23:34:20.288    1140-1140/? E/NetworkScheduler.SchedulerReceiver﹕ Invalid package name : Perhaps you didn't include a PendingIntent in the extras
    

    For your information: I used an AlarmManager in this app

  • Eyal Sooliman
    Eyal Sooliman over 7 years
    Thanks. Will appreciate if you click the vote up button. (-:
  • smartmouse
    smartmouse about 7 years
    Hello @EyalSooliman, can you please help me with this? stackoverflow.com/questions/43156622/…