Android Question Application stopped in release mode - Solved

derez

Expert
Licensed User
Longtime User
an application is stoped in release mode while running fine in debug.
I unchecked "Filter" and got this message:
Installing file.
** Activity (main) Pause, UserClosed = false **
PackageAdded: package:derez.player
** Activity (main) Resume **
Setting install_non_market_apps has moved from android.provider.Settings.Global to android.provider.Settings.Secure, returning read-only value.

Is this the reason for the failure ? or else what can be done ?

Edit: I don't know what happened but now it runs also in Release mode, without any changes done...
Edit: The problem was that my phone's battery was low. When connected to power the problem gone.
 
Last edited:

derez

Expert
Licensed User
Longtime User
Found the real problem today:
Starter process called a sub in main, changing a drawable which has not been initialized yet !
In debug it works slower so the main has already managed to initialize it, while in release it is quicker.
 
Upvote 0
Top