Open jd-bus opened 2 months ago
After extensive configuration, I have successfully resolved the issue. Here are the steps taken:
1- Open the Android module in Android Studio. 2- Run the flutter clean command at the root level of your Flutter project. 3- Sync the Android project in Android Studio. 4- Modification in your project files: in-app level build.gradle
update compileSdk to 35
set targetSdkVersion to 35
set minSdkVersion to 26
set JavaVersion to 17 example: sourceCompatibility JavaVersion.VERSION_17 targetCompatibility JavaVersion.VERSION_17
You can do these modifications directly in you app level build.gradle file and in flutter.groovy file as well.
5- Go to setting.gradle set following versions for gradle and kotlin
6- Got to gradle-wrapper.properties and update distributionUrl with distributionUrl=https\://services.gradle.org/distributions/gradle-8.7-bin.zip
7- In module level build.gradle of twilio_voice
update compileSdk to 35 and add namespace = "com.twilio.twilio_voice"
update JavaVersion to 17 Example: compileOptions { sourceCompatibility JavaVersion.VERSION_17 targetCompatibility JavaVersion.VERSION_17 }
kotlinOptions { jvmTarget = '17' }
update minSdkVersion to 26
Update kotlin version to example kotlin_version = '1.9.23'
update build tools to classpath 'com.android.tools.build:gradle:8.5.1'
8- Sync the project again. 9- Clean the project once more and run the build. Happy debugging! If you have any questions, feel free to ask.
Summary:
Issue Summary
Steps to Reproduce