App runs only on emulator and force shutdown on actual device (Android studio, Java)

Asked 1 years ago, Updated 1 years ago, 110 views

This time, I made an app using Android Studio, Java (minimum support version 4.4)
But strangely enough, if you turn on the app emulator in the Android studio itself (pixel 2, version Pie), it runs well without any errorsbr/> And an environment that's pretty much like an emulator (software is the same as Google's). The version 7.1.1) also runs well without any errors on the Lineage Rom. Aosp (Gpro2.
But my device [Note 4 (android 6), s7 (android 8), v10 (android 7)] didn't run, and I forced the app to stop. It doesn't even work with the error. Even though I did it with the same apk, this error occurs.
(Please help the beginner developerIt's an app I made for a year ago(Crying)

The
 code will be deleted due to personal reasons. I'm sorry.

The workaround is Splish Images. The main image should not be used without applying a large image. Please refer to the details in the answer :)

emulator force-quit android-studio java aosp

2022-09-22 19:20

1 Answers

For forced stop, you must check the Exception log. In the case of Android, there are various versions and models, so the above problems may occur due to issues by manufacturer and OS version. Please attach the error log at the time of forced termination because it is difficult to understand only by the phenomenon.


2022-09-22 19:20

If you have any answers or tips


© 2024 OneMinuteCode. All rights reserved.