Open mateobosco opened 9 years ago
add the project as module ,next clear the intent-filter in AndroidManifest in module ProgressWheel . I hope help you . regards
That was the way that I was doing it before but now i have it as a dependency in the build.gradle
repositories {
maven { url "https://jitpack.io" }
}
dependencies {
compile 'com.github.Todd-Davies:ProgressWheel:1.0'
}
is there a way to solve this?
@mateobosco unfortunately until @Todd-Davies removes the launcher filter from the manifest you will have this issue since an app can only have one launcher filter (at least if you only want one icon).
However there's something you can do about it without having to add the project as a module.
Basically gradle merges all the manifests into one that you can find in build/intermediates/manifests/full and you can "override" the activity causing this issue. You only need to add the activity to your app manifest and remove the filters.
<activity
android:name="com.todddavies.components.progressbar.Main"
android:label="@string/app_name" >
<intent-filter tools:node="removeAll" />
</activity>
Add that to your Manifest and will be ok.
If it's urgent, you can submit a pull request. Otherwise, I'll get around to doing this at some point. Thanks!
Hey @mateobosco, @Orbycius, this should be fixed now :)
Is it fixed? I still can see two apps..
Are you using the latest version @sangrime? This should be fixed in e6241f97a.
@Todd-Davies Hi, By declaring the library version 1.0 in Gradle I still see two applications. How to use the latest version in gradle method?
Hello How can I reslove this issue: Failed to resolve: com.github.Todd-Davies:ProgressWheel:1.2
Thanks
I also can not resolve com.github.Todd-Davies:ProgressWheel:1.2 Please tell me, how can I fix it? Thank you~
this theme is from 2015 four years a go :( where is todd davies
Hey, sorry for my inactivity; I'm rather busy and this library is a legacy from another part of my life. Finding the time to maintain it properly isn't really feasible right now.
My best advice would be to avoid using the library in the first place; it was created specifically for old versions of Android (~version 2), which according to [1] has ~0.2% market share right now. Simply using the built-in Android progress spinner is likely to be far more stable and compatible, and I'm sure there must be more up-to-date libraries if you want something more fancy.
I'll do my best to fix the dependencies/build in future, but can't promise when.
Have a lovely day!
thanks for coming :) im a fan of you :)
Hey, sorry for my inactivity; I'm rather busy and this library is a legacy from another part of my life. Finding the time to maintain it properly isn't really feasible right now.
My best advice would be to avoid using the library in the first place; it was created specifically for old versions of Android (~version 2), which according to [1] has ~0.2% market share right now. Simply using the built-in Android progress spinner is likely to be far more stable and compatible, and I'm sure there must be more up-to-date libraries if you want something more fancy.
I'll do my best to fix the dependencies/build in future, but can't promise when.
Have a lovely day!
hey todd the fix of two apk's work ? if not work the wheel i can remove from my apk how ////thanks
I resolved this issue by donwngrading the version to implementation 'com.github.Todd-Davies:ProgressWheel:1.0'
Cheers
After adding the project as a dependency, when I run my application in an Android device it installs two applications, one of them is the actual application and the other one is the sample app from Progress Wheel. I cant figure out how to solve this.