Error:(41, 0) Supplied String Module Notation '0.12.2' Is Invalid
I am importing Eclipse project into Android studio and while importing the project getting following error: Error:(41, 0) Supplied String module notation '0.12.2' is invalid. Examp
Solution 1:
Your script seems to be very old.
You should change the line classpath '0.12.2'
with:
classpath 'com.android.tools.build:gradle:0.12.2'
I am expecting that this script should have some other issues.
- Update your Android Studio to the latest stable release (2.1)
- use
apply plugin: 'com.android.application'
- use
classpath 'com.android.tools.build:gradle:2.1.0'
- update the gradle version (
gradle/wrapper/gradle-wrapper.properties
) withdistributionUrl = https\://services.gradle.org/distributions/gradle-2.10-all.zip
Post a Comment for "Error:(41, 0) Supplied String Module Notation '0.12.2' Is Invalid"