Skip to content
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

I want to add the xabber in my android app as sub project but getting error #923

Open
dushyantDreamz opened this issue Mar 2, 2020 · 9 comments
Labels

Comments

@dushyantDreamz
Copy link

Hello Team,

I have seen the project and its really awesome and you guys did a very fantastic job.

I want to use this code in my app but when I am importing as module its giving me bundle of errors.

Please share me the work around for it. In urgent need. Thanks in advance

@andrewnenakhov
Copy link
Member

@dushyantDreamz what exactly is you issue? We can't help you fix 'a bundle of errors'.

@dushyantDreamz
Copy link
Author

When I am importing this project into my project then its giving me errors

@andrewnenakhov
Copy link
Member

@dushyantDreamz sad to hear.

@dushyantDreamz
Copy link
Author

Its giving me some class path error. I don't know why. But If I am using any other project to import its working perfectly fine. Can you help me in this Sir?

@dushyantDreamz
Copy link
Author

@andrewnenakhov : Please assist me in this. Thanks in advance

@andrewnenakhov
Copy link
Member

@dushyantDreamz we can't help you with a problem which you refuse to describe in its entirety. We don't know what you're doing, what kind of setup you have and you even can't tell us which exact error the project gives.

@dushyantDreamz
Copy link
Author

@andrewnenakhov : Ohh I ma so sorry.

Well what is happening here that when I am cloning this current code and if run independently then its working perfectly fine but when I am importing this project as module into my other android app then its giving me errors like below:

ERROR: Unable to resolve dependency for ':app@debugUnitTest/compileClasspath': Could not resolve project :xabber.

ERROR: Unable to resolve dependency for ':app@debugAndroidTest/compileClasspath': Could not resolve project :xabber.

ERROR: Unable to resolve dependency for ':app@debug/compileClasspath': Could not resolve project :xabber.

Please help me in this. Thanks once again and humble regards.

@dushyantDreamz
Copy link
Author

@andrewnenakhov : Sir any solution for my issue ?

@popovvitaly
Copy link
Contributor

Xabber was not originally designed to be used as a module, Therefore, we cannot give specific instructions. For now, it looks like a problem in your gradle files. Have you followed the official documentation, for expamle? If you attach your Gradle files and describe in detail the steps for playback, maybe we will try to help you, but we are not sure, that it will be easy.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants