java.lang.RuntimeException: Unable to instantiate activity ComponentInfo{


出现这个问题时,第一步看看manifest.xml是否配置正确。

如果配置正确也会出现这个错误,
那么,阅读下文:
http://tools.android.com/recent/dealingwithdependenciesinandroidprojects

基本我也没看懂,但是根据文中描述,对classpath中的 libs 加个exported=true, 就解决了。

猜你喜欢

转载自jasonshieh.iteye.com/blog/1879415