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 8316713
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 8, 20262026-06-08T21:25:20+00:00 2026-06-08T21:25:20+00:00

I have compiled the example for android pro development chapter 8. I am receiving

  • 0

I have compiled the example for android pro development chapter 8. I am receiving this error when I try and run one of the patterns on the phone.

I have checked this link to try and understand this error more clearly http://javarevisited.blogspot.co.uk/2011/06/noclassdeffounderror-exception-in.html
From my understanding this errors is created at run time and not compile time.

Here is the manifest which shows that the various activity has been successful added to the manifest

Its ok I fixed it. The problem was that there was an issues with the lib and libs folders. I removed the libs folder and removed the libraries from the lib folder and then when to the java build path and added these jar files for AdAR.jar. This fixed the issues.

07-29 21:00:06.378: E/AndroidRuntime(19501): FATAL EXCEPTION: main
07-29 21:00:06.378: E/AndroidRuntime(19501): java.lang.NoClassDefFoundError: com.paar.ch8.ModelViewer
07-29 21:00:06.378: E/AndroidRuntime(19501):    at com.paar.ch8.ModelChooser.onListItemClick(ModelChooser.java:91)
07-29 21:00:06.378: E/AndroidRuntime(19501):    at android.app.ListActivity$2.onItemClick(ListActivity.java:319)
07-29 21:00:06.378: E/AndroidRuntime(19501):    at android.widget.AdapterView.performItemClick(AdapterView.java:284)
07-29 21:00:06.378: E/AndroidRuntime(19501):    at android.widget.ListView.performItemClick(ListView.java:3763)
07-29 21:00:06.378: E/AndroidRuntime(19501):    at android.widget.AbsListView$PerformClick.run(AbsListView.java:1936)
07-29 21:00:06.378: E/AndroidRuntime(19501):    at android.os.Handler.handleCallback(Handler.java:587)
07-29 21:00:06.378: E/AndroidRuntime(19501):    at android.os.Handler.dispatchMessage(Handler.java:92)
07-29 21:00:06.378: E/AndroidRuntime(19501):    at android.os.Looper.loop(Looper.java:123)
07-29 21:00:06.378: E/AndroidRuntime(19501):    at android.app.ActivityThread.main(ActivityThread.java:3687)
07-29 21:00:06.378: E/AndroidRuntime(19501):    at java.lang.reflect.Method.invokeNative(Native Method)
07-29 21:00:06.378: E/AndroidRuntime(19501):    at java.lang.reflect.Method.invoke(Method.java:507)
07-29 21:00:06.378: E/AndroidRuntime(19501):    at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:842)
07-29 21:00:06.378: E/AndroidRuntime(19501):    at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:600)
07-29 21:00:06.378: E/AndroidRuntime(19501):    at dalvik.system.NativeStart.main(Native Method)
  • 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-06-08T21:25:21+00:00Added an answer on June 8, 2026 at 9:25 pm

    I fixed the problem. I removed the lib directory and then went to jave build path which now said the jar files are missing. I then went to add external jar and then added the files in. I then ran the project. This fixed the error.

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

Sidebar

Related Questions

I have compiled this using Visual Studio 2010 compiler and it has compiler error
I have an example Android app that I compiled in Eclipse and installed on
I have the following example, compiled in VS2005, warning level 4: int main(int argc,
I have compiled a .NET application using Any CPU option. This .NET application uses
I have compiled my application on Linux (Intel) machine using this command gcc –g
So I have been trying to run the Facebook Connect example for PhoneGap /
I have an app which I want to run on as many Android phones
I have an issue about type compatibility - check this example: GLbyte vShaderStr[] =
I have a mapview, with itemizedoverlays, exactly like in the example of android developers
I have an Android phone (Motorola Milestone) and I want to set it as

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.