multidex Unable to get provider com.vivo.upgrade.library.provider.FileProvider
Posted jiduoduo
tags:
篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了multidex Unable to get provider com.vivo.upgrade.library.provider.FileProvider相关的知识,希望对你有一定的参考价值。
背景:
集成一个斑马无线条码打印机,报了一堆错误
classes in a single dex file methods 67667 大于 65536
后来
Unable to get provider com.open.hule.library.downloadmanager.DownloadFileProvider
解决:
defaultConfig {
applicationId "com.czszsoft.wms"
minSdkVersion 19
targetSdkVersion 29
versionCode 1
versionName "1.1.0"
testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner"
multiDexEnabled true
}
dependencies {
implementation fileTree(dir: "libs", include: ["*.jar"])
implementation ‘com.android.support:multidex:1.0.3‘
}
public class AppContext extends MultiDexApplication {
@Override
protected void attachBaseContext(Context base) {
super.attachBaseContext(base);
MultiDex.install(this);
}
}
以上是关于multidex Unable to get provider com.vivo.upgrade.library.provider.FileProvider的主要内容,如果未能解决你的问题,请参考以下文章
git clone报错:fatal: unable to access ‘‘: SSL certificate problem: unable to get local issuer cer
git clone报错:fatal: unable to access ‘‘: SSL certificate problem: unable to get local issuer cer
java.lang.RuntimeException: Unable to get provider
BEA-141281 unable to get file lock
20: unable to get local issuer certificate
ubuntu16.04 apt-get 报错:E: Unable to locate package update(E: Unable to locate package upgrade)(没解决)(