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

Can't build in Android Studio #4

Closed
FredericDeRanter opened this issue Sep 23, 2019 · 3 comments
Closed

Can't build in Android Studio #4

FredericDeRanter opened this issue Sep 23, 2019 · 3 comments

Comments

@FredericDeRanter
Copy link

I tried to build the project and it complains that it can't find android_antlib_4-14-0.jar
When I add that file to the android_antlib_4-14 folder. I get another error: Program type already present: com.dsi.ant.channel.PredefinedNetwork. Since this enum is already declared in the jar library (without the ANT_PLUS_1 value)
So how do I build this?

BR,
Frederic

@haraldh
Copy link
Owner

haraldh commented Sep 24, 2019

try the no-ant branch

If you want to build with ant, you have to remove com/dsi/ant/channel/PredefinedNetwork.class from the android_antlib_4-14-0.jar

@FredericDeRanter
Copy link
Author

Perfect! Removing class from the jar-file did the trick (I didn't know it was that simple: just change the extension to zip and remove the class file, and change it back to jar). Thanks! I'm going to play around a little with this project for my crosstrainer. Thanks for the effort of putting this together!

@Mindblower909
Copy link

Dear,
I’m not a coder but very interested in transforming my iConsole+ fitness bike into an ANT compatible device in order to link my Garmin or smartphone through Strava to record all metrics like watt, RPM etc

Can you help me?

Thanks, Yves

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

3 participants