当我尝试运行示例应用程序时,为什么 Eclipse 会给出错误?
我不知道为什么当我尝试在 ecplise galileo 中运行 Android 网站的示例应用程序时,它会出现 300 多个错误。我正在尝试的应用程序是Bluetoothchat,它直接来自sdk示例文件夹,因此它不应该包含任何内容。我已经添加了 android.jar 并且我有一个模拟器。我已经尝试过 HelloWorld 并且成功了..有人可以帮助我吗?谢谢
I dont know why the sample application from the android website gives me 300+ errors when i try to run it in ecplise galileo. The application i am trying is Bluetoothchat it is straight from the sdk sample folder so it shouldn't contain any. I have added android.jar and I do have an emulator. I have tried HelloWorld and it worked..Could someone help me? Thanks
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
据我所知,模拟器不支持蓝牙(请参阅此问题)。应用程序仍然应该运行并报告蓝牙不可用。您使用哪个 API?另外,您是否遇到编译或运行时错误?
As far as I know the emulator doesn't support Bluetooth (See this question). Still the application should run and report that Bluetooth isn't available. Which API are you using? Also, do you get compile or runtime errors?