-
Notifications
You must be signed in to change notification settings - Fork 6
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
On generated MSI file getting error "failed to launch JVM" error" But in emulator every thing is OK. #21
Comments
Are you able to get more information about the error such as a full stack trace? |
Perhaps related to this, whenever I run ./gradlew runReleaseDistributable I get an error Exception in thread "main" java.lang.NoClassDefFoundError: java/lang/management/ManagementFactory. Full stacktrace:
Seems to be this method
|
Ah yes that method is not available on all runtimes but firebase depends on it, would be great to find another way to get the time since last reboot although I suspect replacing this with simply the time since the application started would suffice |
I am initializing Firebase in desktop side like this, if i commented firebsase initializationsnot getting error, so error is in initialization:
import android.app.Application
import androidx.compose.ui.window.Window
import androidx.compose.ui.window.application
import com.google.firebase.FirebasePlatform
import dev.gitlive.firebase.Firebase
import dev.gitlive.firebase.FirebaseOptions
import dev.gitlive.firebase.initialize
fun main() = application {
FirebasePlatform.initializeFirebasePlatform(object : FirebasePlatform() {
}
The text was updated successfully, but these errors were encountered: