AnfaengerAlex
Unresolved Reference to android in build.gradle.kts – Beginner Issue
Hello,
I’m a beginner in Android development and I’m facing an issue with my project setup. In my build.gradle.kts file, I have the following configuration:
plugins {
alias(libs.plugins.android.application) apply false
alias(libs.plugins.kotlin.android) apply false
}
android {
buildFeatures {
viewBinding true
dataBinding true
}
}
However, I’m getting the error: Unresolved reference: android.
Can anyone help me understand what might be causing this issue? I’ve checked that I have the necessary Android Gradle plugins, but I’m not sure what I’m missing.
Any help would be greatly appreciated!
First Post!
tsellami
can you post what are your plugins inside libs.versions.toml?
Popular Android topics
I am in the process of research for my next technical blog about bypassing certificate pinning with Frida, thus I need to find some open ...
New
Hi guys, I’m trying to do multi ussd with java on android, I can’t do it.
I looked at the documentation of telephonyManager on android, ...
New
Question: Android Developer
→ is there any way to read the .trash directory?
→ we can copy or save the file before delete ?
#android...
New
Hi,
I made an android app and created a signature with keytool. I then bundled the signature in the apk. So, I was wondering if, wanting...
New
Hello
I am starting the tearning curve to writing an app for my galaxy phone.
Me and my friens play a lot of “Texas Hold-Em” and, for t...
New
Old android photo name sequence
Help decoding file names
Example. I want to see if a file name aligns with a time / date in which the p...
New
Hello everyone, I recently started learning Kotlin and downloaded Android Studio, but after writing my first code and trying to run it, I...
New
We have developed a audio/video calling functionality using opentok sdk, now we want to integrate speech recognizer for transcribing voic...
New
Helo,
I’m using doubleviewpager in my project:
Is there something similar that works with android x?
New
I’m stuck trying to understand how to get a variable initialised, and later updated, in kotlin to update in Jetpack Compose and cause a c...
New
Other popular topics
Please tell us what is your preferred monitor setup for programming(not gaming) and why you have chosen it.
Does your monitor have eye p...
New
I’m thinking of buying a monitor that I can rotate to use as a vertical monitor?
Also, I want to know if someone is using it for program...
New
New
You might be thinking we should just ask who’s not using VSCode :joy: however there are some new additions in the space that might give V...
New
poll
poll
Be sure to check out @Dusty’s article posted here: An Introduction to Alternative Keyboard Layouts It’s one of the best write-...
New
Hello everyone! This thread is to tell you about what authors from The Pragmatic Bookshelf are writing on Medium.
New
This is going to be a long an frequently posted thread.
While talking to a friend of mine who has taken data structure and algorithm cou...
New
Rails 7 completely redefines what it means to produce fantastic user experiences and provides a way to achieve all the benefits of single...
New
Inside our android webview app, we are trying to paste the copied content from another app eg (notes) using navigator.clipboard.readtext ...
New
Hello,
I’m a beginner in Android development and I’m facing an issue with my project setup. In my build.gradle.kts file, I have the foll...
New
Categories:
Sub Categories:
Popular Portals
- /elixir
- /rust
- /ruby
- /wasm
- /erlang
- /phoenix
- /keyboards
- /python
- /js
- /rails
- /security
- /go
- /swift
- /vim
- /clojure
- /emacs
- /haskell
- /java
- /svelte
- /onivim
- /typescript
- /kotlin
- /c-plus-plus
- /crystal
- /tailwind
- /react
- /gleam
- /ocaml
- /flutter
- /elm
- /vscode
- /ash
- /opensuse
- /html
- /centos
- /php
- /zig
- /deepseek
- /scala
- /sublime-text
- /textmate
- /lisp
- /react-native
- /nixos
- /debian
- /agda
- /kubuntu
- /arch-linux
- /deno
- /django
- /revery
- /nodejs
- /ubuntu
- /manjaro
- /spring
- /diversity
- /lua
- /julia
- /markdown
- /c








