日韩性视频-久久久蜜桃-www中文字幕-在线中文字幕av-亚洲欧美一区二区三区四区-撸久久-香蕉视频一区-久久无码精品丰满人妻-国产高潮av-激情福利社-日韩av网址大全-国产精品久久999-日本五十路在线-性欧美在线-久久99精品波多结衣一区-男女午夜免费视频-黑人极品ⅴideos精品欧美棵-人人妻人人澡人人爽精品欧美一区-日韩一区在线看-欧美a级在线免费观看

歡迎訪問 生活随笔!

生活随笔

當前位置: 首頁 > 编程资源 > 编程问答 >内容正文

编程问答

bug__android studio 出现布局文件不提示,且点击代码不能跟踪代码

發(fā)布時間:2023/12/13 编程问答 28 豆豆
生活随笔 收集整理的這篇文章主要介紹了 bug__android studio 出现布局文件不提示,且点击代码不能跟踪代码 小編覺得挺不錯的,現(xiàn)在分享給大家,幫大家做個參考.

?

1,點擊布局文件,出現(xiàn) ?Cannot find declaration to ?go to ?

? ?且 點擊代碼不能跟蹤代碼?

? 把 項目的build.gradle 中的 ?compileSdkVersion 23 ?版本設置最高。

?

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'
}
}

//這個是解決lint報錯的代碼
lintOptions {
abortOnError false
// 防止在發(fā)布的時候出現(xiàn)因MissingTranslation導致Build Failed!
disable 'MissingTranslation'
}
}

dependencies {
compile 'com.android.support:support-v4:23.3.0'
compile project(':ptr-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 are few and far between, it is 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"
}

?

轉載于:https://www.cnblogs.com/awkflf11/p/5622392.html

總結

以上是生活随笔為你收集整理的bug__android studio 出现布局文件不提示,且点击代码不能跟踪代码的全部內容,希望文章能夠幫你解決所遇到的問題。

如果覺得生活随笔網(wǎng)站內容還不錯,歡迎將生活随笔推薦給好友。