Software⏱️ 3 min read📅 2026-06-04

How to Fix: Admob Error in Eclipse for android:configChanges

Eclipse error in AndroidManifest.xml: configChanges. Solution: Remove unnecessary configChanges.

Quick Answer: Remove the unnecessary configChanges values to resolve the error.

The 'configChanges' attribute in the AndroidManifest.xml file is used to specify which configuration changes should trigger a recreation of the activity. However, some values in this attribute can cause issues with AdMob ads.

This error affects developers who are using AdMob ads in their Android applications and have specified certain configuration changes in their AndroidManifest.xml file.

💡 Why You Are Getting This Error

  • The main reason for this error is that the 'configChanges' attribute contains string values, which are not allowed. According to the Android documentation, only integer values can be used for this attribute.
  • Another possible cause could be if the user has specified a non-standard configuration change value in their AndroidManifest.xml file.

✅ Best Solutions to Fix It

Specify only allowed configuration changes

  1. Step 1: Open your AndroidManifest.xml file and locate the 'activity' element.
  2. Step 2: Replace the 'configChanges' attribute with only allowed values, such as 'keyboard|keyboardHidden|orientation'. You can find a list of allowed values in the Android documentation.
  3. Step 3: Save the changes to your AndroidManifest.xml file and try running your application again.

Use a different AdMob configuration

  1. Step 1: Check if you are using an older version of AdMob that may not support certain configuration changes. You can check for updates in the AdMob dashboard.
  2. Step 2: Try using a different AdMob configuration, such as specifying the 'configChanges' attribute in your activity's onConfigurationChanged method instead of in the AndroidManifest.xml file.

✨ Wrapping Up

By following these steps, you should be able to resolve the 'Admob Error in Eclipse for android:configChanges' issue. Remember to always check the Android documentation for the latest information on configuration changes and AdMob ads.

Did this fix your problem?

If not, try searching for specific error codes.

🔍 Search Error Database

❓ Frequently Asked Questions