在android oreo及更高版本上安装应用程序时出现此问题。
无法使用命令cmd软件包install-commit 806641582提交安装会话806641582。错误:INSTALL_FAILED_NO_MATCHING_ABIS:无法提取本机库,res = -113
安装失败。重新安装失败
应用在android牛轧糖及以下版本上的安装良好。
我在其中使用Google服务API,地图和位置API,降级该API并不会影响我收到更多错误类型。我实施了Google客户程序,以使用户打开位置服务,并使用融合的位置提供程序客户端来获取用户的当前位置。
将“ Gradle File”输入如下:
implementation 'com.android.support:recyclerview-v7:28.0.0'
implementation 'com.android.support:cardview-v7:28.0.0'
implementation 'com.squareup.picasso:picasso:2.71828'
implementation 'com.google.android.gms:play-services-maps:16.1.0'
implementation 'com.crashlytics.sdk.android:crashlytics:2.9.9'
implementation 'com.google.firebase:firebase-messaging:17.3.4'
implementation 'com.google.firebase:firebase-core:16.0.7'
// ViewModel and LiveData
implementation "android.arch.lifecycle:extensions:1.1.1"
annotationProcessor "android.arch.lifecycle:compiler:1.1.1"
implementation 'com.google.android.gms:play-services-base:16.1.0'
implementation 'com.google.android.gms:play-services-location:15.0.0'
implementation 'org.jetbrains:annotations-java5:15.0'