Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

INSTALL_FAILED_MISSING_SHARED_LIBRARY without google api

Tags:

android

sqlite

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>
like image 378
Tosfera Avatar asked Dec 25 '22 01:12

Tosfera


1 Answers

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:

  1. Remove this library, if you are not actually using it

  2. Only test your app on devices that have this library

  3. 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

like image 52
CommonsWare Avatar answered Jan 09 '23 04:01

CommonsWare