Já jsem pracoval na Flutter aplikace, která integruje nativní balíček, který používá Protobuff. Pracuji na Android Studio a Mac (Apple loď).
V systému windows, aplikace staví, ale od té doby jsem pracovat na MacOs jsem již sestavení aplikace. Dostanu následující chybu:
FAILURE: Build failed with an exception.
* What went wrong:
Execution failed for task ‘:mypackage:generateDebugProto’.
> Could not resolve all files for configuration ‘:mypackage:protobufToolsLocator_protoc’.
> Could not find protoc-3.9.2-osx-aarch_64.exe (com.google.protobuf:protoc:3.9.2).
Searched in the following locations:
https://jcenter.bintray.com/com/google/protobuf/protoc/3.9.2/protoc-3.9.2-osx-aarch_64.exe
* Try:
Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output. Run with --scan to get full insights.
* Get more help at https://help.gradle.org
BUILD FAILED in 888ms
Exception: Gradle task assembleDebug failed with exit code 1
Stavět na iOS nefunguje.
Jak mohu vyřešit tuto chybu? Máte nějaké nápady na to, kde je problém přichází z?