问题
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..
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>
回答1:
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.
Your choices are:
Remove this library, if you are not actually using it
Only test your app on devices that have this library
Add
android:required="false"
to the<uses-library>
element and detect at runtime if you have access to the library, probably by callingClass.forName()
on some Java class that should be in the library
来源:https://stackoverflow.com/questions/27526564/install-failed-missing-shared-library-without-google-api