intellij idea - importing project from intelij 12 to android studio beta -
my project worked fine in intelij , wanted try in android studio beta, when importing android studio says
error:the project using unsupported version of gradle. please use version 1.10. please point supported gradle version in project's gradle settings or in project's gradle wrapper (if applicable.) <a href="fixgradleelements">fix gradle wrapper , re-import project</a><br><a href="opengradlesettings">gradle settings</a>
this build.gradle file:
buildscript { repositories { mavencentral() } dependencies { classpath 'com.android.tools.build:gradle:0.12+' } } apply plugin: 'android' dependencies { compile files('libs/android-support-v4.jar') //compile files('libs/googleadmobads.jar') compile files('libs/libgoogleanalyticsv2') compile files('libs/google-play-services.jar') compile files 'com.android.support:appcompat-v7:+' } android { compilesdkversion 17 buildtoolsversion "17.0.0" defaultconfig { minsdkversion 7 targetsdkversion 16 } }
previously in intelij had been using com.android.tools.build:gradle:.5+
, guess no longer supported. i'm wondering correct setting need? changing .12+ suggested causes "unable find references android gradle plugin" when press suggested quick fix. suggestions?
have updated android studio version? happened me fixed after update. have rebuild project , ensure you've set new target gradle build.
Comments
Post a Comment