-
Notifications
You must be signed in to change notification settings - Fork 812
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
Unable to use this library in Android Studio #48
Comments
I had the same problem I think, and I used this work-around to fix it: in the JazzyViewPager's AndroidManifest.xml (NOT your main app's manifest), add the tools xml namespace (
It's very strange though, I use other library projects without having this problem. |
@d370urn3ur Not so strange... there should not be an application tag in a library's manifest. AllowBackup="true" also is problematic, as well as theme. |
True, now that I understand Android Studio better, might as well just remove entire node |
Yes, that would be best. Even better if it were on maven central for gradle dependency import. |
None of the above solutions is working for me. Any additional help??? |
just comment out everything in the jazzyViewPager's AndroidManifest.xml. LIke this:
|
Still not working |
do you have any other library projects that contain application tags in their manifests? only your main module's manifest should have an application tag. Otherwise, I can't really diagnose your problem without seeing your project, it is hosted on Github? My problem was caused by having an activity node in the JazzyViewPager manifest that was replacing my main activity when it was merged with the manifest merger, I am assuming because it was using the MAIN/LAUNCHER intent filter. |
Thanks but found another library that works pretty much like this and that's working fine |
Can I please get a guide on how to setup this library in Android Studio. Whenever, I try to run a project based on this library from Android Studio, this library itself gets built as project and runs as an app instead of the main app that I've built using this library.
The text was updated successfully, but these errors were encountered: