Comments (9)
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 (xmlns:tools="http://schemas.android.com/tools"
) to the <manifest>
node, then add this line to the MainActivity node: tools:node="remove"
. Your manifest will look like this:
<?xml version="1.0" encoding="utf-8"?>
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:tools="http://schemas.android.com/tools"
package="com.jfeinstein.jazzyviewpager"
android:versionCode="1"
android:versionName="1.0" >
<uses-sdk
android:minSdkVersion="4"
android:targetSdkVersion="17" />
<application
android:allowBackup="true"
android:icon="@drawable/ic_launcher"
android:label="@string/app_name"
android:theme="@style/AppTheme" >
<activity
android:name="com.jfeinstein.jazzyviewpager.MainActivity"
android:label="@string/app_name"
tools:node="remove">
<intent-filter>
<action android:name="android.intent.action.MAIN" />
<category android:name="android.intent.category.LAUNCHER" />
</intent-filter>
</activity>
</application>
</manifest>
It's very strange though, I use other library projects without having this problem.
from jazzyviewpager.
@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.
from jazzyviewpager.
True, now that I understand Android Studio better, might as well just remove entire node
from jazzyviewpager.
Yes, that would be best. Even better if it were on maven central for gradle dependency import.
from jazzyviewpager.
None of the above solutions is working for me. Any additional help???
from jazzyviewpager.
just comment out everything in the jazzyViewPager's AndroidManifest.xml. LIke this:
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:tools="http://schemas.android.com/tools"
package="com.jfeinstein.jazzyviewpager" >
<!--<uses-sdk-->
<!--android:minSdkVersion="4"-->
<!--android:targetSdkVersion="17" />-->
<!--<application-->
<!--android:allowBackup="true"-->
<!--android:icon="@drawable/ic_launcher"-->
<!--android:label="@string/app_name"-->
<!--android:theme="@style/AppTheme" >-->
<!--<activity-->
<!--android:name="com.jfeinstein.jazzyviewpager.MainActivity"-->
<!--android:label="@string/app_name"-->
<!--tools:node="remove">-->
<!--<intent-filter>-->
<!--<action android:name="android.intent.action.MAIN" />-->
<!--<category android:name="android.intent.category.LAUNCHER" />-->
<!--</intent-filter>-->
<!--</activity>-->
<!--</application>-->
</manifest>
from jazzyviewpager.
Still not working
from jazzyviewpager.
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.
from jazzyviewpager.
Thanks but found another library that works pretty much like this and that's working fine
from jazzyviewpager.
Related Issues (20)
- Why it not works when i change the itemView to ImageView ?
- Possible zoom in animation in list-view ?
- Display Next child in same view. HOT 2
- Request: add animations as shown on Google's example
- JazzyViewpager does not work properly on android 2.3.3 HOT 1
- Scaled Flip animation HOT 1
- JazzyViewPager FragmentStatePagerAdapter HOT 2
- I wanted to try the Flipboard style animation with a view pager...
- Rare crash when scrolling
- Suggestion: add "isInEditMode" for the CTOR of JazzyViewPager
- When change view pager width and height through ViewGroup.LayoutParams,Animation doesn't work!
- how to implement Circle page indicator with this jazzy view pager?
- List view scroll not working inside view pager HOT 2
- get out nineoldandroids
- how to close recycle?
- when i scrolling,sometimes i got incorrect angle ,
- swipe from the far left to the far right or vice versa, how can Implement less of a swipe
- About 3D animation
- How to add the dependency of the JazzyViewPager using Android studio
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from jazzyviewpager.