To bypass this, you can temporarily add this android.disableAutomaticComponentCreation=true in your gradle.properties. : If you upgrade your Android Gradle Plugin (AGP) to version 8.0 using Upgrade Assistant in Android Studio, you get a similar message that prevents you from upgrading. Go to the package, right click, select New -> Kotlin Class/FileĮnter fullscreen mode Exit fullscreen mode.The module should be created in the root project folder. Select Android Library, update Module Name and Package Name.Choose either Empty Activity or Empty Compose Activity, click Next.So, I'm going to share the step-by-step guides on how to do it and hopefully, this can save you a lot of your time. It is mainly due to the tutorials out there (even the official documentation) are missing information and not beginner-friendly enough. So I found another easy method is to publish my Android library on JitPack.io instead.Īlthough it is simple, I still spent my whole day to figure that out. I was searching for how to publish the Android library on MavenCentral() and it turned out the process seems very complicated and troublesome. Thus, I create these most up-to-date guides to publish Android library on JitPack.io. Many tutorials are outdated and incorrect.
0 Comments
Leave a Reply. |