How to build and run support7Demos 

I clone the https://android.googlesource.com/platform/frameworks/support/ repo 
and try to run the support demos. 

/Users/gongzelong/Android/githubrepo/support 

[core] 
        repositoryformatversion = 0 
        filemode = true 
        bare = false 
        logallrefupdates = true 
        ignorecase = true 
        precomposeunicode = true 
[remote "origin"] 
        url = https://android.googlesource.com/platform/frameworks/support/ 
        fetch = +refs/heads/*:refs/remotes/origin/* 
[branch "master"] 
        remote = origin 
        merge = refs/heads/master 
".git/config" 13L, 331C 

I import the project: 
/Users/gongzelong/Android/githubrepo/support/samples/Support7Demos 

When I build the project, it fails with the following log. 

Error:Could not find com.android.tools.build:gradle:3.0.0-alpha9. 
Searched in the following locations: 
    
file:/Users/gongzelong/Android/prebuilts/gradle-plugin/com/android/tools/build/gradle/3.0.0-alpha9/gradle-3.0.0-alpha9.pom
 

    
file:/Users/gongzelong/Android/prebuilts/gradle-plugin/com/android/tools/build/gradle/3.0.0-alpha9/gradle-3.0.0-alpha9.jar
 

    
file:/Users/gongzelong/Android/prebuilts/tools/common/m2/repository/com/android/tools/build/gradle/3.0.0-alpha9/gradle-3.0.0-alpha9.pom
 

    
file:/Users/gongzelong/Android/prebuilts/tools/common/m2/repository/com/android/tools/build/gradle/3.0.0-alpha9/gradle-3.0.0-alpha9.jar
 

    
file:/Users/gongzelong/Android/prebuilts/tools/common/m2/internal/com/android/tools/build/gradle/3.0.0-alpha9/gradle-3.0.0-alpha9.pom
 

    
file:/Users/gongzelong/Android/prebuilts/tools/common/m2/internal/com/android/tools/build/gradle/3.0.0-alpha9/gradle-3.0.0-alpha9.jar
 

    
file:/Users/gongzelong/Android/prebuilts/maven_repo/android/com/android/tools/build/gradle/3.0.0-alpha9/gradle-3.0.0-alpha9.pom
 

    
file:/Users/gongzelong/Android/prebuilts/maven_repo/android/com/android/tools/build/gradle/3.0.0-alpha9/gradle-3.0.0-alpha9.jar
 

Required by: 
    project : 


I searched a lot and still do not know why. 

https://stackoverflow.com/questions/33293283/cannot-build-support7demos-on-recent-android-studio-install-on-windows

Do not know what this post means. 

Any help is appreciated. 

-- 
-- 
You received this message because you are subscribed to the "Android Building" 
mailing list.
To post to this group, send email to android-building@googlegroups.com
To unsubscribe from this group, send email to
android-building+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-building?hl=en

--- 
You received this message because you are subscribed to the Google Groups 
"Android Building" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to android-building+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to