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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 8, 20262026-06-08T07:31:13+00:00 2026-06-08T07:31:13+00:00

I write a android app in Eclipse and use run command on my cellphone.

  • 0

I write a android app in Eclipse and use run command on my cellphone.

It’s run success on my cellphone.

But I use [Android Tools -> Export Signed Application Package…] to export my app.

Then use [adb install] to install apk on my cellphone and run.

And I got the error message:

07-22 11:20:43.537: E/AndroidRuntime(20216): Caused by: java.lang.ClassNotFoundException: com.mytest.MyActivity in loader dalvik.system.PathClassLoader[/data/app/com.mytest-1.apk]

In [Java Build Path -> Order and Export], I have been selected all.

In AndroidManifest.xml, the application attribute doesn’t have android:name.

I don’t know how to solve this problem.

I’m success use Eclipse run on my cellphone, why run error when I export the app?

please help me, 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-06-08T07:31:14+00:00Added an answer on June 8, 2026 at 7:31 am

    There seems to multiple reasons for this happening from what I have researched. Do you have a lib folder? if so change it to “libs”.

    Do you have proguard enabled? If so that may cause the problem.
    Also try unchecking the “Android #.#.#” and “Android Dependencies” in your Build Path, Order and Export.

    Check out this thread which has a bunch of other possible solutions, a lot of them deal with setting the proper ActivityName in the manifest file.
    java.lang.ClassNotFoundException on working app

    If those solutions still don’t solve the problem try these threads.

    Android: Unable to instantiate activity / ClassNotFoundException

    ClassNotFoundException Android

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

Sidebar

Related Questions

The android app reads from database but doesnt write anything to DB, the app
When I run an android app from eclipse I meet this error and my
I am using Eclipse to write my Android app and I keep getting this
My question is simple. In Android app, when we write Log.d(TAG,log message); and run
I want to write an app using Android SDK and Eclipse. I installed Android
I am attempting to write an Android app which will allow me to read
I want to write a small Android app with a GUI that should display
I am attempting to develop an Android app that allows a user to write
I write app for Android which will be communicate with HTTP server. I need
Suppose I want to write an app for Android OS that is not going

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.