简体   繁体   English

Android 应用程序无法在模拟器或硬件中启动

[英]Android app doesn't launch in simulator or hardware

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?如何让我的应用程序再次在模拟器或手机上运行?

I was accidentally running it as a Java app instead of an Android app.我不小心将它作为 Java 应用程序而不是 Android 应用程序运行。 My bad.我的错。 Don't make my mistake young grasshoppers.不要让我的错误年轻蚱蜢。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM