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

Could not find net.zhuoweizhang:swiftandroid:1.0.0. #2

Open
MihaelIsaev opened this issue Aug 31, 2020 · 5 comments
Open

Could not find net.zhuoweizhang:swiftandroid:1.0.0. #2

MihaelIsaev opened this issue Aug 31, 2020 · 5 comments

Comments

@MihaelIsaev
Copy link

Could you help please? 🙏

Screenshot 2020-08-31 at 05 15 35

I'm trying to launch this demo app https://github.com/MillerTechnologyPeru/BluetoothExplorer which uses your toolchain 🙂

@MihaelIsaev
Copy link
Author

Screenshot 2020-08-31 at 05 16 54

In /Users/mik/.m2 it is exists but it still won't find it for some reason. How could I help it it find it?

@MihaelIsaev
Copy link
Author

Woah, my bad! Now I see that that file is not named as swiftandroid but as AndroidApp. I just tried to fix gradle to use v6 instead of v4 and accidentally replaced settings.gradle so it used the wrong name for swiftandroid jar generation.

@MihaelIsaev
Copy link
Author

Screenshot 2020-08-31 at 05 29 18

Huge progress! But it won't compile swift for some reason...

@MihaelIsaev
Copy link
Author

Screenshot 2020-08-31 at 05 36 31

Ok in details I see that the problem is in `/usr/lib/swift/android/armv7/Swift.swiftmodule` modeule which is part of `android-toolchain 4.1` so it means that it is for Swift 4.1 while I'm on 5.2 already... and 5.3 comes very soon. And there are no newer version of `android toolchain` for some reason...

@MihaelIsaev
Copy link
Author

Ok I tried to switch to swift-android-toolchain made by flowkey https://github.com/flowkey/swift-android-toolchain/tree/39847709123f88d577389392711171a1346b6701 cause it is Swift 5.2 but I'm getting weird error
Screenshot 2020-08-31 at 05 45 44

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

1 participant