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, cause it says that compose is not found
Unresolved reference: compose
Unresolved reference: Composable
How can I solve this problem? Thanks