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

[Bug]: 反复的点击创建项目和离开发生了崩溃 #1109

Closed
2 tasks done
shulng opened this issue Jul 16, 2023 · 1 comment
Closed
2 tasks done

[Bug]: 反复的点击创建项目和离开发生了崩溃 #1109

shulng opened this issue Jul 16, 2023 · 1 comment
Labels
bug Something isn't working

Comments

@shulng
Copy link

shulng commented Jul 16, 2023

What happened?

反复的点击创建项目和离开时发生崩溃

What's the expected behavior?

反复的点击创建项目和离开时发生了崩溃

What version of AndroidIDE you're using?

v2.5.0 (debug builds)

Relevant log output

AndroidIDE crash report
Manufacturer: vivo
Device: V1901A
ABI: arm64-v8a
SDK version: 28
App version: v2.5.0-beta (250)

 Stacktrace: 
java.lang.IllegalStateException: Invalid screen states. Previous: 1 Current: 1
	at com.itsaky.androidide.activities.MainActivity.onScreenChanged(Unknown Source:163)
	at androidx.work.JobListenableFuture$1.invoke(SourceFile:87)
	at com.itsaky.androidide.activities.MainActivity$$ExternalSyntheticLambda0.onChanged(Unknown Source:114)
	at androidx.lifecycle.MutableLiveData.considerNotify(Unknown Source:29)
	at androidx.lifecycle.MutableLiveData.dispatchingValue(Unknown Source:55)
	at androidx.lifecycle.MutableLiveData.setValue(Unknown Source:14)
	at com.itsaky.androidide.viewmodel.MainViewModel.setScreen(Unknown Source:28)
	at com.itsaky.androidide.fragments.TemplateDetailsFragment$$ExternalSyntheticLambda0.onClick(Unknown Source:20)
	at android.view.View.performClick(View.java:6648)
	at com.google.android.material.button.MaterialButton.performClick(Unknown Source:9)
	at android.view.View.performClickInternal(View.java:6621)
	at android.view.View.access$3100(View.java:792)
	at android.view.View$PerformClick.run(View.java:26334)
	at android.os.Handler.handleCallback(Handler.java:873)
	at android.os.Handler.dispatchMessage(Handler.java:99)
	at android.os.Looper.loop(Looper.java:224)
	at android.app.ActivityThread.main(ActivityThread.java:7087)
	at java.lang.reflect.Method.invoke(Native Method)
	at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:604)
	at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:928)

Duplicate issues

  • This issue has not been reported yet.

Code of Conduct

  • I agree to follow this project's Code of Conduct
@shulng shulng added the bug Something isn't working label Jul 16, 2023
@itsaky
Copy link
Member

itsaky commented Jul 17, 2023

This should have been fixed in 3c8c4f7. Reopen this issue if it isn't.

@itsaky itsaky closed this as completed Jul 17, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants