Сергей Лоскутников
2017-04-08 22:14:47 UTC
I have a simple android project with ndk elements. The project does not
start, because it has errors (more precisely in the place where the
program reaches AAssetManager_open) To understand the reason, I want to use
the debugger Android studio. But when I launch it, it will load the
application, think a bit and write the following error: failed to get reply
to handshake packet. I have already read the tips to turn it off, reinstall
and restart adb kill-server, adb start-server; not working. I have a
question, can anyone come across and know what to do about it. Thank you in
advance. ndk version 15.0.836...
all mistakes
failed to get reply to handshake packet
com.jetbrains.cidr.execution.debugger.backend.lldb.LLDBDriverException:
failed to get reply to handshake packet
at
com.jetbrains.cidr.execution.debugger.backend.lldb.LLDBDriver$ThrowIfNotValid.throwIfNeeded(LLDBDriver.java:143)
at
com.android.tools.ndk.run.lldb.AndroidLLDBDriver.connectPlatform(AndroidLLDBDriver.java:293)
at
com.android.tools.ndk.run.lldb.AndroidLLDBDriver.loadForLaunch(AndroidLLDBDriver.java:143)
at
com.android.tools.ndk.run.lldb.AndroidLLDBDriver.loadForAttach(AndroidLLDBDriver.java:184)
at
com.android.tools.ndk.run.AndroidNativeAppDebugProcess.prepareTarget(AndroidNativeAppDebugProcess.java:87)
at
com.android.tools.ndk.run.AndroidNativeDebugProcess.doStart(AndroidNativeDebugProcess.java:113)
at
com.jetbrains.cidr.execution.debugger.CidrDebugProcess$3.run(CidrDebugProcess.java:307)
at
com.jetbrains.cidr.execution.debugger.CidrDebugProcess$MyCommandProcessor.consume(CidrDebugProcess.java:724)
at
com.jetbrains.cidr.execution.debugger.CidrDebugProcess$MyCommandProcessor.consume(CidrDebugProcess.java:714)
at
com.intellij.util.concurrency.QueueProcessor.lambda$null$0(QueueProcessor.java:106)
at
com.intellij.util.concurrency.QueueProcessor.runSafely(QueueProcessor.java:223)
at
com.intellij.util.concurrency.QueueProcessor.lambda$wrappingProcessor$1(QueueProcessor.java:106)
at
com.intellij.util.concurrency.QueueProcessor.lambda$null$2(QueueProcessor.java:203)
at
com.intellij.util.concurrency.QueueProcessor.runSafely(QueueProcessor.java:223)
at
com.intellij.util.concurrency.QueueProcessor.lambda$startProcessing$3(QueueProcessor.java:203)
at
com.intellij.openapi.application.impl.ApplicationImpl$2.run(ApplicationImpl.java:334)
at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)
at java.util.concurrent.FutureTask.run(FutureTask.java:266)
at
java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
at
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
at java.lang.Thread.run(Thread.java:745)
start, because it has errors (more precisely in the place where the
program reaches AAssetManager_open) To understand the reason, I want to use
the debugger Android studio. But when I launch it, it will load the
application, think a bit and write the following error: failed to get reply
to handshake packet. I have already read the tips to turn it off, reinstall
and restart adb kill-server, adb start-server; not working. I have a
question, can anyone come across and know what to do about it. Thank you in
advance. ndk version 15.0.836...
all mistakes
failed to get reply to handshake packet
com.jetbrains.cidr.execution.debugger.backend.lldb.LLDBDriverException:
failed to get reply to handshake packet
at
com.jetbrains.cidr.execution.debugger.backend.lldb.LLDBDriver$ThrowIfNotValid.throwIfNeeded(LLDBDriver.java:143)
at
com.android.tools.ndk.run.lldb.AndroidLLDBDriver.connectPlatform(AndroidLLDBDriver.java:293)
at
com.android.tools.ndk.run.lldb.AndroidLLDBDriver.loadForLaunch(AndroidLLDBDriver.java:143)
at
com.android.tools.ndk.run.lldb.AndroidLLDBDriver.loadForAttach(AndroidLLDBDriver.java:184)
at
com.android.tools.ndk.run.AndroidNativeAppDebugProcess.prepareTarget(AndroidNativeAppDebugProcess.java:87)
at
com.android.tools.ndk.run.AndroidNativeDebugProcess.doStart(AndroidNativeDebugProcess.java:113)
at
com.jetbrains.cidr.execution.debugger.CidrDebugProcess$3.run(CidrDebugProcess.java:307)
at
com.jetbrains.cidr.execution.debugger.CidrDebugProcess$MyCommandProcessor.consume(CidrDebugProcess.java:724)
at
com.jetbrains.cidr.execution.debugger.CidrDebugProcess$MyCommandProcessor.consume(CidrDebugProcess.java:714)
at
com.intellij.util.concurrency.QueueProcessor.lambda$null$0(QueueProcessor.java:106)
at
com.intellij.util.concurrency.QueueProcessor.runSafely(QueueProcessor.java:223)
at
com.intellij.util.concurrency.QueueProcessor.lambda$wrappingProcessor$1(QueueProcessor.java:106)
at
com.intellij.util.concurrency.QueueProcessor.lambda$null$2(QueueProcessor.java:203)
at
com.intellij.util.concurrency.QueueProcessor.runSafely(QueueProcessor.java:223)
at
com.intellij.util.concurrency.QueueProcessor.lambda$startProcessing$3(QueueProcessor.java:203)
at
com.intellij.openapi.application.impl.ApplicationImpl$2.run(ApplicationImpl.java:334)
at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)
at java.util.concurrent.FutureTask.run(FutureTask.java:266)
at
java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
at
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
at java.lang.Thread.run(Thread.java:745)
--
You received this message because you are subscribed to the Google Groups "android-ndk" group.
To unsubscribe from this group and stop receiving emails from it, send an email to android-ndk+***@googlegroups.com.
To post to this group, send email to android-***@googlegroups.com.
Visit this group at https://groups.google.com/group/android-ndk.
To view this discussion on the web visit https://groups.google.com/d/msgid/android-ndk/9d2cebee-2692-4486-a8f9-70eed37fea08%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
You received this message because you are subscribed to the Google Groups "android-ndk" group.
To unsubscribe from this group and stop receiving emails from it, send an email to android-ndk+***@googlegroups.com.
To post to this group, send email to android-***@googlegroups.com.
Visit this group at https://groups.google.com/group/android-ndk.
To view this discussion on the web visit https://groups.google.com/d/msgid/android-ndk/9d2cebee-2692-4486-a8f9-70eed37fea08%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.