我使用的是,我实现了用于视频压缩的,实际上这是for Studio的,但是我转换了给定的库,但是ffmpeg需要- 23,所以我从sdk管理器中添加了API-23,在添加API 23之后,我得到了“转换为Dalvik格式失败:无法执行dex: method ID not in 0,0xffff: 65536”错误。对于这个问题,我以前问了4-5个问题,但没有找到满意的答案。所以任何帮助都会很感激。
发布于 2016-09-12 13:03:17
发生此错误是因为65K方法的限制超过了。
您需要检查在项目中添加了多少库或.jar文件。
这个错误主要是因为你的google-play-services libs项目。如果您使用的是“google services”lib项目,那么尝试以下解决方案
1] go in the google-play-service-lib project
2] go in libs
3] unzip the file google-play-services.jar
4] go in the the unzipped folder and remove all folders that you don't need (i.e. if you need Analytics, you can remove ads, games, maps, wallet, drive, etc.)
5]zip again such a folder (that now contains only the needed libraries) together with the MANIFEST folder
6]use such new jar with your project.https://stackoverflow.com/questions/39405170
复制相似问题