Using the new jetpack compose
Creating a simple desktop application to control devices with adb. Looking to use this to measure Android application performance.
Right now, you can manage adb wireless connections.
https://www.jetbrains.com/lp/compose/
- Open with Intellij
- Go to gradle, compose desktop, run
This command is what we are looking for. But it does not work. It seems to be an issue that will be resolved in java 19 JetBrains/compose-multiplatform#1666 (comment).
./gradlew createDistributable
I couldn't update yet because it seems jetpack compose does not yet support it.
So we can make a jar for now
./gradlew packageUberJarForCurrentOS
java -jar build/compose/jars/adb-desktop-linux-x64-1.0.0.jar
You can also run with this
./gradlew run