Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 7307845
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 28, 20262026-05-28T23:28:38+00:00 2026-05-28T23:28:38+00:00

I have developed project in android3.1 and i am trying to run in android2.1

  • 0

I have developed project in android3.1 and i am trying to run in android2.1 emulator . I have added android-support-v4.jar and specified
in manifest file .can anybody tell what is problem how to solve?

02-03 15:06:08.623: E/AndroidRuntime(223): Uncaught handler: thread main exiting due to uncaught exception
02-03 15:06:08.641: E/AndroidRuntime(223): java.lang.RuntimeException: Unable to start activity ComponentInfo{com.test.fragment/com.test.fragment.FragmentTestWebActivity}: android.view.InflateException: Binary XML file line #13: Error inflating class fragment
02-03 15:06:08.641: E/AndroidRuntime(223):  at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2496)
02-03 15:06:08.641: E/AndroidRuntime(223):  at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2512)
02-03 15:06:08.641: E/AndroidRuntime(223):  at android.app.ActivityThread.access$2200(ActivityThread.java:119)
02-03 15:06:08.641: E/AndroidRuntime(223):  at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1863)
02-03 15:06:08.641: E/AndroidRuntime(223):  at android.os.Handler.dispatchMessage(Handler.java:99)
02-03 15:06:08.641: E/AndroidRuntime(223):  at android.os.Looper.loop(Looper.java:123)
02-03 15:06:08.641: E/AndroidRuntime(223):  at android.app.ActivityThread.main(ActivityThread.java:4363)
02-03 15:06:08.641: E/AndroidRuntime(223):  at java.lang.reflect.Method.invokeNative(Native Method)
02-03 15:06:08.641: E/AndroidRuntime(223):  at java.lang.reflect.Method.invoke(Method.java:521)
02-03 15:06:08.641: E/AndroidRuntime(223):  at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:860)
02-03 15:06:08.641: E/AndroidRuntime(223):  at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:618)
02-03 15:06:08.641: E/AndroidRuntime(223):  at dalvik.system.NativeStart.main(Native Method)
02-03 15:06:08.641: E/AndroidRuntime(223): Caused by: android.view.InflateException: Binary XML file line #13: Error inflating class fragment
02-03 15:06:08.641: E/AndroidRuntime(223):  at android.view.LayoutInflater.createViewFromTag(LayoutInflater.java:576)
02-03 15:06:08.641: E/AndroidRuntime(223):  at android.view.LayoutInflater.rInflate(LayoutInflater.java:618)
02-03 15:06:08.641: E/AndroidRuntime(223):  at android.view.LayoutInflater.inflate(LayoutInflater.java:407)
02-03 15:06:08.641: E/AndroidRuntime(223):  at android.view.LayoutInflater.inflate(LayoutInflater.java:320)
02-03 15:06:08.641: E/AndroidRuntime(223):  at android.view.LayoutInflater.inflate(LayoutInflater.java:276)
02-03 15:06:08.641: E/AndroidRuntime(223):  at com.android.internal.policy.impl.PhoneWindow.setContentView(PhoneWindow.java:198)
02-03 15:06:08.641: E/AndroidRuntime(223):  at android.app.Activity.setContentView(Activity.java:1622)
02-03 15:06:08.641: E/AndroidRuntime(223):  at com.test.fragment.FragmentTestWebActivity.onCreate(FragmentTestWebActivity.java:13)
02-03 15:06:08.641: E/AndroidRuntime(223):  at android.app.Instrumentation.callActivityOnCreate(Instrumentation.java:1047)
02-03 15:06:08.641: E/AndroidRuntime(223):  at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2459)
02-03 15:06:08.641: E/AndroidRuntime(223):  ... 11 more
02-03 15:06:08.641: E/AndroidRuntime(223): Caused by: java.lang.ClassNotFoundException: android.view.fragment in loader dalvik.system.PathClassLoader@48079860
02-03 15:06:08.641: E/AndroidRuntime(223):  at dalvik.system.PathClassLoader.findClass(PathClassLoader.java:243)
02-03 15:06:08.641: E/AndroidRuntime(223):  at java.lang.ClassLoader.loadClass(ClassLoader.java:573)
02-03 15:06:08.641: E/AndroidRuntime(223):  at java.lang.ClassLoader.loadClass(ClassLoader.java:532)
02-03 15:06:08.641: E/AndroidRuntime(223):  at android.view.LayoutInflater.createView(LayoutInflater.java:466)
02-03 15:06:08.641: E/AndroidRuntime(223):  at android.view.LayoutInflater.onCreateView(LayoutInflater.java:544)
02-03 15:06:08.641: E/AndroidRuntime(223):  at com.android.internal.policy.impl.PhoneLayoutInflater.onCreateView(PhoneLayoutInflater.java:66)
02-03 15:06:08.641: E/AndroidRuntime(223):  at android.view.LayoutInflater.createViewFromTag(LayoutInflater.java:563)
02-03 15:06:08.641: E/AndroidRuntime(223):  ... 20 more

thanks

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-28T23:28:38+00:00Added an answer on May 28, 2026 at 11:28 pm

    Make sure to import the Fragment from the library. Fragment in later Android versions and Fragment in the compatibility library have different packages!

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have an Android project developed on Eclipse (GNU/Linux) that I last touched half
I have developed a project which should run only in landscape mode. I set
I have developed a project (employee management system), now I am on reporting part.
I have developed a view based project in Xcode. It is successfully running in
i have been developed my last project like below as by last architecture View
I’m working on a project and have developed the high level user requirements for
I have a standard (I think) web project developed with the eclipse IDE. I
I have Client-Server environment and developed a project for Client-Server. I need to share
I have installed MAMP on my laptop and moved my web project (developed using
I am new to c++ programming, I have a c++ project developed in visual

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.