

It is possible in Android Studio and even terminal too. Is it possible to view the whole dependency tree of our project?Īnswer is yes. Looking into different solutions like updating / removing dependencies, and plugins, and debugging the app line by line to see where and how it crashes, we simply couldn’t crack the problem. We looked at the adle file and realized that we haven’t added any such dependency in our project which might use WorkManager in any way. The initial hunch we had was there’s some other dependency in our project, which is using WorkManager and that’s why this conflict is popped up. We were pretty confident on we have only initialized WorkManager only one time, then why Android Studio is throwing this exception. You can found all the different information that you can provide, in the documentation of the gradle bintray plugin.Recently, in one of my projects, we were stuck at a very annoying exception IllegalStateException: WorkManager is already initialized. Here you have to specify your bintray username, bintray API key (you can retrieve and revoke it under Edit Your Profile -> API Key), the version, the artifact and the group of the library and other useful information. The lines ( EDIT: ) instead are responsible for the uploading of the library. Returning to the script, the lines ( EDIT: ) are responsible to build the library, generate the artifacts and link all the external dependencies that you are using.



These fields are arbitrary and you have to choose a name keep in mind that with a new update, only the version will change in the signature. So, for the example library that we have created above, the Group ID is: “ ”, the Artifact ID is: “ awesomelib” and the version is: “ 1.0.0”. As mentioned earlier, the signature of your library has the following shape: :rssparser:2.0.4 Before explaining the whole script, a clarification of the library signature is mandatory.
