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
  • d

    Daniel

    05/29/2021, 8:35 AM
    I get this error when building my project with android studio arctic fox or bumble bee using the latest AGP version compatible with those versions of the IDE. I'd appreciate any help 🙏
    a
    • 2
    • 4
  • m

    MarkRS

    06/04/2021, 1:36 PM
    Library dependencies using constants defined in buildSrc seems to be a problem, or have I done something wrong? Normally AS tells me about newer versions of libraries by itself, but I can run the "check for newer libraries" analysis manually too. However, with the strategy above, neither route informs me of newer versions at all! I'm having to manually check for latest releases and change the code myself. Is it just me?
    s
    r
    • 3
    • 4
  • b

    Barry Fawthrop

    06/10/2021, 4:43 PM
    Just d/led Bumblebee and wanting to upgrade an existing Android Studio Kotlin/Android project. But it says this is not a Gradle-based project? any help, please
    c
    r
    • 3
    • 6
  • b

    Barry Fawthrop

    06/14/2021, 11:59 AM
    trying out jetpack compose. Gradle builds successfully but the entire :app build.gradle.kts file and project build.gradle.kts shows red underscores throughout the files. as can be seen below Any ideas. I'm trying to upgrade an existing project
    t
    r
    • 3
    • 4
  • a

    André Thiele

    06/17/2021, 8:31 AM
    Everytime I try to upgrade Android Studio I get this error. I am using the Apple Silicon Beta.
    c
    • 2
    • 1
  • l

    Law Gimenez

    06/18/2021, 7:08 AM
    This is annoying, as you can see the build finished successfully but on my Kotlin file it has 8 errors. I mean this bug has been around since AS v4.0. Please fix this.
    c
    r
    • 3
    • 3
  • j

    Jeff

    06/21/2021, 8:19 AM
    Is it just me or android studio's preview is very buggy of late. I change an element attributes in xml and it doesn't reflect or takes a loooong while. I've got enough RAM 🤷🏾
    m
    • 2
    • 4
  • r

    Rafs

    06/21/2021, 9:13 PM
    Is there any way of getting Android Studio to automatically format code in exactly the way ktlint does it? maybe a configuration XML file that we can import?
    a
    c
    e
    • 4
    • 4
  • s

    Scott Kruse

    07/02/2021, 7:29 PM
    I can't get this Kotlin FIll Class plugin to work on the latest stable Android Studio: https://plugins.jetbrains.com/plugin/10942-kotlin-fill-class
    • 1
    • 2
  • s

    Se7eN

    07/03/2021, 3:28 PM
    How do I remove these files from the Default Changelist? I added them to gitignore but they still appear here
    j
    u
    a
    • 4
    • 16
  • v

    Vyshas

    07/05/2021, 7:41 AM
    Would be of great help if someone could answer this question , is it possible to use java11 using Android studio 4.2.2 until artic fox is stable ?
    j
    • 2
    • 2
  • k

    kevindmoore

    07/25/2021, 4:51 PM
    I’ve some how totally messed up my Bumblebee version of Android Studio. I think it is because I have multiple sdk versions on my Mac. I’m getting the following error: “Unable to load class ‘kotlin.collections.SetsKt’. This is an unexpected error. Please file a bug containing the idea.log file.”
    • 1
    • 1
  • m

    Marko Novakovic

    07/29/2021, 6:39 PM
    I’ve just updated my Android Studio to latest Arctic Fox stable version and OMG is my laptop slow. I tried to run hello world Jetpack Compose project and it was soooooo slow. I had to restart my computer. I have Macbook Pro 16 inch i9 32gb RAM
    c
    m
    • 3
    • 4
  • m

    Marko Novakovic

    07/30/2021, 6:51 PM
    Arctic Fox 2020.3.1 is so broken Macbook Pro 16 i9 32GB RAM does someone experience the same?
    👍 1
    😭 1
    j
    • 2
    • 1
  • c

    Christopher Elías

    07/31/2021, 4:38 PM
    Hello guys, is this happening to someone else? (image attached) It seems like the IDE does not recognize the dependencies from the kts file but when I hit compile & run it works with no problem, it's just that is annoying that the IDE highlight the "Libs" import as error. Is this happening to you how too? if thats the case how do you fix it? The image above is from the Jetchat google compose samples and im using the latest stable version of AS Android Studio Arctic Fox | 2020.3.1 Build #AI-203.7717.56.2031.7583922, built on July 26, 2021
    k
    v
    • 3
    • 3
  • m

    Marko Novakovic

    08/04/2021, 9:53 PM
    can Android Studio suggest dependency updates when using Gradle Kotlin DSL and
    buildSrc
    to keep all the versions and libraries?
    m
    • 2
    • 1
  • c

    Chris

    08/06/2021, 12:24 PM
    Is it possible to use Idea’s Code with Me feature on Android studio?
    c
    • 2
    • 2
  • m

    Marko Novakovic

    08/12/2021, 2:46 PM
    Android Studio prompted me to update emulator and I did. since then 2 out of 3 existing emulators have their memory wiped and they look like 10 years old devices. somebody else experiences the same?
    ❓ 1
    c
    • 2
    • 1
  • k

    kevindmoore

    08/16/2021, 9:21 PM
    I'm in AS Arctic Fox and I'm looking at the Git tab. It has changed radically. Is there any way to get back the other view that shows are local changes and shelved changes?
    c
    j
    • 3
    • 7
  • a

    Adi

    08/18/2021, 4:06 PM
    Is there way to check the number of Java and Kotlin classes in your project from Android Studio?
    s
    • 2
    • 1
  • c

    Colton Idle

    08/18/2021, 11:35 PM
    https://twitter.com/adamsnz/status/1428079906437672965?s=21
    n
    • 2
    • 1
  • s

    solidogen

    08/26/2021, 2:14 PM
    Arctic Fox’es debugger just breaks while stopping in suspending function, shows nothing but
    =
    . Anyone else has this?
    j
    • 2
    • 1
  • a

    Ash

    08/28/2021, 5:40 PM
    Is there a way to create a new AS project with Kotlin Gradle not Groovy?
    m
    j
    e
    • 4
    • 8
  • p

    Pierre Kuhn

    08/31/2021, 3:07 PM
    Hi all, I'm having issues migrating our project to
    AGP 7+
    . I can build fine when running build commands from the terminal, however gradle sync in AS (
    Arctic Fox 2020.3.1
    ) fails after hanging out for a while. Please open the thread 👇 for the detailed error. Any help would be hugely appreciated 😃
    • 1
    • 1
  • k

    Kshitij Patil

    09/01/2021, 5:48 AM
    So how is the performance of Arctic Fox on M1 sillicon lately? Any issues with Jetpack Compose ? More importantly, is 8 gigs of RAM enough with M1 sillicon for smooth development? I had a terrible experience with Arctic Fox on Linux, as the IDE keeps freezing all the time so I've switched to Windows 11 and so far the experience is great.
    👀 1
    c
    m
    d
    • 4
    • 5
  • s

    Sam Marz

    09/23/2021, 2:47 PM
    plugin: comments with parameter names (autogenerated)
    • 1
    • 1
  • m

    Marko Novakovic

    09/24/2021, 10:02 PM
    after upgrading existing project to gradle 7.0.2 every build.gradle.kts in project is in red lines and not error message is provided sync is just failing any help?
    j
    • 2
    • 9
  • m

    Marko Novakovic

    09/24/2021, 10:53 PM
    how and where to apply
    plugins {
        id("org.jetbrains.kotlin.android") version "1.5.21"
    }
    ? if I add it anywhere everything falls apart and I can’t run app any more. modules disappear am trying to adopt Compose, is this required or not?
    k
    e
    • 3
    • 4
  • a

    Ash

    09/28/2021, 2:47 AM
    Trying to sign my App with AS, but Java keeps crashing. Has anyone else been able to sign their app with AS on Mac OS Monetary Beta?
    :not-kotlin: 1
    👎🏽 1
    • 1
    • 5
  • o

    Orhan Tozan

    10/04/2021, 9:45 PM
    Anybody here thats running Windows 11? How is it with Android Studio?
    h
    • 2
    • 1
Powered by Linen
Title
o

Orhan Tozan

10/04/2021, 9:45 PM
Anybody here thats running Windows 11? How is it with Android Studio?
h

haris mehmood

10/07/2021, 9:32 AM
its pretty nice
View count: 2