Integration error packages integration packages not found

I have an app, it is very simple and I keep getting this error: pub get failed (server unavailable) -- attempting retry 1 in 1 second... Because bascis depends on integration_test any from sdk which

I have an app, it is very simple and I keep getting this error:

pub get failed (server unavailable) — attempting retry 1 in 1
second… Because bascis depends on integration_test any from sdk
which doesn’t exist (could not find package integration_test in the
Flutter SDK), version solving failed.

I have tried

Pup upgrade, Pub get.

How can I get rid of this error?

asked Dec 31, 2020 at 7:41

Mohamed AbdelraZek's user avatar

I had the same error after changing my channel from master to stable. I was able to fix it by removing (or commenting out) the following library from pubspec.yaml

dev_dependencies:
#  integration_test:
#    sdk: flutter

answered Jan 7, 2021 at 21:14

Texv's user avatar

1

I experienced this when I was trying to setup a flutter web project without enabling flutter web on my PC. I enabled flutter for web and everything was okay.

answered Jan 17, 2021 at 9:37

emmaakachukwu's user avatar

emmaakachukwuemmaakachukwu

4771 gold badge7 silver badges16 bronze badges

For me had to comment out sdk part like so:

dev_dependencies:
  integration_test:
   # sdk: flutter

answered Feb 15, 2021 at 12:57

Adelina's user avatar

AdelinaAdelina

10.2k1 gold badge34 silver badges45 bronze badges

It is likely due to your network problem. Because the output says (server unavailable).

Ways to debug this:

  1. Try curl https://google.com to see whether your command line can connect to network.
  2. Also try, for example, curl https://flutter.dev (or, try to curl the actual url your pub get is trying to access.

This may due to, for example, your network is broken. Or because you have a broken VPN, broken proxy, etc.

answered Dec 31, 2020 at 9:49

ch271828n's user avatar

ch271828nch271828n

14.8k4 gold badges41 silver badges79 bronze badges

3

Recommend Projects

  • React photo

    React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo

    Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo

    Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo

    TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo

    Django

    The Web framework for perfectionists with deadlines.

  • Laravel photo

    Laravel

    A PHP framework for web artisans

  • D3 photo

    D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Visualization

    Some thing interesting about visualization, use data art

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo

    Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo

    Microsoft

    Open source projects and samples from Microsoft.

  • Google photo

    Google

    Google ❤️ Open Source for everyone.

  • Alibaba photo

    Alibaba

    Alibaba Open Source for everyone

  • D3 photo

    D3

    Data-Driven Documents codes.

  • Tencent photo

    Tencent

    China tencent open source team.


Offline

Dem0n13

 


#1
Оставлено
:

13 января 2014 г. 18:37:53(UTC)

Dem0n13

Статус: Новичок

Группы: Участники

Зарегистрирован: 13.01.2014(UTC)
Сообщений: 1
Российская Федерация

Сказал(а) «Спасибо»: 1 раз

Пытаюсь установить jcp
jdk1.7.0_45, Windows 7×64, права администратора, ограничения по экспорту сняты
причем и версию jcp.1.0.46, и версию jcp-build-2.0.37027

Падает при установке, лог:

Код:

C:Users***DesktopTempjcp-build-2.0.37027>install.bat C:Javajdk1.7.0_45
Params: C:Javajdk1.7.0_45
java version "1.7.0_45"
Java(TM) SE Runtime Environment (build 1.7.0_45-b18)
Java HotSpot(TM) 64-Bit Server VM (build 24.45-b08, mixed mode)
 Volume in drive C has no label.
 Volume Serial Number is 0604-1761

 Directory of C:Users***DesktopTempjcp-build-2.0.37027

