Skip to content

▶️ Google Play Console report IllegalStateException #40

@Cynnexis

Description

@Cynnexis

Describe the bug
When creating a release for Tide v1.0.0, the Google Play Console reports the following error:

FATAL EXCEPTION: main
Process: jp.co.sharp.android.iwnnime.ml, PID: 7472
java.lang.RuntimeException: Unable to start receiver jp.co.sharp.android.iwnnime.ml.DecoEmojiListener: java.lang.IllegalStateException: Not allowed to start service Intent { cmp=jp.co.omronsoft.android.decoemojimanager_docomo/.DecoEmojiManager }: app is in background uid null
	at android.app.ActivityThread.handleReceiver(ActivityThread.java:3521)
	at android.app.ActivityThread.access$1400(ActivityThread.java:209)
	at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1753)
	at android.os.Handler.dispatchMessage(Handler.java:106)
	at android.os.Looper.loop(Looper.java:193)
	at android.app.ActivityThread.main(ActivityThread.java:6846)
	at java.lang.reflect.Method.invoke(Native Method)
	at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:493)
	at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:883)
Caused by: java.lang.IllegalStateException: Not allowed to start service Intent { cmp=jp.co.omronsoft.android.decoemojimanager_docomo/.DecoEmojiManager }: app is in background uid null
	at android.app.ContextImpl.startServiceCommon(ContextImpl.java:1577)
	at android.app.ContextImpl.startService(ContextImpl.java:1532)
	at android.content.ContextWrapper.startService(ContextWrapper.java:664)
	at android.content.ContextWrapper.startService(ContextWrapper.java:664)
	at jp.co.sharp.android.iwnnime.ml.DecoEmojiListener.updateConfirm(DecoEmojiListener.java:211)
	at jp.co.sharp.android.iwnnime.ml.DecoEmojiListener.onReceive(DecoEmojiListener.java:184)
	at android.app.ActivityThread.handleReceiver(ActivityThread.java:3508)
	... 8 more

Expected behavior
No error in the Google Play Console.

Smartphone (please complete the following information):

  • Model name: AQUOS sense2 SH-01L
  • Manufacturer: Sharp
  • Android version: Android 9 (SDK 28)
  • Locale: en_US
  • Screen size: 1080 x 2160
  • Screen density (DPI): 480
  • RAM (total memory): 3,072 MB
  • OpenGL ES version: 3.2
  • ABI: ARM64_V8
  • CPU: Qualcomm SDM450

Screenshots

Screenshot of the Google Play Page. All texts were already described in this issue.

Additional context
Here is a video of the testing that caused the error:

video

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions