Android Studio Code Completion seems not working on xml and also it doesn't recognize any xml attribute except the attrs on Android support v7 views. Screenshot:
my views that is from android.support.design.v7 display correctly:
Tools attributes reference. Android Studio supports a variety of XML attributes in the tools namespace that enable design-time features (such as which layout to show in a fragment) or compile-time behaviors (such as which shrinking mode to apply to your XML resources).
JVMTI error: UNKNOWN_JVMTI_ERROR To work around this issue in Android Studio 3.5, click Run to re-deploy your app and see your changes. Note: This issue ( #135172147) is fixed in Android Studio 3.6 Canary 6 and higher.
Note: These attributes don't work for ListView in Android Studio 2.2, but this is fixed in 2.3 ( issue 215172 ). Intended for: Any root <View> in a layout that's referred to by an <include>
For example, you can force the Android Studio to ignore missing content description of <ImageView>: tools:targetApi — intended for any element and used to indicate the API level (either as an integer or as a code name) that supports this element.
I had this issue for a while and tried all the "solutions" provided;
Nothing worked, until I came across this answer (by 4gus71n) which has worked for me every time this rather rare, but annoying issue has presented itself: https://stackoverflow.com/a/53160674/5692877
In my case I;
C:\Users\MyUsername\.AndroidStudio3.2\system\caches\
directory.Worked a treat!
If you are Android Studio then go to tools and then Android then click on build with gradle, it will solve the error. I encountered it too.
Tools->Android->Build with Gradle
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With