我正在运行Intellij Idea,我正在尝试运行我的应用程序。但我一直收到错误:
terminate called after throwing an instance of 'std::logic_error'
what(): basic_string::_S_construct null not valid
This application has requested the Runtime to terminate it in an unusual way.
Please contact the application's support team for more information.
我最接近答案was this: 但他的解决方案不适用于我,因为我的android位置是正确的:
ANDROID_HOME=C:\Users\User\AppData\Local\Android\sdk
以下是整个信息:
BUILD SUCCESSFUL
Total time: 9.868 secs
Built the following apk(s):
C:/Users/User/IdeaProjects/testapp/platforms/android/build/outputs/apk/android-debug.apk
ANDROID_HOME=C:\Users\User\AppData\Local\Android\sdk
JAVA_HOME=C:\Program Files\java\jdk1.8.0_101
No emulator specified, defaulting to AVD_GalaxyNexus_ToolsForApacheCordova
Waiting for emulator to start...
terminate called after throwing an instance of 'std::logic_error'
what(): basic_string::_S_construct null not valid
This application has requested the Runtime to terminate it in an unusual way.
Please contact the application's support team for more information.