twilio / voice-quickstart-android

Quickstart app for the Voice Android SDK
https://www.twilio.com/docs/api/voice-sdk/android/getting-started
MIT License
184 stars 140 forks source link

Unable to build and run the project #594

Closed SyedHassan0514 closed 4 months ago

SyedHassan0514 commented 4 months ago

The project is using an incompatible version (AGP 8.3.1) of the Android Gradle plugin. Latest supported version is AGP 8.1.0.

When changed the AGP to 8.1 it gives the below error.

Minimum supported Gradle version is 8.4. Current version is 8.1.

Screen Shot 2024-04-15 at 4 06 17 PM Screen Shot 2024-04-15 at 4 06 46 PM
SyedHassan0514 commented 4 months ago

Build error.

afalls-twilio commented 4 months ago

@SyedHassan0514 our QuickStart project uses AGP 8.3.1 so I am not surprised that downgrading ran into these issues. I would recommend upgrading your project to support AGP 8.3.1 with Gradle 8.4, which according to Google is the latest version.

If you absolutely need to use the older version of gradle and cannot upgrade, you should check out an older version of our qucikstart such as the git hash 6fb3036fe0f2fd783a79a233c435c7f9f78ef7ba which is before we upgraded AGP and gradle.