Todd-Davies / ProgressWheel

A progress wheel for android, intended for use instead of the standard progress bar.
MIT License
2.64k stars 710 forks source link

Gradle dependency causes AndroidManifest errors #56

Closed sureshjoshi closed 8 years ago

sureshjoshi commented 9 years ago

After I install this dependency, I'm getting some AndroidManifest issues (Android 1.2.2 - Gradle tools 1.2.3).

Error:(11, 9) Attribute application@icon value=(@mipmap/ic_launcher) from AndroidManifest.xml:11:9 Error:(13, 9) Attribute application@theme value=(@style/AppTheme) from AndroidManifest.xml:13:9 is also present at com.github.Todd-Davies:ProgressWheel:1.0:14:9 value=(@android:style/Theme.NoTitleBar) Suggestion: add 'tools:replace="android:theme"' to element at AndroidManifest.xml:8:5 to override

sureshjoshi commented 9 years ago

Also, I think this is fixed by putting: tools:replace="android:theme, android:icon"

as the first line in the application tag in AndroidManifest, however, a dependency shouldn't cause manifest problems - might need to replace the progress wheel manifest

nayram commented 9 years ago

Hi I have the same issue and tools:replace="android:theme, android:icon" in the application of of the manifest didn't help.

r-whites commented 9 years ago

Added tools:replace="android:theme,android:icon" in the application tag of my AndroidManifest, but this cause the app ic_launcher icon to be the one of the library.

Frildoren commented 9 years ago

Same issue here :(

OmarAliSaid commented 9 years ago

same goes here

ghost commented 8 years ago

Same here :disappointed:

evansmj commented 8 years ago

Same here...

doctiger commented 8 years ago

@Todd-Davies I'm experiencing same issue. Can you please let me know if you have got a solution?