Integrating InMobi Ads SDK in Tizen Application

Original Created Nov 28, 2017 | Regeneration Apr 22, 2026

I'm trying to integrate InMobi ads in my Tizen application. Before registering my application on InMobi, I wanted to test this feature using the .zip file mentioned in the documentation. I followed the guide at: https://developer.tizen.org/development/tizen-studio/extension-sdk/inmobi-tizen-ad-sdk-programing-guide#sdkupdate

When trying to run the NativeAdSample, I encountered an error: "unresolved inclusion adlib.h".

Later, after adding the ads framework from Package Manager, I still get these errors:

  • undefined reference to 'adlib_init'
  • undefined reference to 'adview_add_interstitial_ad'
  • undefined reference to 'adview_interstitial_load'
  • undefined reference to 'adview_interstitial_ad_register_callbacks'

The NativeAds sample included in the InMobi SDK works, but I can't get my project to work. How can I resolve these issues?

Problem Understanding

The user is facing two main issues when integrating InMobi Ads SDK:

  1. Missing header file (adlib.h) during compilation
  2. Linker errors for various adlib functions even after adding the framework

Solution Methods

  1. Resolving Missing Header File:

    • Locate the adlib.h file in the SDK package at: /files/binary/data/platforms/tizen-2.4/mobile/rootstraps/mobile-2.4-device.core/usr/include
    • Copy this file to your project's include folder
  2. Resolving Linker Errors:

    • Add "adlib" to your project's external libraries in Project Settings
    • Ensure your project's API version is 2.4 or higher (required by Tizen Store)
  3. Alternative Approach:

    • If issues persist, consider:
      • Checking the working NativeAdSample for configuration differences
      • Contacting Samsung support at tizen.ads@samsung.com
      • Visiting the Tizen community forum for additional help

Additional Tips

  • Always verify your Tizen API version meets the minimum requirement (2.4+)
  • Double-check all SDK files are properly installed through Package Manager
  • The NativeAdSample working while your project fails suggests a configuration difference - compare build settings carefully

Customize your cookie preferences

You can enable or disable non-essential cookies. Essential cookies are always on to ensure the site works properly and to keep you signed in.

Necessary

These cookies are necessary for the website to function properly and cannot be switched off. They help with things like logging in and setting your privacy preferences.

Always on

Analytics

These cookies help us improve the site by tracking which pages are most popular and how visitors move around the site.

Enable analytics cookies
Public Forum Public Forum
Employees only. Please sign in with your company account.