android error: cannot use ‘throw’ with exceptions disabled

古人已用三冬足,年少今开万卷余。这篇文章主要讲述android error: cannot use ‘throw’ with exceptions disabled相关的知识,希望能为你提供帮助。
{
编辑 android.mk 文件,加入下面的代码:

LOCAL_CPP_FEATURES += exceptions

【android error: cannot use ‘throw’ with exceptions disabled】或者:
LOCAL_CPPFLAGS += -fexceptions

 
}

    推荐阅读