Posts

Showing posts from November, 2023

Problems To Upgrade Android Gradle Plugin from 4.1.3 to 8.1.2 and solutions

Upgrade Android Gradle Plugin from 4.1.3  to 8.1.2  Key Challenges Installing App in my Device through USB Generate Build APK Generate Signed Bundle I faced myriads of problems while upgrading from 4.1.3  to 8.1.2. (This is my personal diary. But if anyone else finds it helpful, that will be my two cents) PROBLEMS FACED AND WAYS TO RESOLVE:  Problem: Updates available To take advantage of the latest features, improvements and fixes, we recommend that you upgrade this project's Android Gradle Plugin from 4.1.3 to 4.2.2.  Solution: In build.gradle - Project Level Set classpath "com.android.tools.build:gradle:4.2.2"  Problem: To take advantage of the latest features, improvements and fixes, we recommend that you upgrade this project's Android Gradle Plugin from 4.2.2 to 7.4.2. IIn build.gradle - Project Level Solution: classpath "com.android.tools.build:gradle:7.4.2"  Problem: Minimum supported Gradle version is 7.5. Current version is 7.2. Please fix the