Targeting SDK Android Q results in Failed to finalize session : INSTALL_FAILED_INVALID_APK: Failed to extract native libraries, res=-2

后端 未结 3 1795
有刺的猬
有刺的猬 2020-12-15 06:24

Once I switch my target api to \'Q\' I cannot install the APK on Android Q Emulator. I get error:

Failed to finalize session : INSTALL_FAILED_INVALID

3条回答
  •  南笙
    南笙 (楼主)
    2020-12-15 06:57

    I also got this error in AWS Device Farm. Turns out they have sdk version 21 installed and my minSdkVersion was set to 24. Lowering my minSdkVersion to 21 resolved this. This error was getting returned on trying to install apk on the test device. Hope this helps for anyone else setting up device farm on android.

提交回复
热议问题