Android app doesn't launch in simulator or hardware

和自甴很熟 提交于 2019-12-10 17:54:25

问题


My app used to run, but lately I've been getting this odd error:

#  guarantee(_name_index != 0 && _signature_index != 0) failed: bad constant pool index for fieldDescriptor

How can I get my app to run in the simulator or on my phone again?


回答1:


I was accidentally running it as a Java app instead of an Android app. My bad. Don't make my mistake young grasshoppers.



来源:https://stackoverflow.com/questions/5837897/android-app-doesnt-launch-in-simulator-or-hardware

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