2014-01-13  17:45    <DIR>          .
2014-01-13  17:45    <DIR>          ..
2013-09-05  12:53           947,936 ASN1P.jar
2013-09-05  12:53           252,254 asn1rt.jar
2013-09-05  12:53           112,158 CAdES.jar
2013-09-05  12:53             1,476 ControlPane.bat
2013-09-05  12:53               869 ControlPane.sh
2013-09-05  12:53           172,992 cpSSL.jar
2014-01-13  17:37    <DIR>          dependencies
2014-01-13  17:37    <DIR>          Doc
2014-01-13  17:37    <DIR>          extra
2013-09-05  12:53           330,814 forms_rt.jar
2013-09-05  12:53             8,581 install.bat
2013-09-05  12:53             3,965 install.sh
2013-09-05  12:53            25,947 J6CF.jar
2013-09-05  12:53            29,079 J6Oscar.jar
2014-01-13  17:37    <DIR>          javadoc
2013-09-05  12:53           730,103 JCP.jar
2013-09-05  12:53            46,743 JCPinst.jar
2013-09-05  12:53            73,810 JCPRequest.jar
2013-09-05  12:53            41,928 JCPRevCheck.jar
2013-09-05  12:53           247,760 JCPRevTools.jar
2013-09-05  12:53            22,030 JCPxml.jar
2013-09-05  12:53            51,167 JCryptoP.jar
2014-01-13  17:45             7,078 log.txt
2013-09-05  12:53            22,274 OCF.jar
2013-09-05  12:53            34,934 Oscar.jar
2013-09-05  12:53           417,787 samples-sources.jar
2013-09-05  12:53           432,610 samples.jar
2013-09-05  12:53            21,181 TomCatSSL.jar
2013-09-05  12:53             5,544 uninstall.bat
2013-09-05  12:53             2,057 uninstall.sh
2013-09-05  12:53            31,191 xjsse4.jar
2013-09-05  12:53           152,384 XMLDSigRI.jar
              28 File(s)      4,226,652 bytes
               6 Dir(s)  35,335,909,376 bytes free
License verify:
Type: Server, sign and encrypt
Allowed amount of cores: 4
Serial number: CF10C-D0030-04NLQ-X9
Validity: Until Feb 10, 2014
Valid license.
---- Uninstall started
Start list known packages:
Loading package ru.CryptoPro.JCPRequest.RequestInstall
Package not found.
Loading package ru.CryptoPro.JCP.Install.JCPInstaller
Loading package ru.CryptoPro.Install.SelfInstaller
Loading package ru.CryptoPro.reprov.Install
Package not found.
Loading package ru.CryptoPro.JCP.KeyStore.Oscar.Installer
Loading package ru.CryptoPro.JCP.KeyStore.OCF.Install
Loading package ru.CryptoPro.JCPxml.XMLInstall
Package not found.
Loading package ru.CryptoPro.JCP.Install.JCPAsnInstaller
Package not found.
Unknown packages list:
ru.CryptoPro.JCPRequest.RequestInstall
ru.CryptoPro.JCP.Install.JCPInstaller
ru.CryptoPro.reprov.Install
ru.CryptoPro.JCPxml.XMLInstall
ru.CryptoPro.JCP.Install.JCPAsnInstaller
Known packages list:
OCF
Installer
Oscar

Start list installed packages:
Action packages list:

Executing commands:
Installed packages list was cleaned.
Tests list was cleaned.
Setting in java.security was cleaned.
Uninstall successful.
---- Hard delete started
---- Hard delete started at 2014-01-13 17:54:46.94
The system cannot find the file specified.
The system cannot find the file specified.
The system cannot find the file specified.
The system cannot find the file specified.
The system cannot find the file specified.
The system cannot find the file specified.
The system cannot find the file specified.
The system cannot find the file specified.
The system cannot find the file specified.
The system cannot find the file specified.
The system cannot find the file specified.
The system cannot find the file specified.
The system cannot find the file specified.
The system cannot find the file specified.
The system cannot find the file specified.
The system cannot find the file specified.
The system cannot find the file specified.
The system cannot find the file specified.
---- Hard delete finished
---- Uninstall finished
---- Install started
Start list known packages:
Loading package ru.CryptoPro.JCPRequest.RequestInstall
Package not found.
Loading package ru.CryptoPro.JCP.Install.JCPInstaller
ru.CryptoPro.Install.InstallError: ru.CryptoPro.Install.InstallError: Package not found.
        at ru.CryptoPro.Install.AbstractInstaller.a(Unknown Source)
        at ru.CryptoPro.Install.AbstractInstaller.a(Unknown Source)
        at ru.CryptoPro.Install.ShellInstaller.h(Unknown Source)
        at ru.CryptoPro.Install.ShellInstaller.makeAction(Unknown Source)
        at ru.CryptoPro.Install.ShellInstaller.makeActionNoEx(Unknown Source)
        at ru.CryptoPro.Install.VariantTwo.main(Unknown Source)
