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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 19, 20262026-05-19T10:57:05+00:00 2026-05-19T10:57:05+00:00

I have made my first android app. It works fine locally. But when I

  • 0

I have made my first android app. It works fine locally. But when I upload it to the market, somehow people have problems with it. I cannot figure out what went wrong. Even when I have the stack trace:

java.lang.RuntimeException: Unable to instantiate application com.jphellemons.koopzondag.Koopzondag: java.lang.ClassNotFoundException: com.jphellemons.koopzondag.Koopzondag in loader dalvik.system.PathClassLoader[/data/app/com.jphellemons.koopzondag-2.apk]
at android.app.ActivityThread$PackageInfo.makeApplication(ActivityThread.java:715)
at android.app.ActivityThread.handleBindApplication(ActivityThread.java:4615)
at android.app.ActivityThread.access$3000(ActivityThread.java:136)
at android.app.ActivityThread$H.handleMessage(ActivityThread.java:2223)
at android.os.Handler.dispatchMessage(Handler.java:99)
at android.os.Looper.loop(Looper.java:143)
at android.app.ActivityThread.main(ActivityThread.java:5068)
at java.lang.reflect.Method.invokeNative(Native Method)
at java.lang.reflect.Method.invoke(Method.java:521)
at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:868)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:626)
at dalvik.system.NativeStart.main(Native Method)
Caused by: java.lang.ClassNotFoundException: com.jphellemons.koopzondag.Koopzondag in loader dalvik.system.PathClassLoader[/data/app/com.jphellemons.koopzondag-2.apk]
at dalvik.system.PathClassLoader.findClass(PathClassLoader.java:243)
at java.lang.ClassLoader.loadClass(ClassLoader.java:573)
at java.lang.ClassLoader.loadClass(ClassLoader.java:532)
at android.app.Instrumentation.newApplication(Instrumentation.java:945)
at android.app.ActivityThread$PackageInfo.makeApplication(ActivityThread.java:706)

Please let me know if i have to show the manifest and/or source code? I really have no idea
I will update this thread if I have the answer!

I have read about this issue here: java.lang.ClassNotFoundException on working app

So I guess that my fault is a setting in this window: can someone help me out with that?

enter image description here

Edit: I changed the first class from helloandroid.java to koopzondag.java and now i have the classcastexception. so I renamed the complete project. but now it can’t launch the resource?

edit2 : Looks like this is the issue: but how do I resolve it? http://androidforums.com/application-development/216707-classcastexception-starting-activity.html#post1905263

  • 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-19T10:57:05+00:00Added an answer on May 19, 2026 at 10:57 am

    the answer: android classcastexception on activity startup

    Quote from Maxim:

    1. Open AndroidManifest.xml

    2. Find tag application

    3. Remove attribute android:name (if exists)

    4. Add attribute android:name="android.app.Application"

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

Sidebar

Related Questions

First off thanks to all the users who have made my android developing adventure
This is my first winform app in .NET... I have made a couple of
I have an android app with links (made by linkify) that lead into other
I have developed my first Android app and I'm thinking about sending it to
I have an app on the Android Market that's throwing an exception which I've
This is my first attempt to publish an app to Android Market and I've
I have made my first webpart using WSPBuilder. When I try to deploy it
Visual Studio 2010 Express, Windows Forms. Have made myself my first little application which
I'm trying to learn how to build apps for Android. The first simple app,
I made an app which is just working fine. It displays the number of

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.