How to import sample project to android studio -



How to import sample project to android studio -

when seek import sample project in android studio below url of developers.android .com

http://developer.android.com/samples/repeatingalarm/index.html

and getting below error in android studio

what made error import that.

please give me suggestions import project.

thanks reply.

just click on hyperlink , android studio prepare it. can see screenshot using android gradle plugin 0.9.2, require newer maybe 0.11.+ using android studio 0.6.1

edit bellow build.gradle file should have in repeatingalarmsample folder in order application work. android sdk should up-to-date build tools 19.1 , mention in comments utilize gradle 1.10, 1.11 or 1.12

buildscript { repositories { mavencentral() } dependencies { classpath 'com.android.tools.build:gradle:0.11.+' } } apply plugin: 'android' android { compilesdkversion 19 buildtoolsversion "19.1.0" } dependencies { compile "com.android.support:support-v4:19.1.+" }

android android-studio android-gradle

Comments

Popular posts from this blog

php - Android app custom user registration and login with cookie using facebook sdk -

django - Access session in user model .save() -

php - .htaccess Multiple Rewrite Rules / Prioritizing -