https://kotlinlang.org logo
#multiplatform
Title
# multiplatform
h

Hailong

09/28/2020, 3:07 AM
Hi,guys Can I use KMP(kotlin 1.4.10) with AGP 3.1.2 in the Android project?
l

louiscad

09/28/2020, 7:50 AM
Why do you want to use such an old AGP version?
h

Hailong

09/28/2020, 12:17 PM
The current project has been iterated for 5 years. AGP has not been upgraded much. The project is relatively large, and all components in the company are basically based on AGP 3.1. It is difficult to upgrade AGP to the new version.
l

louiscad

09/28/2020, 12:21 PM
I don't think it's safe to use recent libraries with such an old AGP as some might rely on bug fixes and improvements there (such as having R8 rules bundled).
h

Hailong

09/29/2020, 2:56 AM
Yes, I tried it recently, there are many compatibility issues, no way, I can only reduce the kotlin version to 1.3.72
2 Views