没有Google API的INSTALL_FAILED_MISSING_SHARED_LIBRARY [英] INSTALL_FAILED_MISSING_SHARED_LIBRARY without google api
问题描述
好的,我一直在浏览,但最终得到的只是Google的api.我在应用程序中没有使用Google提供的任何API.
Okay, I've been browsing but all I end up with is the api from google. I'm not using any api from google in my application..
我正在编写一个使用sqlite浏览器而不是其他参考的应用程序.任何的想法?我以前没有启动过该应用程序,因此现在是一个很大的尝试.
I'm writing an application that uses an the sqlite browser and not any other reference yet. Any idea? I haven't started the application before so it's a very big try out right now.
<?xml version="1.0" encoding="utf-8"?>
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
package="main.abvas"
android:versionCode="1"
android:versionName="1.0" >
<uses-sdk
android:minSdkVersion="14"
android:targetSdkVersion="21" />
<uses-permission android:name="com.symbol.emdk.permission.EMDK" />
<uses-permission android:name="android.permission.INTERNET" />
<uses-permission android:name="android.permission.ACCESS_NETWORK_STATE" />
<application
android:allowBackup="true"
android:icon="@drawable/ic_launcher"
android:label="@string/app_name"
android:theme="@style/AppTheme" >
<uses-library android:name="com.symbol.emdk" />
<activity
android:name=".MainActivity"
android:label="@string/app_name" >
<intent-filter>
<action android:name="android.intent.action.MAIN" />
<category android:name="android.intent.category.LAUNCHER" />
</intent-filter>
</activity>
<activity
android:name=".OrderDetailsActivity"
android:label="@string/title_activity_order_details" >
</activity>
</application>
</manifest>
推荐答案
您的项目正在请求固件库:
Your project is requesting a firmware library:
<uses-library android:name="com.symbol.emdk" />
您要在其上测试应用程序的设备或仿真器不包含该库.
The device or emulator you are testing your app on does not contain this library.
您的选择是:
-
如果您实际上并未使用它,请删除该库
Remove this library, if you are not actually using it
仅在具有此库的设备上测试您的应用
Only test your app on devices that have this library
将 android:required ="false"
添加到< uses-library>
元素,并在运行时检测是否有权访问该库通过在应该在库中的某些Java类上调用 Class.forName()
Add android:required="false"
to the <uses-library>
element and detect at runtime if you have access to the library, probably by calling Class.forName()
on some Java class that should be in the library
这篇关于没有Google API的INSTALL_FAILED_MISSING_SHARED_LIBRARY的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!