开发者

Application crashing when locale is changed

My application is currently running with chinese locale.Whenever i try to set the locale , while the application is running, it crashes. I start my app>> long press on home button and select settings to change the locale>> after changing i simply press back key to see my app but it crashes. Actually my app gets data from a server and display it whenever started..I have cheked in the logcat ,that when i press back after setting locale , my app hits the server to fetch data but server somehow does not respond therefore resulting in crash. 开发者_C百科What could be he issue?

Also my app always show ServiceConnection Leaked statement in logcat when back key is pressed.


You probably have a locale string/drawable that's not there in the default set.

Read why default resources are important.

http://developer.android.com/guide/topics/resources/localization.html

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