Import androidx.compose: Unresolved reference: compose
Hello.
I have such problem. I’m using
Android Studio Hedgehog | 2023.1.1 Patch 2
package com.example.helloworld
import androidx.appcompat.app.AppCompatActivity
import androidx.compose.runtime.Composable
import android.os.Bundle
class MainActivity : AppCompatActivity() {
override fun onCreate(savedInstanceState: Bundle?) {
super.onCreate(savedInstanceState)
setContentView(R.layout.activity_main)
}
}
@Composable
fun PrintJson(url: String) {
}
I cannot compile it,...