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

    Sergio C.

    05/12/2022, 9:51 AM
    Hello, Something happened to AS? Can't install apps on real devices. Using the new chipmunk version.
    u
    • 2
    • 11
  • h

    haris mehmood

    05/18/2022, 10:17 AM
    Hi everyone, I want to run socket.io in background even app closed. One way is that start a foreground service but issue is that it display permanent notification to the user which is quite awkward. Thanks
    u
    • 2
    • 2
  • c

    Chris Fillmore

    05/18/2022, 3:19 PM
    I have noticed an issue, I think since upgrading to Chipmunk, where Run doesn’t install the app. Upon a fresh start of AS, it will work normally for a time, maybe 10 launches. Then subsequent Runs will complete a build, but not install the app. I am testing with a real device, not emulator. Doing
    adb kill-server
    then
    adb start-server
    resolves the problem. Anyone noticed this? I’m on Intel Macbook Pro in case that is relevant. AS info: Android Studio Chipmunk | 2021.2.1 Build #AI-212.5712.43.2112.8512546, built on April 28, 2022 Runtime version: 11.0.12+0-b1504.28-7817840 x86_64 VM: OpenJDK 64-Bit Server VM by JetBrains s.r.o. macOS 12.3.1 GC: G1 Young Generation, G1 Old Generation Memory: 3072M Cores: 12 Registry: external.system.auto.import.disabled=true, ide.instant.shutdown=false Non-Bundled Plugins: org.jetbrains.kotlin (212-1.6.21-release-334-AS5457.46)
    v
    a
    • 3
    • 2
  • z

    Zsolt.bertalan

    05/20/2022, 11:58 AM
    Find in Files behaviour changed in AS Chipmunk. The modules tab limits the search to source sets instead of modules. This is very annoying. Anybody knows if this comes from IJ Idea and if there is a setting to change it back? Or is this a bug?
    c
    o
    • 3
    • 3
  • f

    Francescos

    06/03/2022, 8:29 AM
    Hi guys, any clue on the stop button in the new logcat feature of Eel? I was used to simulate process death through that button but I can’t find it in Eel. Has it been moved or removed?
    ➕ 1
    c
    c
    • 3
    • 5
  • k

    kevindmoore

    06/08/2022, 9:58 PM
    Same. It's very strange in that it doesn't even try to install the app and then times out waiting for it to run. I have to quit AS, then force quit it because it won't quit
    c
    • 2
    • 7
  • j

    Jeff Lockhart

    06/09/2022, 10:02 PM
    I upgraded the AS Kotlin plugin to 1.7.0 and after restarting it ran into this error with the KMM plugin and disabled it. I tried uninstalling the KMM plugin to see if reinstalling it fixes anything, but now I can't install any AS plugins anymore. It fails to load the detail view on the right, with a continuous spinning activity indicator, and clicking the install button does nothing.
    kmm_plugin_crash.txt
    c
    • 2
    • 12
  • m

    Marek Hlava

    06/10/2022, 1:51 PM
    Does anybody else have issues with Compose Previews in Kotlin Multiplatform projects? I noticed that deploying previews to device is slow in our project and figured out that having a Kotlin Multiplatform module is the problem. I created this issue: https://issuetracker.google.com/issues/235574680
    r
    v
    • 3
    • 3
  • k

    kevindmoore

    06/10/2022, 6:21 PM
    Why can't I record an Espresso test? The error message says: "Espresso Testing Framework does not support Compose projects". I don't have a Compose project
    v
    • 2
    • 2
  • r

    Racka N

    06/12/2022, 5:40 PM
    Hello everyone. My Android Studio installations don't remember my Github tokens. They keep asking for them every time I push, pull or do anything. Even right after I've authenticated it. I have Bumblebee and the latest Chipmunk. It started breaking in Bumblebee, then after I updated Chipmunk to Patch 1 yesterday it broke too. Tokens are being remembered just fine on two of my Intellij IDEA installations in the same machine, just Android Studio that's problematic
    c
    • 2
    • 2
  • j

    Joseph Hawkes-Cates

    06/20/2022, 7:00 PM
    I just installed Electric Eel to give Live Edit a try today and it’s not working very well for me. Most of my changes result in the indicator in the top right just showing “loading…” and the updates may or may not actually update after a while. I’m seeing an exception on startup which seems related (see 🧵). Any common known issues that might resolve what I’m seeing?
    c
    c
    • 3
    • 10
  • v

    Vivek Sharma

    06/22/2022, 7:08 AM
    I was running system trace, through cmd, it showed an error
    Systrace does not work with python version 3.10
    , so I updated the
    Android SDK platform-tools
    and
    Android SDK Build-Tools
    through Android Studio, but after updating,
    systrace
    folder is gone from the
    android-sdk/platform-tools/
    location. And now I can't run systrace after updating, any idea what to do?
    • 1
    • 1
  • v

    Vivek Sharma

    06/22/2022, 12:17 PM
    I checked release notes and found
    systrace
    has been removed, but where I can find this :
    Profiler/gpuinspector.dev/Perfetto
    ?
  • l

    Luis Alonso Ato Neyra

    06/22/2022, 3:01 PM
    While working on AS Dolphin bet 3 sometimes I can’t see the xml properly in the design tab. It’s just empty. Anyone else having this issue?
    c
    n
    • 3
    • 18
  • c

    Chris Fillmore

    06/22/2022, 9:26 PM
    This is minor but I just noticed that
    javax
    imports are going in non-alphabetical order when I optimize imports in Android Studio. For example:
    import androidx.appcompat.app.AppCompatActivity
    import androidx.core.splashscreen.SplashScreen.Companion.installSplashScreen
    import dagger.Lazy
    import dagger.hilt.android.AndroidEntryPoint
    import org.webrtc.EglBase
    import tv.mydomain.example
    import javax.inject.Inject
    Is that expected?
    e
    m
    • 3
    • 4
  • e

    Erwin Pandawa5

    06/23/2022, 1:33 AM
    message has been deleted
    ❓ 2
  • a

    Adam Pelsoczi

    06/28/2022, 10:43 AM
    What happened to debugging variables in the IDE? Everywhere in my code I have these useless errors on variables:
    'uuid' was optimised out
    'registrationID' was optimised out
    'rtcId' was optimised out
    'bytes' was optimised out
    and also:
    This variable is inaccessible because it isn't used after the last suspension point
    u
    • 2
    • 3
  • a

    Adam Pelsoczi

    06/28/2022, 10:44 AM
    val uuid = (beginUuid + sessionCharacteristic + endUuid).lowercase()
    val a = "" + "" + "" -> to lower case, and the IDE can't display the value ... speechless
  • r

    Rafs

    06/28/2022, 3:16 PM
    Just add a statement using all the variables you want to inspect. Something like println(uuid + bytes + registrationID + rtcid)
  • d

    Dhaval Gondaliya

    07/02/2022, 4:33 AM
    Anyone know solution of error in attached Image? If i run android studio chipmunk | 2021.2.1 Patch 1 as administrator it doesn't have this error. I dont know which setting was it that i changed but, i am sure after changing some it started showing this error when i run application.
    r
    • 2
    • 7
  • k

    kotlinforandroid

    07/04/2022, 1:31 PM
    I have trouble getting the Shared Indexes Plugin to work. I have an active student license that I used to active the plugin. However, I always get the error "intellij.indexing.shared.core" is required.
    disabled_plugins.txt
    doesn't contain any plugins. I run Android 2022.2.1.
  • c

    Chris Fillmore

    07/04/2022, 4:46 PM
    Any idea what to make of these sorts of warnings? Just wait until they go away?
    m
    • 2
    • 2
  • r

    Rihards

    07/05/2022, 8:43 AM
    Hi! I wanted to move from Android Studio Bumblebee to Android Studio Chipmunk, but now all places where
    requireView()
    is called are coloured red as unresolved reference. It’s a bit annoying - is there any way I can change that?
    d
    k
    • 3
    • 5
  • m

    Marko Novakovic

    07/06/2022, 3:45 PM
    my emulators started acting weird. they are saving state on shutdown but they do cold boot start and no state is saved. and also I can’t set device frames 🙂 anyone faced same issues? happens on: Chipmunk, Dolphin, Electric Eel
    ➕ 1
  • k

    Kayacan Kaya

    07/07/2022, 1:42 AM
    Hello, I have troubles with my network connection and Android Studio. When I am using my phone's internet connection, I am able to fetch data from servers and check for IDE updates. However, when I connect to my home's internet, I cannot fetch data, check for updates etc. Does anyone know how I can overcome this problem and what could be the reason for that?
    c
    u
    • 3
    • 9
  • d

    darkmoon_uk

    07/08/2022, 1:52 AM
    🙅 It looks like IDE 'Favourites' feature has been removed in favour of 'Bookmarks' in both Android Studio Dolphin and the latest IntelliJ. These features do not behave equivalently: Favourites behaved like regular folders so I could drag/drop files between them. Bookmarks don't do this, it's a poor replacement. I made good use of 'Favourites' it's a significant productivity hit to see this go 😞 👎 👎
    c
    c
    • 3
    • 5
  • a

    Armin Rodríguez

    07/08/2022, 4:07 PM
    Hello everybody I don't know if is the good channel but ... I hope somebody can help me ... I have a problem with my Android Studio... all the kotlinx references are wrong... but the project works well. I'm working on a KMM project using Android Studio Chipmunk. I tried reinstalling the Android Studio, cleaning my project (.gradlew clean) and rebuilding (./gradlew build), also I tried invalidating cache and restarting, clearing file system cache and local history. Only happens to me in my coworking team 😞 ... Any ideas?
    m
    • 2
    • 2
  • s

    Slackbot

    07/08/2022, 8:24 PM
    This message was deleted.
    t
    • 2
    • 1
  • a

    Alexandru Hadăr

    07/13/2022, 12:06 PM
    Anybody knows how I can remove the name that appears above the functions? It is saying who wrote/modified what. Version: Android Studio Electric Eel | 2022.1.1 Canary 8 Build #AI-221.5921.22.2211.8786657, built on June 30, 2022 Runtime version: 11.0.13+0-b1751.21-8125866 x86_64 VM: OpenJDK 64-Bit Server VM by JetBrains s.r.o. macOS 12.4
    a
    e
    • 3
    • 3
  • t

    trevjones

    07/22/2022, 1:00 AM
    Anyone had luck patching studio to work with gateway?
Powered by Linen
Title
t

trevjones

07/22/2022, 1:00 AM
Anyone had luck patching studio to work with gateway?
View count: 5