
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

I have made my version of browser on android platform.I have used chromium as base.
I have build it successfully & but the logo or i...
New

Hello! I’m learning Android Jetpack compose development from tutorials and documentation by Android developers. And I ran into a problem…...
New

Good afternoon. Brief story: My institution has several nfc tags in building which have to be scanned with specific app built and used in...
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

I am trying to develop an app which will make your smartphone act as a “keyboard”. I need it to send different symbols to another devices...
New

Display is not working properly in landscape mode when projection given by pixel 7 version 13 in case of video play by youtube app after ...
New

We have developed a audio/video calling functionality using opentok sdk, now we want to integrate speech recognizer for transcribing voic...
New

I’m developing an Android application in which I need to add functionality to automatically read a CSV file from a file manager, parse it...
New
Other popular topics

A PragProg Hero’s Journey with Brian P. Hogan @bphogan
Have you ever worried that your only legacy will be in the form of legacy...
New

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

There’s a whole world of custom keycaps out there that I didn’t know existed!
Check out all of our Keycaps threads here:
https://forum....
New

Learn different ways of writing concurrent code in Elixir and increase your application's performance, without sacrificing scalability or...
New

Continuing the discussion from Thinking about learning Crystal, let’s discuss - I was wondering which languages don’t GC - maybe we can c...
New

Hi folks,
I don’t know if I saw this here but, here’s a new programming language, called Roc
Reminds me a bit of Elm and thus Haskell. ...
New

Was just curious to see if any were around, found this one:
I got 51/100:
Not sure if it was meant to buy I am sure at times the b...
New

Author Spotlight
Erin Dees
@undees
Welcome to our new author spotlight! We had the pleasure of chatting with Erin Dees, co-author of ...
New

I have always used antique keyboards like Cherry MX 1800 or Cherry MX 8100 and almost always have modified the switches in some way, like...
New
Categories:
Sub Categories:
Popular Portals
- /elixir
- /rust
- /wasm
- /ruby
- /erlang
- /phoenix
- /keyboards
- /rails
- /js
- /python
- /security
- /go
- /swift
- /vim
- /clojure
- /emacs
- /java
- /haskell
- /onivim
- /svelte
- /typescript
- /crystal
- /c-plus-plus
- /kotlin
- /tailwind
- /gleam
- /react
- /flutter
- /elm
- /ocaml
- /vscode
- /ash
- /opensuse
- /centos
- /php
- /deepseek
- /html
- /zig
- /scala
- /sublime-text
- /textmate
- /debian
- /nixos
- /lisp
- /agda
- /react-native
- /kubuntu
- /arch-linux
- /ubuntu
- /revery
- /spring
- /manjaro
- /django
- /diversity
- /nodejs
- /lua
- /c
- /julia
- /slackware
- /markdown