I'm running Intellij Idea, and I'm trying to run my app. But I keep getting the error:
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.
The closest I've gotten to an answer was this: But his solution isn't applicable to me since my android location is correct:
ANDROID_HOME=C:\Users\User\AppData\Local\Android\sdk
Here's the entire message:
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.