简体   繁体   English

缺少共享库-Android

[英]Missing shared library - android

I try test my app on device (Ainol Crystal) with Android 4.1.1. 我尝试在具有Android 4.1.1的设备(Ainol Crystal)上测试我的应用。 In emulator everything works ok but on device I get: 在模拟器中一切正常,但在设备上我得到:

12-14 12:22:13.437: E/PackageManager(3372): Package com.capgemini.navi4uni requires unavailable shared library com.google.android.maps; failing!

Native Google Maps app is installed and it works. 本机Google Maps应用已安装并且可以运行。 There are also files: 也有文件:

/system/framework/com.google.android.maps.jar
/system/framework/com.google.android.maps.xml
/system/etc/permissions/com.google.android.maps.xml

App uses api version 1 (depricated). 应用使用api版本1(已停用)。 What can be wrong? 有什么事吗

The maps library might not be present in the device you are using. 您正在使用的设备中可能没有地图库。 Try to export the library along with the apk. 尝试将库与apk一起导出。 In eclipse you can do this by RightclickOnProject->Build Path->Configure BuildPath->Order and Export->.. now check the google maps library.. 在Eclipse中,您可以通过RightclickOnProject-> Build Path-> Configure BuildPath-> Order and Export-> ..来执行此操作。现在检查google maps库。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM