我决定在我的三星galaxy s4 i9500 Android 5.0.1股票上买一些AOSP应用程序。
当我尝试安装Dialer.apk时,我得到以下内容:
xx@ixx:~/Android/Sdk/platform-tools$ ./adb install ~/Dialer.apk
3739 KB/s (4715532 bytes in 1.231s)
pkg: /data/local/tmp/Dialer.apk
Failure [INSTALL_FAILED_MISSING_SHARED_LIBRARY]
**I get the following in log cat while installing the app+:**
W/PackageManager( 3175): Package couldn't be installed in /data/app/com.android.dialer-1
W/PackageManager( 3175): com.android.server.pm.PackageManagerException: Package com.android.dialer requires unavailable shared library com.qualcomm.qti.smartsearch; failing!
W/PackageManager( 3175): at com.android.server.pm.PackageManagerService.updateSharedLibrariesLPw(PackageManagerService.java:6522)
W/PackageManager( 3175): at com.android.server.pm.PackageManagerService.scanPackageDirtyLI(PackageManagerService.java:6944)
W/PackageManager( 3175): at com.android.server.pm.PackageManagerService.scanPackageLI(PackageManagerService.java:6697)
W/PackageManager( 3175): at com.android.server.pm.PackageManagerService.installNewPackageLI(PackageManagerService.java:12883)
W/PackageManager( 3175): at com.android.server.pm.PackageManagerService.installPackageLI(PackageManagerService.java:13695)
W/PackageManager( 3175): at com.android.server.pm.PackageManagerService.access$2500(PackageManagerService.java:323)
W/PackageManager( 3175): at com.android.server.pm.PackageManagerService$8.run(PackageManagerService.java:11005)
W/PackageManager( 3175): at android.os.Handler.handleCallback(Handler.java:739)
W/PackageManager( 3175): at android.os.Handler.dispatchMessage(Handler.java:95)
W/PackageManager( 3175): at android.os.Looper.loop(Looper.java:145)
W/PackageManager( 3175): at android.os.HandlerThread.run(HandlerThread.java:61)
W/PackageManager( 3175): at com.android.server.ServiceThread.run(ServiceThread.java:46)
D/PackageManager( 3175): doPostInstall for uid{-1}
我试图在包中找到com.qualcomm.qti.smartsearch库,但我没有这样的库。你能看一看吗?
答案 0 :(得分:0)
您将无法以这种方式安装应用程序。 您应该将其复制到/ system / priv-app / Dialer /(如有必要,创建目录)并设置适当的访问权限。