The library `xxx.jar` contains native libraries that will not run on the device.
2015-04-18 21:47
537 查看
报错信息:
The library `SocialSDK_QQZone_2.jar` contains native libraries that will not run on the
device.
![](https://oscdn.geek-share.com/Uploads/Images/Content/201911/13/9e68bfb532e7a7a4489e7151181c3027.jpg)
解决方案:
此问题和Eclipse环境有关,按照如下步骤操作即可
![](https://oscdn.geek-share.com/Uploads/Images/Content/201911/13/451e7deb6030619de692e5e604419b05.jpg)
Eclipse->windows->Perferences (不一定这个,自己对着图找),
取消 Force error when external jars contain native libraries.
取消 Skip packaging and dexing until export and lunch. (Speece **)
然后却又报不能安装应用的错误
注意了,遇到这个问题,删除构建路径的gen
然后在删除gen文件夹,然后清理,问题解决。
The library `SocialSDK_QQZone_2.jar` contains native libraries that will not run on the
device.
![](https://oscdn.geek-share.com/Uploads/Images/Content/201911/13/9e68bfb532e7a7a4489e7151181c3027.jpg)
解决方案:
此问题和Eclipse环境有关,按照如下步骤操作即可
![](https://oscdn.geek-share.com/Uploads/Images/Content/201911/13/451e7deb6030619de692e5e604419b05.jpg)
Eclipse->windows->Perferences (不一定这个,自己对着图找),
取消 Force error when external jars contain native libraries.
取消 Skip packaging and dexing until export and lunch. (Speece **)
然后却又报不能安装应用的错误
注意了,遇到这个问题,删除构建路径的gen
然后在删除gen文件夹,然后清理,问题解决。
相关文章推荐
- 安卓开发 Eclipse关于 The Library 'xxx.jar' contains native libraries that will not run on the device.....
- The library '*.jar' contains native libraries that will not run on the device
- The library 'xx.jar' contains native libraries that will not run on the device解决办法
- the library 'jna.jar'contains native libraries that will not run on the device
- 安卓The library '*.jar' contains native libraries that will not run on the device.
- Androi开发运行项目报异常:The library '*.jar' contains native libraries that will not run on the device
- The library 'sqlite-native-driver.jar' contains native libraries that will not run on the device.
- “The library 'aaa.jar' contains native libraries that will not run on the device.”问题解决
- Eclipse build error 解决方法The library '*.jar' contains native libraries that will not run on the dev
- Eclipse build error 解决方法The library '*.jar' contains native libraries that will not run on the dev
- 友盟分享到QQ空间 JAR问题The library 'SocialSDK_QQZone_2.jar' contains native libraries that will not run on t
- The type XXX is not API (restriction on required library 'D:\jdk-64\jre\lib\rt.jar')
- tomcat启动错误:Native library was not found on the java.library.path
- Access restriction: The type HttpServlet is not accessible due to restriction on required library xxxx\servlet-api.jar
- The type handler is not accessible due to restriction on required library rt.jar
- Access restriction: The type XXX is not accessible due to restriction on required library XXX(转载)
- iPhone SDK 3/4 App will not run on a iPhone 2.x device even with deployment target set to 2.0!
- The APR based Apache Tomcat Native library which allows optimal performance in production environments was not found on the java.library.path:
- Access restriction: The type 'Application' is not API (restriction on required library rt.jar)
- 解决 The Apache Tomcat Native library which allows optimal performance in production environments was not found on the java.library.path