diff --git a/coreapi/linphonecore.c b/coreapi/linphonecore.c index dab23c275e2a4b9714f569153d0219cbdf5d1149..4e2454faf26032752a5b9ee06bcbabb99d85ff29 100644 --- a/coreapi/linphonecore.c +++ b/coreapi/linphonecore.c @@ -2342,6 +2342,8 @@ static void linphone_core_init(LinphoneCore * lc, LinphoneCoreCbs *cbs, LpConfig #ifdef __ANDROID__ if (system_context) lc->platform_helper = LinphonePrivate::createAndroidPlatformHelpers(lc, system_context); + else + ms_fatal("You must provide the Android's app context when creating the core!"); #elif TARGET_OS_IPHONE lc->platform_helper = LinphonePrivate::createIosPlatformHelpers(lc, system_context); #endif