appyx
appyx copied to clipboard
NodeComponentActivity - JVM signature issue
While using:
class MainActivity : NodeComponentActivity() {
override fun onCreate(savedInstanceState: Bundle?) {
super.onCreate(savedInstanceState)
setContent {
...
}
}
}
I have an error during the build:
e: file:///Users/michalkonkel/Project/navigation/AppyxNavigation/composeApp/src/androidMain/kotlin/dev/michalkonkel/appyx/MainActivity.kt:12:1 Inherited platform declarations clash: The following declarations have the same JVM signature (onRequestPermissionsResult(I[Ljava/lang/String;[I)V):
fun onRequestPermissionsResult(requestCode: Int, permissions: Array<String>, grantResults: IntArray): Unit defined in dev.michalkonkel.appyx.MainActivity
fun onRequestPermissionsResult(requestCode: Int, permissions: Array<out String>, grantResults: IntArray): Unit defined in dev.michalkonkel.appyx.MainActivity
Hey @mkonkel, looks like you're using androidx.activity:activity-compose:1.9.0 in your project while in appyx we use 1.7.0. To make it compile - you need to downgrade it until we update to the latest version
Yea, that's right.
TBH, I implemented IntegrationPointProvider in MainActivuty by self to work with the problem.