Hello, seniors.
I have a question regarding the Android Marshmallow version response.
First of all, there is no problem with this app from lollipop to its lower version.
However, there is a problem from the marshmallow version.
The strange thing about this is that all functions work normally when installed through Android Studio
Whether it is distributed and installed in the market or installed with a release file extracted with APK.
If I log in on the first screen, the black screen will not work after that.
The reason I'm thinking about now is that in the process of logging in or entering a new screen,
I think it's a matter of authority, but I haven't solved it yet.
If you have any similar experiences during the development process, please advise.
It's getting very cold, so be careful not to catch a cold and have a good day.
android android-studio version install
Check to see what targetSdkVersion is set to in build.gradle. If it's below 22, even if the phone's OS version is marshmallow, it will operate as if it was run in a lower version of the environment (Lollipop). If the targetSdkVersion is specified as 23 or higher, you must add a code corresponding to the runtime permission. Of course, not doing anything related to permission does not mean that the black screen will not work (the app will be forced to shut down due to the occurrence of the extention, the app will be forced to shut down
If the targetSdkVersion is 23 or higher, it may be a side effect due to the authority issue or another problem. Since it is not a common situation to fail with a black screen, it is the fastest way to find the problem by debugging it directly. If it only occurs in a release build, temporarily change the debuggable setting of build.gradle to true so that it can be debugged in the release build.
release {
debuggable true
...
}
915 When building Fast API+Uvicorn environment with PyInstaller, console=False results in an error
574 Who developed the "avformat-59.dll" that comes with FFmpeg?
618 Uncaught (inpromise) Error on Electron: An object could not be cloned
578 Understanding How to Configure Google API Key
572 rails db:create error: Could not find mysql2-0.5.4 in any of the sources
© 2024 OneMinuteCode. All rights reserved.