码迷,mamicode.com
首页 > 其他好文 > 详细

multidex Unable to get provider com.vivo.upgrade.library.provider.FileProvider

时间:2020-11-17 12:14:45      阅读:5      评论:0      收藏:0      [点我收藏+]

标签:tco   upgrade   dex   tree   hbase   download   and   protect   text   

背景

集成一个斑马无线条码打印机,报了一堆错误

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

标签:tco   upgrade   dex   tree   hbase   download   and   protect   text   

原文地址:https://www.cnblogs.com/jiduoduo/p/13957574.html

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!