android - 小米 K20 Pro 上的 INSTALL_FAILED_MISSING_SHARED_LIBRARY
问题描述
我正在使用 Android Studio 4.1。我使用电话号码创建了一个基本的身份验证应用程序。我尝试使用 USB 调试在我的 Android 设备上运行它。应用程序未安装。
01/03 15:05:57: Launching 'app' on Xiaomi Redmi K20 Pro.
Installation did not succeed.
The application could not be installed: INSTALL_FAILED_MISSING_SHARED_LIBRARY
List of apks:
[0] 'D:\WorkSpace\SmartSquad\pBunk\app\build\outputs\apk\debug\app-debug.apk'
Installation failed due to: 'null'
这个问题有什么解决办法吗?
以下是AndroidManifest.xml
<?xml version="1.0" encoding="utf-8"?>
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
package="com.first.pBunk">
<uses-permission android:name="android.permission.WAKE_LOCK" />
<uses-feature android:name="android.hardware.type.watch" />
<uses-permission android:name="android.permission.INTERNET" />
<application
android:allowBackup="true"
android:icon="@mipmap/ic_launcher"
android:label="@string/app_name"
android:roundIcon="@mipmap/ic_launcher_round"
android:supportsRtl="true"
android:theme="@style/Theme.PBunk">
<uses-library
android:name="com.google.android.wearable"
android:required="true" />
<!--
Set to true if your app is Standalone, that is, it does not require the handheld
app to run.
-->
<meta-data
android:name="com.google.android.wearable.standalone"
android:value="true" />
<activity
android:name=".SignedIn"
android:label="@string/title_activity_signed_in">
<intent-filter>
<action android:name="android.intent.action.MAIN" />
<category android:name="android.intent.category.LAUNCHER" />
</intent-filter>
</activity>
<activity android:name=".MainActivity">
<intent-filter>
<action android:name="android.intent.action.MAIN" />
<category android:name="android.intent.category.LAUNCHER" />
</intent-filter>
</activity>
</application>
</manifest>
解决方案
推荐阅读
- swift - 在聊天应用程序中集成核心数据时面临的问题
- logging - 将 Python 日志收集到 ECS 中的 DataDog
- hyperledger-fabric - Hyperledger Fabric Composer - 限制系统管理员的访问权限
- powershell - PS脚本获取没有文件的文件夹
- vba - 是否可以获取用户窗体中的帧数和帧中的选项按钮数?
- python - 在 conda 环境中访问 Matlab 运行时
- vba - VBA组合代码循环功能
- android - java.lang.NoClassDefFoundError firebase Firestore android
- c# - 显示数组中的每个值
- laravel - 如何选择合适的控制器来处理 MVC 中的请求?