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

Double application #57

Open
mateobosco opened this issue Jul 20, 2015 · 15 comments
Open

Double application #57

mateobosco opened this issue Jul 20, 2015 · 15 comments

Comments

@mateobosco
Copy link

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.
device-2015-07-20-150843

@RDengue
Copy link

RDengue commented Jul 24, 2015

add the project as module ,next clear the intent-filter in AndroidManifest in module ProgressWheel . I hope help you . regards

@mateobosco
Copy link
Author

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?

@marcosholgado
Copy link

@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.

@Todd-Davies
Copy link
Owner

If it's urgent, you can submit a pull request. Otherwise, I'll get around to doing this at some point. Thanks!

@Todd-Davies
Copy link
Owner

Hey @mateobosco, @Orbycius, this should be fixed now :)

@sangrime
Copy link

Is it fixed? I still can see two apps..

@Todd-Davies
Copy link
Owner

Are you using the latest version @sangrime? This should be fixed in e6241f9.

@hoseinit
Copy link

@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?

@o-ayoub
Copy link

o-ayoub commented Feb 25, 2019

Hello
How can I reslove this issue:
Failed to resolve: com.github.Todd-Davies:ProgressWheel:1.2

Thanks

@AkioAlex0817
Copy link

AkioAlex0817 commented Mar 8, 2019

I also can not resolve com.github.Todd-Davies:ProgressWheel:1.2
Please tell me, how can I fix it?
Thank you~

@choyisus
Copy link

this theme is from 2015 four years a go :(
where is
todd davies

@Todd-Davies
Copy link
Owner

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!

[1] https://developer.android.com/about/dashboards

@choyisus
Copy link

thanks for coming :) im a fan of you :)

@choyisus
Copy link

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!

[1] https://developer.android.com/about/dashboards

hey todd the fix of two apk's work ?
if not work the wheel i can remove from my apk how ////thanks

@SalilLuley
Copy link

I resolved this issue by donwngrading the version to
implementation 'com.github.Todd-Davies:ProgressWheel:1.0'

Cheers

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

No branches or pull requests

10 participants