android-studio

No XML color preview in gutter

徘徊边缘 提交于 2021-01-05 06:51:50
问题 After trying just about everything, I cannot get the color preview to show in the XML editor in Android Studio. In my colors.xml file, I expect a line like <color name="colorAccent">#1AD270</color> to show a small square to the left of it in the gutter previewing the color. Weirdly, it only happens in this particular project. When I open other Android Studio projects, the gutter icons appear normally. I have completely reset my Android Studio settings, disabled/enabled gutter icons and

No XML color preview in gutter

泪湿孤枕 提交于 2021-01-05 06:50:18
问题 After trying just about everything, I cannot get the color preview to show in the XML editor in Android Studio. In my colors.xml file, I expect a line like <color name="colorAccent">#1AD270</color> to show a small square to the left of it in the gutter previewing the color. Weirdly, it only happens in this particular project. When I open other Android Studio projects, the gutter icons appear normally. I have completely reset my Android Studio settings, disabled/enabled gutter icons and

No XML color preview in gutter

一笑奈何 提交于 2021-01-05 06:50:14
问题 After trying just about everything, I cannot get the color preview to show in the XML editor in Android Studio. In my colors.xml file, I expect a line like <color name="colorAccent">#1AD270</color> to show a small square to the left of it in the gutter previewing the color. Weirdly, it only happens in this particular project. When I open other Android Studio projects, the gutter icons appear normally. I have completely reset my Android Studio settings, disabled/enabled gutter icons and

attribute android:forceQueryable not found in Android studio when running Espresso test

烈酒焚心 提交于 2021-01-03 05:43:27
问题 I have recorded my android app Espresso test using android studio Record Espresso Test option in Run menu. In the end of the record I saved the test with a my own file name. Once click the save button, IDE automatically created the file in AndroidTest directory of the app module. I right click the saved file and clicked run. Then it prompting me the following error. /Users/dehanwijesekara/Documents/ProjectName/app/build/intermediates/packaged_manifests/debugAndroidTest/AndroidManifest.xml:24:

Android studio 4.1 Emulator extended controls

匆匆过客 提交于 2021-01-02 06:30:09
问题 Extended control settings/options are missing in this update? like sending sms, gps settings unable to find the settings any help apricated. 回答1: TL;DR Currently, you can't use Why Base on documentation: https://developer.android.com/studio/run/emulator#limitations Limitations Currently, you can't use the emulator's extended controls when it's running in a tool window. If your development workflow depends heavily on the extended controls, continue to use the Android Emulator as a standalone

unable to resolve class org.jetbrains.plugins.gradle.tooling.internal.ExtraModelBuilder

情到浓时终转凉″ 提交于 2021-01-02 06:13:07
问题 I get this error after updating android studio: Error:Cause: startup failed: initialization script 'C:\Users\sunny\AppData\Local\Temp\ijinit.gradle': 17: unable to resolve class org.jetbrains.plugins.gradle.tooling.internal.ExtraModelBuilder @ line 17, column 1. import org.jetbrains.plugins.gradle.tooling.internal.ExtraModelBuilder 回答1: CHANGING GRADLE TO LATEST VERSION FIXED THIS PROBLEM In this case it was changing from 3.3 to 4.0 If you want to see what the latest Gradle version is, have a

unable to resolve class org.jetbrains.plugins.gradle.tooling.internal.ExtraModelBuilder

久未见 提交于 2021-01-02 06:12:59
问题 I get this error after updating android studio: Error:Cause: startup failed: initialization script 'C:\Users\sunny\AppData\Local\Temp\ijinit.gradle': 17: unable to resolve class org.jetbrains.plugins.gradle.tooling.internal.ExtraModelBuilder @ line 17, column 1. import org.jetbrains.plugins.gradle.tooling.internal.ExtraModelBuilder 回答1: CHANGING GRADLE TO LATEST VERSION FIXED THIS PROBLEM In this case it was changing from 3.3 to 4.0 If you want to see what the latest Gradle version is, have a

Can I “force” the Android Simulator to always use the same port?

◇◆丶佛笑我妖孽 提交于 2021-01-01 08:50:23
问题 I am trying to do NativeScript development on an Azure virtual box. The installation of the NativeScript development environment has been completed successfully, as I do not have any issues when I am running the >tns doctor command: Once I try to run my application: >tns run android --bundle I see that it is successfully installed on the device identified as 'emulator-5554' but then this error pops up: Unable to apply changes on device: emulator-5554. Error is: connect ECONNREFUSED 127.0.0.1

Not able to integrate zoom in my application

爱⌒轻易说出口 提交于 2021-01-01 06:38:16
问题 I am trying to integrate zoom in my application. For that, I followed this link [https://marketplace.zoom.us/docs/sdk/native-sdks/android/getting-started/prerequisites] I've created a new android project where I've imported the .aar files from zoom SDK as well as imported the dependencies but when I try to run this in my main application I get this error. error: cannot find symbol JoinMeetingOptions opts = ZoomMeetingUISettingHelper.getJoinMeetingOptions(); ^ symbol: variable

Android: Add searchView on the Action Bar

…衆ロ難τιáo~ 提交于 2020-12-31 14:50:33
问题 My Complete Project Is As Follows: There is a listView connnected to database and a search option with suggestion . I wanna shift this search bar to the action bar and format it just like Google Play Store Search bar . Please help me, my complete codes are: MainActivity.java package com.GurbaniAndSikh.MahaanKosh; import android.database.Cursor; import android.database.sqlite.SQLiteDatabase; import android.os.Bundle; import android.support.v7.app.AppCompatActivity; import android.support.v7