当前位置:   article > 正文

2020-10-6_eqh5t18418001111 install performing streamed insta

eqh5t18418001111 install performing streamed install

在程序运行过程中总有类似的错误,故先使用命令 adb -s emulator-5554 install app 直接在模拟器中安装应用程序。

Performing Streamed Install
adb: failed to install ndss16/plghost/APP/China_Daily.apk: Failure [INSTALL_FAILED_NO_MATCHING_ABIS: Failed to extract native libraries, res=-113]
  • 1
  • 2

原因分析
由于安装的APP中使用了与当前CPU架构不一致的native libraries,所以导致报错,因为现在绝大多数的智能手机还都是采用ARM架构的,虽然android是支持ARM和x86架构,但是它们的指令集是有差别的,APP在开发的时候使用的是ARM的本地库,而我们在用AVD创建模拟器的时候使用的是x86的CPU,因此导致报错。所以,如果APP是在x86架构下编译的我们就创建x86cpu的模拟器,如果APP是在ARM架构编译的我们就创建ARMcpu的模拟器。

Android 7.1.1(API 25)5566

只有Jio TV和BBC news可以安装成功


设备CPU是否可以启动错误
Android 7.1.1(API 25)——y25_arm 5570google_apis/armeabi-v7aInvalid CPU architecture
Android 7.1.1(API 25)——y25_arm 5572android-wear/armeabi-v7aInvalid CPU architecture
Android 7.1.1(API 25)——y25_google 5574google_apis_playstore/x86device unauthorized

错误信息:Invalid CPU architecture

Creating filesystem with parameters:
    Size: 69206016
    Block size: 4096
    Blocks per group: 32768
    Inodes per group: 4224
    Inode size: 256
    Journal blocks: 1024
    Label: 
    Blocks: 16896
    Block groups: 1
    Reserved block group size: 7
Created filesystem with 11/4224 inodes and 1302/16896 blocks
-- Invalid CPU architecture: arm, valid values: x86 x86_64
  • 1
  • 2
  • 3
  • 4
  • 5
  • 6
  • 7
  • 8
  • 9
  • 10
  • 11
  • 12
  • 13

错误信息:device unauthorized

Performing Push Install
adb: error: failed to get feature set: device unauthorized.
This adb server's $ADB_VENDOR_KEYS is not set
Try 'adb kill-server' if that seems wrong.
Otherwise check for a confirmation dialog on your device.
  • 1
  • 2
  • 3
  • 4
  • 5
声明:本文内容由网友自发贡献,不代表【wpsshop博客】立场,版权归原作者所有,本站不承担相应法律责任。如您发现有侵权的内容,请联系我们。转载请注明出处:https://www.wpsshop.cn/w/小丑西瓜9/article/detail/463101
推荐阅读
相关标签
  

闽ICP备14008679号