on 03-03-2015 10:42 AM
Hi,
when opening Mobile Commerce SDK in Android Studio, I get the following error message:
"The project is using an unsupported version of the Android Gradle plug-in (0.7.3). The recommended version is 1.1.0. "
Is this known defect? Is there any workaround?
Mobile Commerce SDK Android release 5 Android Studio 1.1.0
Hi Jouni,
This is a standard Android thing that stumped me two weekends ago.
What I did to solve this was;
Download Android Studio 1.0 from the Google Developers page. The 1.0 release has support for importing Ee projects.
Go the the build.gradle file and set the buildscript -> dependencies -> classpath to "com.android.tools.build:gradle:1.1.0".
buildscript {
repositories {
mavenCentral()
}
dependencies {
classpath 'com.android.tools.build:gradle:1.1.0'
}
}
So I guess you just need to change the build.gradle file.
Here's the full build.gradle file from one of my Ee -> Android Studio projects.
I hope this solves your issue,
Luke
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
8 | |
1 | |
1 | |
1 | |
1 | |
1 | |
1 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.