eclipse编译android的apk发生VFY错误
来源:互联网 发布:unity2d横版rpg源码 编辑:程序博客网 时间:2024/05/22 01:26
1.编译jni和jar包,生成的my.jar放到项目的libs下,成功编译apk
2.运行时出现错误:
...
01-01 23:03:34.803 W/dalvikvm(24777): VFY: unable to resolve static method 6025: Lcom/...Manager;.startService ()V
4.对比引用的my.jar,说明这个包是没有问题的,只是eclipse编译时这个方法未被编进去
5.Properties -> Libraries -> Add JARs
6.Properties -> BuildPath -> Order and Export -> Select All
0.Enjoy
参考:
eclipse引用第三方jar包,编译后发现第三方jar有个方法未被编译进classes.dex [http://www.oschina.net/question/587911_88748]
2.运行时出现错误:
...
01-01 23:03:34.803 W/dalvikvm(24777): VFY: unable to resolve static method 6025: Lcom/...Manager;.startService ()V
...
4.对比引用的my.jar,说明这个包是没有问题的,只是eclipse编译时这个方法未被编进去
5.Properties -> Libraries -> Add JARs
6.Properties -> BuildPath -> Order and Export -> Select All
0.Enjoy
参考:
eclipse引用第三方jar包,编译后发现第三方jar有个方法未被编译进classes.dex [http://www.oschina.net/question/587911_88748]
android一个纠结的VFY错误 [http://www.cnblogs.com/poe-blog/p/3261386.html]
0 0
- eclipse编译android的apk发生VFY错误
- android导致VFY(verifyerror)错误的一种情况
- android发生的错误
- Android APK编译错误01
- 运行时的“VFY: unable to resolve static field”错误
- Android发生过的错误
- ads编译时所发生的错误
- VC6编译的程序发生ESP错误
- Eclipse启动时发生的错误二
- Android怎么用eclipse编译APK文件
- Eclipse 编译Android Apk常见问题总结
- android apk应用系统集成编译错误问题
- android apk 回编译错误记录
- android apk的编译过程
- eclipse编译apk的时候遇到问题
- cocos2d-x 编译android 发生undefined reference to `XX'错误
- Android倒入eclipse项目时发生 /65279错误
- Android项目eclipse导入发生的问题
- Android修改ActionBar背景颜色和标题颜色的style
- Jetty和tomcat的比较
- eclipse debug 多线程
- 北大POJ题目---青蛙的约会
- 关于将数组长度传入函数的一些探讨
- eclipse编译android的apk发生VFY错误
- 于建嵘:给中国国家领导人的…
- 解决编译出现的问题:configure: error: APR not found . Please read the documentation
- 辞世16年王小波仍是敏感作家
- 堆排序的实现
- 实现库函数next_permutation()
- 改进的归并排序算法
- 楼天城之做男人就过八道题(第一题…
- poj-2479求最大子序列和(双子序列…