Caused by: ru.CryptoPro.Install.InstallError: Package not found.
        at ru.CryptoPro.Install.AbstractInstaller.a(Unknown Source)
        ... 6 more
Caused by: java.lang.NoClassDefFoundError: ru/CryptoPro/Install/PackageInterface
        at java.lang.ClassLoader.defineClass1(Native Method)
        at java.lang.ClassLoader.defineClass(ClassLoader.java:800)
        at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:142)
        at java.net.URLClassLoader.defineClass(URLClassLoader.java:449)
        at java.net.URLClassLoader.access$100(URLClassLoader.java:71)
        at java.net.URLClassLoader$1.run(URLClassLoader.java:361)
        at java.net.URLClassLoader$1.run(URLClassLoader.java:355)
        at java.security.AccessController.doPrivileged(Native Method)
        at java.net.URLClassLoader.findClass(URLClassLoader.java:354)
        at java.lang.ClassLoader.loadClass(ClassLoader.java:425)
        at java.lang.ClassLoader.loadClass(ClassLoader.java:412)
        at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:308)
        at java.lang.ClassLoader.loadClass(ClassLoader.java:412)
        at java.lang.ClassLoader.loadClass(ClassLoader.java:358)
        at java.lang.Class.forName0(Native Method)
        at java.lang.Class.forName(Class.java:270)
        ... 7 more
Caused by: java.lang.ClassNotFoundException: ru.CryptoPro.Install.PackageInterface
        at java.net.URLClassLoader$1.run(URLClassLoader.java:366)
        at java.net.URLClassLoader$1.run(URLClassLoader.java:355)
        at java.security.AccessController.doPrivileged(Native Method)
        at java.net.URLClassLoader.findClass(URLClassLoader.java:354)
        at java.lang.ClassLoader.loadClass(ClassLoader.java:425)
        at java.lang.ClassLoader.loadClass(ClassLoader.java:358)
        ... 23 more
---- Install finished
---- Script SUCCEEDED

Подскажите пожалуйста, что с этим делать?


Вверх


Offline

Евгений Афанасьев

 


#2
Оставлено
:

13 января 2014 г. 22:20:46(UTC)

Евгений Афанасьев

Статус: Сотрудник

Группы: Участники

Зарегистрирован: 06.12.2008(UTC)
Сообщений: 3,740
Российская Федерация
Откуда: Крипто-Про

Сказал(а) «Спасибо»: 20 раз
Поблагодарили: 647 раз в 610 постах

Здравствуйте.

В команде

Код:

install.bat C:Javajdk1.7.0_45

следует указывать JRE, например,

Код:

install.bat C:Javajdk1.7.0_45jre

Отредактировано пользователем 13 января 2014 г. 22:21:17(UTC)
 | Причина: Не указана

Тех. поддержка
База знаний
Логирование JCP
Логирование JTLS
Тест JCP и сбор диаг. информации
Скачать JCP, JCSP и JTLS
Скачать Android CSP + SDK


Вверх

thanks 1 пользователь поблагодарил Евгений Афанасьев за этот пост.

Dem0n13

оставлено 14.01.2014(UTC)

Пользователи, просматривающие эту тему

Guest

Быстрый переход
 

Вы не можете создавать новые темы в этом форуме.

Вы не можете отвечать в этом форуме.

Вы не можете удалять Ваши сообщения в этом форуме.

Вы не можете редактировать Ваши сообщения в этом форуме.

Вы не можете создавать опросы в этом форуме.

Вы не можете голосовать в этом форуме.

Понравилась статья? Поделить с друзьями:
  • Integer overflow victoria ошибка как исправить
  • Intel как изменить звук
  • Integer overflow txd workshop ошибка как исправить
  • Intel wireless bluetooth ошибка драйвера
  • Integer expression expected ошибка bash