Home > Mobile >  For help, from gradle 3.0.1 problems upgrading to 4.1.2
For help, from gradle 3.0.1 problems upgrading to 4.1.2

Time:02-07

Using android. Content. PM. IPackageInstallObser implement silent installation, because there is no this package after android1.5, my way is to replace the SDK android19 under android. The jar package files, targetSdkVersion version is 19, gradle plugin version is 3.0.1 before, now I upgrade to 4.1.2, the results as there is no error, and can point in, but a compiler error can not find IPackageInstallObser, could you tell me how can I solve?

CodePudding user response:

Using IPackageInstallObser is a single module, compileSdkVersion is 19, the main module compiler version is 28, I guess after upgrade gradle unified 28 compiled? But how to solve?

CodePudding user response:

Put the module separately compiled into aar package, now run is to be able to run but don't feel convenient, one thousand is going to change a code
  • Related