AVD blackscreen after enableLocalDatastore

╄→尐↘猪︶ㄣ 提交于 2019-12-12 05:14:13

问题


Has anyone experienced something like this ? My app works but after I add the line "Parse.enableLocalDatastore(this);" in my Application class it stops. Eclipse tries to launch it but right after the white screen, it turns black and LogCat notifies this warning "05-24 14:15:20.683: W/ActivityManager(382): Launch timeout has expired, giving up wake lock!"

First time I experience such thing, tried searching on Parse.com and nothing.

Additional info:

  • Android + Google APIs v4.4.2
  • Parse v1.5.0

回答1:


Well, it wasn't the SDK's fault.

Solution: Had to create a new AVD to test my app after adding the line "enableLocalDatastore".




回答2:


^true, same here, I lost ~10h to find out why!!!! seems it is parse.com lib BUG!!!!! when build the android application on release mode!!!!!!!

solution add this :

Parse.enableLocalDatastore(this);

before

Parse.initialize


来源:https://stackoverflow.com/questions/23848300/avd-blackscreen-after-enablelocaldatastore

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!