Bug__android Studio appears without prompting for layout files, and clicking Code cannot track code

Source: Internet
Author: User

1, click on the layout file, appear cannot find declaration to go to?

and click Code can't track code?

Set the Compilesdkversion 23 version to the highest in the project's Build.gradle.

Apply plugin: ' Com.android.application '

Android {
Compilesdkversion 23
Buildtoolsversion "23.0.2"

Defaultconfig {
ApplicationID "Com.foryou.agent"
Minsdkversion 11
Targetsdkversion 23
}

Buildtypes {
Release {
Minifyenabled false
Proguardfiles getdefaultproguardfile (' proguard-android.txt '), ' proguard-rules.txt '
}
}

This is the code to solve the lint error.
lintoptions {
Abortonerror false
Prevents build failed! when publishing due to Missingtranslation
Disable ' missingtranslation '
}
}

dependencies {
Compile ' com.android.support:support-v4:23.3.0 '
Compile project (':p tr-lib ')
Compile project (': Bdintegrationsdk_libproject ')

Compile ' com.google.code.gson:gson:1.6 '
Compile files (' Libs/baidulbs_android.jar ')
Compile files (' Libs/getuiext-2.0.3.jar ')
Compile files (' Libs/getuisdk2.4.1.0.jar ')
Compile files (' Libs/pinyin4j-2.5.0.jar ')
Compile files (' Libs/umeng-analytics-v5.4.1.jar ')
Compile files (' Libs/universal-image-loader-1.9.3.jar ')
Compile files (' Libs/volley.jar ')
Debugcompile ' com.squareup.leakcanary:leakcanary-android:1.3.1 '
Releasecompile ' com.squareup.leakcanary:leakcanary-android-no-op:1.3.1 '
Compile ' io.reactivex:rxandroid:1.1.0 '
Because Rxandroid releases is few and far between, it's recommended you also
Explicitly depend on RxJava's latest version for bug fixes and new features.
Compile ' io.reactivex:rxjava:1.1.0 '

Testcompile ' junit:junit:4.12 '
Android testing Support Library ' s runner and rules
Testcompile "com.android.support.test:runner:0.4.1"
Testcompile "com.android.support.test:rules:0.4.1"
}

Bug__android Studio appears without prompting for layout files, and clicking Code cannot track code

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.