Skip to content
This repository was archived by the owner on Oct 18, 2024. It is now read-only.

[Bug]: Error putting the app in the background #1208

Description

What happened?

I just put the application in the background and when I returned to it it showed me the error

v2.5.3-beta

What's the expected behavior?

it won't close the app

What version of AndroidIDE you're using?

v2.5.2 (debug builds)

Relevant log output

AndroidIDE crash report
Manufacturer: samsung
Device: SM-G781V
ABI: arm64-v8a
SDK version: 33
App version: v2.5.3-beta (253)

 Stacktrace: 
java.lang.ClassCastException: android.os.BinderProxy cannot be cast to com.itsaky.androidide.services.builder.GradleServiceBinder
	at com.itsaky.androidide.services.builder.GradleBuildServiceConnnection.onServiceConnected(Unknown Source:5)
	at android.app.LoadedApk$ServiceDispatcher.doConnected(LoadedApk.java:2348)
	at android.app.LoadedApk$ServiceDispatcher$RunConnection.run(LoadedApk.java:2381)
	at android.os.Handler.handleCallback(Handler.java:942)
	at android.os.Handler.dispatchMessage(Handler.java:99)
	at android.os.Looper.loopOnce(Looper.java:226)
	at android.os.Looper.loop(Looper.java:313)
	at android.app.ActivityThread.main(ActivityThread.java:8757)
	at java.lang.reflect.Method.invoke(Native Method)
	at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:571)
	at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:1067)

Duplicate issues

  • This issue has not been reported yet.

Code of Conduct

  • I agree to follow this project's Code of Conduct

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions