I upgraded Android Studio to 0.8.1 yesterday, so I cannot execute the App ~
The Run window displays:
Waiting for device.
Target device: lge-nexus_4-0262fa6d9d51c2e8
Event Log window display:
NoSuchMethodError: com. android. builder. model. androidArtifact. getOutputs () Ljava/util/Collection;: com. android. builder. model. androidArtifact. getOutputs () Ljava/util/Collection;
I have been tossing for a long time. later I remembered that Android Studio was upgraded by unzipping the installation package and overwriting the original directory. This may be because a file may have a 'new and old conflicted. check the file timestamp one by one and find that you only need to delete the 'old' file under the Android Studio directory and restart it.
\ Android-studio \ plugins \ android \ lib \ builder-model-0.11.0.jar
Because Android Studio 0.8.1 uses Gradle 0.12... + ..
// Top-level build file where you can add configuration options common to all sub-projects/modules.
Buildscript {
Repositories {
MavenCentral ()
}
Dependencies {
Classpath 'com. android. tools. build: gradle: 0.12. +'
// NOTE: Do not place your application dependencies here; they belong
// In the individual module build. gradle files
}
}
Allprojects {
Repositories {
MavenCentral ()
}
}
<---- No Google Service ---->
Alas, when can Google Service be easily accessed...