LicenseCheckerCallback 无法解析为类型
我刚刚开始尝试 Android 许可,就遇到了这个问题。
我已经创建了库项目并将我的应用程序项目链接到库项目。它工作了一段时间,但在我从 Android SDK 和 AVD Manager 安装 Google API 包后,我的项目被重建,我遇到了这个错误。我的代码中没有任何更改,我只是想知道是否有人知道发生了什么或如何修复它?
谢谢!
编辑:当我选择选项“修复项目设置...”和“将项目‘licensing_proj’添加到构建路径”时,它将库项目添加为构建路径中的项目,并在运行模拟器时给出此错误:< code>找不到licensing_proj.apk!
I've just started playing around with Android Licensing and I ran into this problem.
I have created the library project and linked my application project to the library project. It was working fine for some time, but after I installed Google APIs package from the Android SDK and AVD Manager, my projects were rebuilt and I came across this error. Nothing in my code was changed whatsoever and I was just wondering if anyone knows what happened or how to fix it?
Thanks!
EDIT: When I chose the option "Fix project setup..." and "Add project 'licensing_proj' to build path", it adds the library project as a project in the build path and gives me this error when running the emulator: Could not find licensing_proj.apk!
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(2)
我遇到了同样的问题,但是在我删除了引用的所有相同的库,并在项目属性-> android 页面中添加了库,然后重新编译后,就可以了。
http://developer.android.com/guide/developing/projects/projects -eclipse.html
I had same issue, but after I removed all the same libiary referenced, and added the library in project properties->android page, and recompile, works.
http://developer.android.com/guide/developing/projects/projects-eclipse.html
不完全确定发生了什么,但删除并添加库作为新项目是有效的。
Not exactly sure what happened but removing and adding the library as a new project worked.