Samara Member Oct 1, 2024 #1 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
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
Solution Samara Oct 4, 2024 Erel said: Delete your Android SDK and download a new one: https://www.b4x.com/b4a.html No need to open B4A Sdk Manager at all. Click to expand... I do this too! but I get adb.exe has not work error... befor version 13 working so I save adb.exe version 12.80 and after install new version(13) and replace adb.exe... problem fixed! I now this is not good way but working!
Erel said: Delete your Android SDK and download a new one: https://www.b4x.com/b4a.html No need to open B4A Sdk Manager at all. Click to expand... I do this too! but I get adb.exe has not work error... befor version 13 working so I save adb.exe version 12.80 and after install new version(13) and replace adb.exe... problem fixed! I now this is not good way but working!
Erel B4X founder Staff member Licensed User Longtime User Oct 1, 2024 #2 Are you using an updated SDK: https://www.b4x.com/b4a.html ? Which version of Windows? 64 bit? Upvote 0
Samara Member Oct 1, 2024 #3 Erel said: Are you using an updated SDK: https://www.b4x.com/b4a.html ? Which version of Windows? 64 bit? Click to expand... Yes new SDK Windows 7 64bit Upvote 0
Erel said: Are you using an updated SDK: https://www.b4x.com/b4a.html ? Which version of Windows? 64 bit? Click to expand... Yes new SDK Windows 7 64bit
Erel B4X founder Staff member Licensed User Longtime User Oct 1, 2024 #5 Switch to B4A-Bridge. ADB failed for some reason. Upvote 0
Samara Member Oct 2, 2024 #6 Erel said: Switch to B4A-Bridge. ADB failed for some reason. Click to expand... I get the compiled output with b4a-bridge. Upvote 0
Erel said: Switch to B4A-Bridge. ADB failed for some reason. Click to expand... I get the compiled output with b4a-bridge.
Samara Member Oct 2, 2024 #7 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
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)
Erel B4X founder Staff member Licensed User Longtime User Oct 4, 2024 #8 Delete your Android SDK and download a new one: https://www.b4x.com/b4a.html No need to open B4A Sdk Manager at all. Upvote 0
Delete your Android SDK and download a new one: https://www.b4x.com/b4a.html No need to open B4A Sdk Manager at all.
Samara Member Oct 4, 2024 #9 Erel said: Delete your Android SDK and download a new one: https://www.b4x.com/b4a.html No need to open B4A Sdk Manager at all. Click to expand... I do this too! but I get adb.exe has not work error... befor version 13 working so I save adb.exe version 12.80 and after install new version(13) and replace adb.exe... problem fixed! I now this is not good way but working! Upvote 0 Solution
Erel said: Delete your Android SDK and download a new one: https://www.b4x.com/b4a.html No need to open B4A Sdk Manager at all. Click to expand... I do this too! but I get adb.exe has not work error... befor version 13 working so I save adb.exe version 12.80 and after install new version(13) and replace adb.exe... problem fixed! I now this is not good way but working!
red30 Well-Known Member Licensed User Longtime User Nov 29, 2024 #10 Samara said: I do this too! but I get adb.exe has not work error... befor version 13 working so I save adb.exe version 12.80 and after install new version(13) and replace adb.exe... problem fixed! I now this is not good way but working! Click to expand... I encountered the same problem when trying to update. Where did you get version 12.80. I can't find it anywhere( Upvote 0
Samara said: I do this too! but I get adb.exe has not work error... befor version 13 working so I save adb.exe version 12.80 and after install new version(13) and replace adb.exe... problem fixed! I now this is not good way but working! Click to expand... I encountered the same problem when trying to update. Where did you get version 12.80. I can't find it anywhere(
Samara Member Nov 29, 2024 #11 red30 said: I encountered the same problem when trying to update. Where did you get version 12.80. I can't find it anywhere( Click to expand... this adb file version 12.80 Upvote 0
red30 said: I encountered the same problem when trying to update. Where did you get version 12.80. I can't find it anywhere( Click to expand... this adb file version 12.80