Android DEV: Andriod Studio Shows & #039; Waiting for device. & #039;

Source: Internet
Author: User

I upgraded Android Studio to 0.8.1 yesterday, so I cannot execute the App ~ The Run window shows 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; it has 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 Gradle uses 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 ---->

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.