无法从我在 jfrog 上的 pub 存储库将自托管包加载到我的颤振项目中。看起来 jfrog 上是否有任何特定的 pub 版本可以设置?
发布规范.yaml
dependencies:
flutter:
sdk: flutter
characters:
hosted: https://jfrog/artifactory/pub-local
version: 1.2.0
回复:
: HTTP response 406 Not Acceptable for GET https://jfrog/artifactory/pub-local/api/packages/characters
Pub 2.16.1 is incompatible with the current version of jfrog.int.
Upgrade pub to the latest version and try again.