Code: Select all
Image(
painter = painterResource(R.drawable.profile_picture),
contentDescription = "Contact profile picture",
)
java.lang.NoSuchFieldError: Class com.example.composetutorial.R$drawable has not have member field 'int profile_picture'
Der Name ist definitiv korrekt, ich habe sogar versucht, ihn per Drag & Drop hinzuzufügen. Was mache ich falsch?
Mobile version