Not able to update respoke sdk to 1.1.1 - android

When I am trying to update by respoke sdk using gradle " compile 'com.digium.respoke:respoke-sdk:1.1.1'".
I am getting this Error:
Failed to resolve: respoke-sdk-android:AndroidAsync:unspecified
Please help me out.

There was a problem with the way that the Respoke SDK was packaged for Maven in version 1.1.1. This problem has now been resolved with version 1.1.2 of the SDK, which you can use by specifying the following in your Gradle dependencies:
compile 'com.digium.respoke:respoke-sdk:1.1.2'

Related

Adding Gradle Dependency Breaks Gradle Build

I added the stripe sdk to my kotlin app and can no longer build my application.
Addition to grade file:
implementation 'com.stripe:stripe-android:16.8.2'
Build error:
/Users/username/.gradle/caches/transforms-2/files-2.1/6fabb8e15860d0b2ea75a56e95ee9aa5/jetified-kotlin-stdlib-common-1.5.0.jar!/META-INF/kotlin-stdlib-common.kotlin_module: Module was compiled with an incompatible version of Kotlin. The binary version of its metadata is 1.5.1, expected version is 1.1.16.
Removing the stripe dependency fixes the issue. I also tried deleting the cache folder referenced in the error message and it was just recreated and the issue persisted.
The problem seems to be a mismatch between the kotlin library used in your project and the version of the plugin that is not compatible.
Upgrade your Gradle version by going to File>Project Structure.
Ps:(also try downgrading your kotlin version to one of the 1.4.x versions)
Another developer ran into this same issue and solved it by upgrading Gradle
I updated my gradle like this
// id 'org.jetbrains.kotlin.android.extensions' deprecated
id 'kotlin-parcelize'
and in project gradle add this
classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:1.4.32"
so now it works.

Unsupported method: AndroidArtifact.getBuildConfigFields()

I have just updated to Android Studio 4.0 and trying to build my project. I keep on getting the below error
Unsupported method: AndroidArtifact.getBuildConfigFields().
The version of Gradle you connect to does not support that method.
To resolve the problem you can change/upgrade the target version of Gradle you connect to.
Alternatively, you can ignore this exception and read other information from the model.
I am already using the latest version of Gradle and Gradle Plugin
Gradle version:
distributionUrl=https\://services.gradle.org/distributions/gradle-6.5-milestone-1-all.zip
Gradle plugin tools version:
classpath 'com.android.tools.build:gradle:4.1.0-alpha10'
Any solution or fix for this problem would be helpful. Thanks in advance.
Use Android studio 4.1 preview
or
classpath 'com.android.tools.build:gradle:4.0.0'
This is usually due to a mismatch between your Android Studio versions and the Android Gradle plugin.
You can find the version of Android Studio on the project selection window when you first open it (or in "Android Studio > About Android Studio" on Mac, and similar location on other platforms). For example, you might be using Android Studio 4.0.1.
You can find the Android Gradle plugin version for your project in the top-level build.gradle file.
You should find something like the following:
buildscript {
[...]
dependencies {
classpath 'com.android.tools.build:gradle:4.0.1'
[...]
}
[...]
}
You need to make sure that the two version numbers match (in this case they do).

Can't compile android maps untils anymore

A very uncommon problem occured to me. Everything was perfectly working and all of the sudden I couldn't compile 'com.google.maps.android:android-maps-utils:0.5.+' anymore.
I couldn't find a way to fix it, so I updated Android Studio to version 3.0.1, created a new project and tried to compile just this dependency. My other dependencies cause no problems but this one is giving the error message:
Unable to resolve dependency for ':app#debug/compileClasspath': Could not find any version that matches com.google.maps.android:android-maps-utils:0.5.+.
Could not find any version that matches com.google.maps.android:android-maps-utils:0.5.+.
Versions that do not match:
0.5
0.4.4
0.4.3
0.4.2
0.4.1
+ 9 more
Required by:
project :app*
Does anybody has an idea on how to fix this?
There is no version matching the 0.5.+ pattern for maputils. Use implementation 'com.google.maps.android:android-maps-utils:0.5' instead.

Android Studio 2.2 Gradle update fails

New Android Studio ask me about Gradle plugin update
But it fails, when I press Update button.
Failed to update the version of Android Gradle Plugin
How to fix this?
Looks like it's an inner bug of Android Studio
I just change manually
compile 'com.android.tools.build:gradle:2.1.3'
in root build.gradle to
compile 'com.android.tools.build:gradle:2.2.0'
And all started working.
Download gradle this link manually and copy gradle folder
https://services.gradle.org/distributions/gradle-2.14.1-all.zip
Last version :
https://services.gradle.org/distributions/gradle-3.1-all.zip

Failed to sync Gradle project - Android Studio 2.2

I've recently updated to Android Studio 2.2 and changed Gradle plugin version to 2.2.0 com.android.tools.build:gradle:2.2.0.
Now I'm getting the following error when trying to sync Gradle files:
Gradle sync failed: Unable to load class
'com.android.builder.profile.Recorder$Property'.
If I change Gradle plugin version to 2.1.3, the problem disappears. How I can use the latest version 2.2.0?
P.S. I'm also using gradle-experimental for NDK support - com.android.tools.build:gradle-experimental:0.7.3
I solved the problem by updating gradle-experimental to version 0.8.0 :)
classpath 'com.android.tools.build:gradle:2.2.0'
classpath "com.android.tools.build:gradle-experimental:0.8.0"
hope this will fix it for you too and will not generate new errors!

Categories

Resources