Я получил это сообщение об ошибке при попытке собрать и запустить на моем устройстве Android с помощью Unity5. Это связано с проблемой Google API? Все библиотеки, необходимые для этого проекта.
Installation failed with the following output:
pkg: /data/local/tmp/Package.apk
Failure [INSTALL_FAILED_MISSING_SHARED_LIBRARY]
5801 KB/s (19486779 bytes in 3.280s)
UnityEditor.HostView:OnGUI()
Я не знаю, все ли в порядке с моим AndroidManifes.xml, пока никаких проблем.
<?xml version="1.0" encoding="utf-8"?>
<manifest xmlns:android="http://schemas.android.com/apk/res/android" android:largeHeap="true" android:theme="@android:style/Theme.NoTitleBar" android:versionCode="13" android:versionName="1.13" package="com.projecttango.experiments.augmentedreality" android:installLocation="preferExternal">
<supports-screens android:anyDensity="true" android:largeScreens="true" android:normalScreens="true" android:smallScreens="true" android:xlargeScreens="true" />
<uses-feature android:name="android.hardware.camera.autofocus" android:required="false" />
<uses-permission android:name="android.permission.CAMERA" />
<uses-permission android:name="android.permission.INTERNET" />
<uses-permission android:name="android.permission.WRITE_EXTERNAL_STORAGE" />
<uses-permission android:name="android.permission.READ_EXTERNAL_STORAGE" />
<application android:icon="@drawable/app_icon" android:label="@string/app_name" android:debuggable="false" android:isGame="true" android:banner="@drawable/app_banner">
<activity android:name="com.projecttango.permissionrequester.RequestManagerActivity" android:theme="@android:style/Theme.Translucent.NoTitleBar">
</activity>
<activity android:label="@string/app_name" android:name="com.google.unity.GoogleUnityActivity" android:screenOrientation="landscape" android:launchMode="singleTask" android:configChanges="mcc|mnc|locale|touchscreen|keyboard|keyboardHidden|navigation|orientation|screenLayout|uiMode|screenSize|smallestScreenSize|fontScale">
<meta-data android:name="unityplayer.ForwardNativeEventsToDalvik" android:value="false" />
<meta-data android:name="unityplayer.UnityActivity" android:value="true" />
<intent-filter>
<action android:name="android.intent.action.MAIN" />
<category android:name="android.intent.category.LAUNCHER" />
<category android:name="android.intent.category.LEANBACK_LAUNCHER" />
</intent-filter>
</activity>
<uses-library android:name="com.projecttango.libtango_device" android:required="true" />
</application>
<uses-sdk android:minSdkVersion="19" android:targetSdkVersion="21" />
<uses-feature android:glEsVersion="0x00020000" />
<uses-feature android:name="android.hardware.touchscreen" android:required="false" />
<uses-feature android:name="android.hardware.touchscreen.multitouch" android:required="false" />
<uses-feature android:name="android.hardware.touchscreen.multitouch.distinct" android:required="false" />
</manifest>
Ссылка: https://github.com/googlesamples/tango-examples-unity