Android Question when connect b4a 13.0 with usb cable

Samara

Member
An error occurred.
* daemon not running; starting now at tcp:5037
* daemon started successfully
error: protocol fault (couldn't read status): Connection reset by peer
 

Samara

Member
I tried to redo all the installation steps and used the SDK manager to install all the suggested items and I encountered this error, but I'm not sure if it has anything to do with this or not.

Log:
] 33% Installing Android SDK Platform 28
Warning: An error occurred while preparing SDK package Android SDK Platform 28: Connection reset.
java.net.SocketException: Connection reset
at java.base/sun.nio.ch.NioSocketImpl.implRead(NioSocketImpl.java:313)
at java.base/sun.nio.ch.NioSocketImpl.read(NioSocketImpl.java:340)
at java.base/sun.nio.ch.NioSocketImpl$1.read(NioSocketImpl.java:789)
at java.base/java.net.Socket$SocketInputStream.read(Socket.java:1025)
at java.base/sun.security.ssl.SSLSocketInputRecord.read(SSLSocketInputRecord.java:483)
at java.base/sun.security.ssl.SSLSocketInputRecord.readHeader(SSLSocketInputRecord.java:477)
at java.base/sun.security.ssl.SSLSocketInputRecord.decode(SSLSocketInputRecord.java:160)
at java.base/sun.security.ssl.SSLTransport.decode(SSLTransport.java:111)
at java.base/sun.security.ssl.SSLSocketImpl.decode(SSLSocketImpl.java:1510)
at java.base/sun.security.ssl.SSLSocketImpl.readHandshakeRecord(SSLSocketImpl.java:1425)
at java.base/sun.security.ssl.SSLSocketImpl.startHandshake(SSLSocketImpl.java:455)
at java.base/sun.security.ssl.SSLSocketImpl.startHandshake(SSLSocketImpl.java:426)
at java.base/sun.net.www.protocol.https.HttpsClient.afterConnect(HttpsClient.java:578)
at java.base/sun.net.www.protocol.https.AbstractDelegateHttpsURLConnection.connect(AbstractDelegateHttpsURLConnection.java:187)
at java.base/sun.net.www.protocol.https.HttpsURLConnectionImpl.connect(HttpsURLConnectionImpl.java:142)
at com.android.sdklib.repository.legacy.remote.internal.DownloadCache.openUrl(DownloadCache.java:245)
at com.android.sdklib.repository.legacy.remote.internal.DownloadCache.openDirectUrl(DownloadCache.java:329)
at com.android.sdklib.repository.legacy.LegacyDownloader.downloadFully(LegacyDownloader.java:121)
at com.android.repository.api.Downloader.downloadFullyWithCaching(Downloader.java:104)
at com.android.repository.impl.installer.BasicInstaller.doPrepare(BasicInstaller.java:74)
at com.android.repository.impl.installer.AbstractPackageOperation.prepare(AbstractPackageOperation.java:335)
at com.android.sdklib.tool.sdkmanager.SdkPackagesAction.applyPackageOperation(SdkPackagesAction.java:38)
at com.android.sdklib.tool.sdkmanager.InstallAction.execute(InstallAction.java:96)
at com.android.sdklib.tool.sdkmanager.SdkManagerCli.run(SdkManagerCli.java:104)
at com.android.sdklib.tool.sdkmanager.SdkManagerCli.main(SdkManagerCli.java:81)
at com.android.sdklib.tool.sdkmanager.SdkManagerCli.main(SdkManagerCli.java:48)
Exception in thread "Thread-0" java.lang.RuntimeException: Unable to delete directory 'C:\Android\.temp\PackageOperation01' after 10 attempts
at com.android.utils.PathUtils.deleteRecursivelyIfExists(PathUtils.java:132)
at com.android.utils.PathUtils.lambda$addRemovePathHook$0(PathUtils.java:205)
at java.base/java.lang.Thread.run(Thread.java:1589)
Caused by: java.nio.file.DirectoryNotEmptyException: C:\Android\.temp\PackageOperation01
at java.base/sun.nio.fs.WindowsFileSystemProvider.implDelete(WindowsFileSystemProvider.java:272)
at java.base/sun.nio.fs.AbstractFileSystemProvider.deleteIfExists(AbstractFileSystemProvider.java:110)
at java.base/java.nio.file.Files.deleteIfExists(Files.java:1191)
at com.android.utils.PathUtils.deleteRecursivelyIfExists(PathUtils.java:91)
... 2 more


Error:
Error: org.apache.commons.exec.ExecuteException: The stop timeout of 500 ms was exceeded (Exit value: -559038737)
 
Upvote 0
Top