https://kotlinlang.org logo
Join the conversationJoin Slack
Channels
100daysofcode
100daysofkotlin
100daysofkotlin-2021
advent-of-code
aem
ai
alexa
algeria
algolialibraries
amsterdam
android
android-architecture
android-databinding
android-studio
androidgithubprojects
androidthings
androidx
androidx-xprocessing
anime
anko
announcements
apollo-kotlin
appintro
arabic
argentina
arkenv
arksemdevteam
armenia
arrow
arrow-contributors
arrow-meta
ass
atlanta
atm17
atrium
austin
australia
austria
awesome-kotlin
ballast
bangladesh
barcelona
bayarea
bazel
beepiz-libraries
belgium
berlin
big-data
books
boston
brazil
brikk
budapest
build
build-tools
bulgaria
bydgoszcz
cambodia
canada
carrat
carrat-dev
carrat-feed
chicago
chile
china
chucker
cincinnati-user-group
cli
clikt
cloudfoundry
cn
cobalt
code-coverage
codeforces
codemash-precompiler
codereview
codingame
codingconventions
coimbatore
collaborations
colombia
colorado
communities
competitive-programming
competitivecoding
compiler
compose
compose-android
compose-desktop
compose-hiring
compose-ios
compose-mp
compose-ui-showcase
compose-wear
compose-web
connect-audit-events
corda
cork
coroutines
couchbase
coursera
croatia
cryptography
cscenter-course-2016
cucumber-bdd
cyprus
czech
dagger
data2viz
databinding
datascience
dckotlin
debugging
decompose
decouple
denmark
deprecated
detekt
detekt-hint
dev-core
dfw
docs-revamped
dokka
domain-driven-design
doodle
dsl
dublin
dutch
eap
eclipse
ecuador
edinburgh
education
effective-kotlin
effectivekotlin
emacs
embedded-kotlin
estatik
event21-community-content
events
exposed
failgood
fb-internal-demo
feed
firebase
flow
fluid-libraries
forkhandles
forum
fosdem
fp-in-kotlin
framework-elide
freenode
french
fritz2
fuchsia
functional
funktionale
gamedev
ge-kotlin
general-advice
georgia
geospatial
german-lang
getting-started
github-workflows-kt
glance
godot-kotlin
google-io
gradle
graphic
graphkool
graphql
graphql-kotlin
graviton-browser
greece
grpc
gsoc
gui
hackathons
hacktoberfest
hamburg
hamkrest
helios
helsinki
hexagon
hibernate
hikari-cp
hire-me
hiring
hongkong
hoplite
http4k
hungary
hyderabad
image-processing
india
indonesia
inkremental
intellij
intellij-plugins
intellij-tricks
internships
introduce-yourself
io
ios
iran
israel
istanbulcoders
italian
jackson-kotlin
jadx
japanese
jasync-sql
java-to-kotlin-refactoring
javadevelopers
javafx
javalin
javascript
jdbi
jhipster-kotlin
jobsworldwide
jpa
jshdq
juul-libraries
jvm-ir-backend-feedback
jxadapter
k2-early-adopters
kaal
kafka
kakao
kalasim
kapt
karachi
karg
karlsruhe
kash_shell
kaskade
kbuild
kdbc
kgen-doc-tools
kgraphql
kinta
klaxon
klock
kloudformation
kmdc
kmm-español
kmongo
knbt
knote
koalaql
koans
kobalt
kobweb
kodein
kodex
kohesive
koin
koin-dev
komapper
kondor-json
kong
kontent
kontributors
korau
korean
korge
korim
korio
korlibs
korte
kotest
kotest-contributors
kotless
kotlick
kotlin-asia
kotlin-beam
kotlin-by-example
kotlin-csv
kotlin-data-storage
kotlin-foundation
kotlin-fuel
kotlin-in-action
kotlin-inject
kotlin-latam
kotlin-logging
kotlin-multiplatform-contest
kotlin-mumbai
kotlin-native
kotlin-pakistan
kotlin-plugin
kotlin-pune
kotlin-roadmap
kotlin-samples
kotlin-sap
kotlin-serbia
kotlin-spark
kotlin-szeged
kotlin-website
kotlinacademy
kotlinbot
kotlinconf
kotlindl
kotlinforbeginners
kotlingforbeginners
kotlinlondon
kotlinmad
kotlinprogrammers
kotlinsu
kotlintest
kotlintest-devs
kotlintlv
kotlinultimatechallenge
kotlinx-datetime
kotlinx-files
kotlinx-html
kotrix
kotson
kovenant
kprompt
kraph
krawler
kroto-plus
ksp
ktcc
ktfmt
ktlint
ktor
ktp
kubed
kug-leads
kug-torino
kvision
kweb
lambdaworld_cadiz
lanark
language-evolution
language-proposals
latvia
leakcanary
leedskotlinusergroup
lets-have-fun
libgdx
libkgd
library-development
linkeddata
lithuania
london
losangeles
lottie
love
lychee
macedonia
machinelearningbawas
madrid
malaysia
mathematics
meetkotlin
memes
meta
metro-detroit
mexico
miami
micronaut
minnesota
minutest
mirror
mockk
moko
moldova
monsterpuzzle
montreal
moonbean
morocco
motionlayout
mpapt
mu
multiplatform
mumbai
munich
mvikotlin
mvrx
myndocs-oauth2-server
naming
navigation-architecture-component
nepal
new-mexico
new-zealand
newname
nigeria
nodejs
norway
npm-publish
nyc
oceania
ohio-kotlin-users
oldenburg
oolong
opensource
orbit-mvi
osgi
otpisani
package-search
pakistan
panamá
pattern-matching
pbandk
pdx
peru
philippines
phoenix
pinoy
pocketgitclient
polish
popkorn
portugal
practical-functional-programming
proguard
prozis-android-backup
pyhsikal
python
python-contributors
quasar
random
re
react
reaktive
realm
realworldkotlin
reductor
reduks
redux
redux-kotlin
refactoring-to-kotlin
reflect
refreshversions
reports
result
rethink
revolver
rhein-main
rocksdb
romania
room
rpi-pico
rsocket
russian
russian_feed
russian-kotlinasfirst
rx
rxjava
san-diego
science
scotland
scrcast
scrimage
script
scripting
seattle
serialization
server
sg-user-group
singapore
skia-wasm-interop-temp
skrape-it
slovak
snake
sofl-user-group
southafrica
spacemacs
spain
spanish
speaking
spek
spin
splitties
spotify-mobius
spring
spring-security
squarelibraries
stackoverflow
stacks
stayhungrystayfoolish
stdlib
stlouis
strife-discord-lib
strikt
students
stuttgart
sudan
swagger-gradle-codegen
swarm
sweden
swing
swiss-user-group
switzerland
talking-kotlin
tallinn
tampa
teamcity
tegal
tempe
tensorflow
terminal
test
testing
testtestest
texas
tgbotapi
thailand
tornadofx
touchlab-tools
training
tricity-kotlin-user-group
trójmiasto
truth
tunisia
turkey
turkiye
twitter-feed
uae
udacityindia
uk
ukrainian
uniflow
unkonf
uruguay
utah
uuid
vancouver
vankotlin
vertx
videos
vienna
vietnam
vim
vkug
vuejs
web-mpp
webassembly
webrtc
wimix_sentry
wwdc
zircon
Powered by Linen
android-studio
  • r

    Roar Gronmo

    12/05/2019, 1:41 PM
    Have anyone a suggestion on how to disable a failing plugin, which causes AS to freeze om startup ?
    • 1
    • 2
  • s

    Sebi Sheldin Sebastian

    12/14/2019, 1:07 PM
    Android Studio 3.5.3 is freezing for me when I try to Inspect Code, it runs for a while and then freezes up, and it happens only on one of my projects so I can't create a minimum failure scenario, after it freezes up there is nothing I can do other than do a Force Quit, is there something I can do identify what might be causing this?
    r
    • 2
    • 13
  • o

    Omer Amiel

    12/16/2019, 8:45 AM
    Somebody knows if the built in emulator is available on studio 4.0 Canary 6?
    d
    • 2
    • 1
  • g

    Gabriel Feo

    02/03/2020, 1:59 PM
    Hi! I installed the [JetBrains Mono](https://www.jetbrains.com/lp/mono/) font in Android Studio (macOS) and enabled font ligatures, but it seems to be replacing
    ->
    with a unicode character
    →
    , and now even
    vim
    is doing this replacement in the terminal (even Slack is doing it as I type
    -
    followed by
    >
    ! None of my code compiles anymore because of the illegal characters that have been inserted. Can somebody help me? Android Studio 3.5.3
    s
    • 2
    • 5
  • a

    aaverin

    03/06/2020, 9:32 AM
    It feels like Android Studio is getting worser and worser with every version. I am already used to having: • delete gradle build cache
    rm -rf ~/.gradle/caches/build-cache-1
    • clean project and build cache
    ./gradlew clean cleanBuildCache
    • Invalidate and Restart Android Studio I have to do this especially more often when I switch between multiple projects and multiple branches Anybody else also experiences similar issues? Any known bug tickets already that I can track?
    s
    • 2
    • 3
  • j

    jaran

    03/25/2020, 8:17 AM
    This is the only thing showing up in the log during the installation. Is the last warning a pointer that makes sense to anyone?
    2020-03-25 09:16:27,867 [566297214]   WARN - ConfigurableExtensionPointUtil - ignore deprecated groupId: language for id: preferences.language.Kotlin.scripting 
    2020-03-25 09:16:27,870 [566297217]   WARN - ConfigurableExtensionPointUtil - use other group instead of unexpected one: project.propCompiler 
    2020-03-25 09:16:28,095 [566297442]   INFO - j.ide.plugins.RepositoryHelper - using cached plugin list (updated at 25/03/2020, 09:10) 
    2020-03-25 09:16:28,306 [566297653]   WARN - llij.ide.plugins.PluginManager - 4.0 not loaded: since build 193.5233.102 > AI-192.7142.36.36.6241897
    r
    • 2
    • 2
  • c

    coolchandrakumar

    05/08/2020, 7:01 AM
    Unable to connect devices. also Unable to invoke avd manager Android Studio 4.1 Canary 9(Installed via jetbrains ToolBox)
    r
    • 2
    • 7
  • a

    Ash

    05/09/2020, 10:53 PM
    https://stackoverflow.com/questions/61701004/android-studio-view-pull-request-feature-is-disabled
    r
    • 2
    • 1
  • b

    Brian Stokes

    05/19/2020, 9:17 PM
    Over the recent months, our project has become unbearably slow to use in Android Studio. Code completion, auto-importing, and code-formatting all end up taking several seconds, even longer. It seems the more Kotlin we add, the slower it gets, but it’s hard to verify or pinpoint why this could be the case. There are so many moving parts, e.g. Kotlin Serialization, Android View Bindings, Dagger, etc., and it’s hard to troubleshoot. Does anybody have ideas how to figure this out? Does the IDE have any profiling/reporting tools that would help us see what it’s spending its time on? Our team would appreciate any help.
    ➕ 1
    o
    r
    • 3
    • 2
  • a

    Ananiya

    05/21/2020, 6:51 PM
    Hi there can u suggest me app to make and that can make me productive🙂
    o
    r
    • 3
    • 2
  • r

    Roar Gronmo

    05/26/2020, 5:48 PM
    Android Studio 4.1 C10 has released. You need to download it, not just "update" as often before.
    c
    • 2
    • 4
  • r

    Roar Gronmo

    06/13/2020, 6:22 AM
    The problem with creating new projects in AS4.1C10 is not yet fixed, it will be fixed in AS4.2C2 or AS4.1B2 https://issuetracker.google.com/157676015
    • 1
    • 2
  • r

    Roar Gronmo

    06/18/2020, 6:13 PM
    Yes, it will use "1.4-M2-release-Studio4.1-1" until it breaks. You need to see the main Android Studio version scheme here: https://plugins.jetbrains.com/plugin/6954-kotlin/versions
    • 1
    • 8
  • r

    rudolf.hladik

    06/18/2020, 6:44 PM
    Hi, have you ever had a problem that AS shows in design editor infinite Waiting for build to finish and it drains so much cpu power and don’t stop till I restart AS? is there a way to restart just the layout editor?
    r
    • 2
    • 2
  • a

    andylamax

    06/18/2020, 9:29 PM
    Hello All, I have problems with 4.2 Canary 1: I have a this project. That workes and compiles fine in 4.1 Canary 8 • Gradle: 6.4.1 • Android Gradle Plugin: 4.1.0-alpha03 • buildSrc dir with kotlin-dsl Then I upgraded to 4.2 Canary 1 after a sync and before indexing android studio requests to upgrade to Android Gradle Plugin 4.2.0-alpha01. (With Options
    update
    &&
    cancel and update manually
    ). • The
    Update
    option failed due to the non formal project structure of mine (This is understandable) • So I decided to go with
    cancel and update
    . • AGP 4.2.0-alpha01 requested gradle 6.5-rc-01. So I upgraded to gradle 6.5 • Now, buildSrc fails to build totally even after clean build and invalidating cache and restarting • If I downgrade to AGP 4.1.0-alpha03, It builds well in the command line. But android studio wont index. After every sync it does request me to upgrade to 4.2 Any help will be much appreciated
    r
    • 2
    • 4
  • s

    shaktiman_droid

    06/23/2020, 3:14 AM
    anyone has an answer for this problem with
    Android Studio
    +
    Kotlin
    ? https://stackoverflow.com/questions/62502648/how-to-disable-lint-warning-on-android-studio-or-intellij-for-unused-public-api
    r
    • 2
    • 1
  • v

    vinny2020

    06/25/2020, 9:35 PM
    actually, I see where the fragment is attached, it’s in content_main.xml
    👍🏽 1
    r
    • 2
    • 2
  • a

    andylamax

    06/27/2020, 10:16 AM
    Pasting to AndroidManifest.xml, freezes android studio? Why is this?
    a
    r
    • 3
    • 10
  • r

    Roar Gronmo

    07/06/2020, 7:58 PM
    kotlin plugin 1.4-M3-release-Studio4.1-1 is released, AFAIK there might be some problems installing this particular version in AS4.2C3, despite it is inside the version range of AS4.2C3 "intelliJ" version (201.7223.91 - 201.* -> 201.7846.76...), has not been able to check why yet.
    • 1
    • 1
  • v

    vinny2020

    07/20/2020, 8:30 PM
    Using IntelliJ IDEA has always been fluid for me in Java and XML but maybe because Android has so much boilerplate, but the fluidity of code completions is so fluid it’s sick. I wish I could type faster
    😃 1
    r
    • 2
    • 2
  • k

    Karthikeyan1241997

    07/28/2020, 2:08 AM
    Can anyone help me to create custom menu in android studio. I need new menu named MyFav like Menu,Edit,Build,etc. In that i can keep my fav menus like Rebuild project, Export to zip, invalidate cache, svn update, etc. I tried exploring in menus and toolbars but i am unable to create a custom menu
    r
    • 2
    • 2
  • j

    John O'Reilly

    08/26/2020, 6:54 PM
    I just updated to AS 4.2.0-alpha8 and now getting 
    ClassNotFoundException: kotlin.KotlinNothingValueException
     - anyone else come across this? Seems to be related to use of root level kotlin build script ....if I change/migrate 
    build.gradle.kts
     to 
    build.gradle
     then I'm not seeing that error.
    👍 1
    r
    • 2
    • 6
  • a

    allan.conda

    08/27/2020, 8:25 AM
    Anyone else? Cannot open latest Android Studio Canary
    c
    p
    r
    • 4
    • 8
  • t

    Tomáš Kuhn

    08/31/2020, 11:26 AM
    Hi, has anyone else problem with bold font on AS Canary8 ?
    r
    • 2
    • 1
  • a

    allan.conda

    09/03/2020, 6:31 AM
    Databinding is broken on AS 4.2 Canary 9… Rolling back
    💔 1
    t
    r
    p
    • 4
    • 9
  • b

    Brady Aiello

    09/04/2020, 12:34 AM
    AS 4.2 Canary 9 emulator issues I'm having: Can't open AVD Manager Can't start an emulator Disabled "Launch in a Tool Window", but the emulator tool window still shows up
    👋 1
    • 1
    • 3
  • g

    Geert

    09/04/2020, 2:20 PM
    More people with problems? I cant even open a new downloaded version of AS. My macbook only aks for permissions to open and trust it, but it is not opening anything.
    z
    • 2
    • 4
  • r

    Roar Gronmo

    09/10/2020, 7:58 AM
    Just realized AS4.2C10 is missing Database Inspector. Are anyone other experiencing the same and where did it go (in the menues, did it change names, was it abandoned...). Again I am rolling back to C8...
    😬 2
    • 1
    • 2
  • r

    Roar Gronmo

    09/11/2020, 6:45 PM
    AS4.2C10: You may have problem recover to do a rebuild / recompile after stopping build process manually. Only remedy is to restart the IDE.
    • 1
    • 1
  • o

    Orhan Tozan

    09/15/2020, 7:49 AM
    When will Android 11 be available for the emulators? The R version is currently marked as 10.0+.
    r
    • 2
    • 2
Powered by Linen
Title
o

Orhan Tozan

09/15/2020, 7:49 AM
When will Android 11 be available for the emulators? The R version is currently marked as 10.0+.
r

Roar Gronmo

09/16/2020, 8:24 AM
Just checked my setup, and mine are marked as 11 (I use Emulator 30.1.3 Canary) , you should also check which API's you have donwnloaded in AS. I use AS4.2C10, my latest APIs are Android 11 (R), API Level 30, Revision 3; Android 10 (Q), API Level 29, Revision 5; Android 9 (Pie), API Level 28, Revision 6.
o

Orhan Tozan

09/16/2020, 9:14 AM
I am using Android Studio 4.0 stable, so I guess that's the difference
View count: 4