问题描述
我通常是编程新手,需要帮助!我的应用程序每次更新后都成功安装,直到我决定将com.github.PhilJay:MPAndroidChart:v3.1.0-alpha库添加到应用程序中,因为我需要用户能够以统计图表的形式查看一些数据
I am new to programming generally please I need some help!My app was installing successfully after every update until i decided to add the 'com.github.PhilJay:MPAndroidChart:v3.1.0-alpha' library to the app because i need the user to be able to view some data in form of statistical charts.
该库已成功同步,并且已成功使用其中的包和类.但是,当我尝试在我的android设备上安装该应用程序时,它返回了此错误:
The library was synced successfully and have used packages and classes therein successful. But when i try to install the app in my android device it returned this error:
Installation failed with message Failed to commit install session 590492354 with command cmd package
install-commit 590492354. Error: INSTALL_FAILED_MISSING_SHARED_LIBRARY: Package couldn't be installed in
/data/app/com.cenitscitech.www.etimebook-jOP-jv2YuNu7_8qnkfqp-A==: Package com.cenitscitech.www.etimebook requires unavailable shared library com.google.android.things; failing!.
可以通过以下方式解决此问题:卸载apk的现有版本(如果存在),然后重新安装."我在此处粘贴了屏幕截图:
It is possible that this issue is resolved by uninstalling an existing version of the apk if it is present, and then re-installing." I have pasted a screenshot here:
我卸载了现有版本的apk,清除了一些内存空间,但继续收到相同的消息!接下来我该怎么办?
I uninstalled the existing version of the apk, cleared some memory space but keep on getting the same message! What should I do next please?
推荐答案
在com.github.PhilJay:MPAndroidChart:v3.1.0-alpha
存储库,并且在源代码中未找到对com.google.android.things
的任何引用.
Had a look in the com.github.PhilJay:MPAndroidChart:v3.1.0-alpha
repository and did not find any reference to com.google.android.things
inside the source code.
如果您在应用程序的AndroidManifest.xml
中找到了以下条目,则需要将其删除,以使它再次在设备上运行:
You need to remove the below entry in case it's found in the AndroidManifest.xml
of your app for it to work on your device again:
<uses-library android:name="com.google.android.things" />
这篇关于应用程式拒绝安装-INSTALL_FAILED_MISSING_SHARED_LIBRARY的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!