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

  • Home
  • SEARCH
  • 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 8220571
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 7, 20262026-06-07T13:34:04+00:00 2026-06-07T13:34:04+00:00

im just experimenting with Android + Java. Im following this guide: http://developer.android.com/training/basics/firstapp/index.html Did everything

  • 0

im just experimenting with Android + Java.

Im following this guide:
http://developer.android.com/training/basics/firstapp/index.html

Did everything just as it is. I’ve only changed “DisplayMessageActivity” class name to ” DisplayMsgActivity”
I’ve updated the manifest, and all references to this class, but Im still getting 2 errors:

-compile:
[javac] Compiling 4 source files to /home/juanchi/Dropbox/Dev/ArrayAppProject/bin/classes
[javac] /home/juanchi/Dropbox/Dev/ArrayAppProject/src/com/jnix/arrayapp/DisplayMsgActivity.java:7: duplicate class: DisplayMsgActivity
[javac] public class DisplayMsgActivity extends Activity {
[javac]        ^
[javac] /home/juanchi/Dropbox/Dev/ArrayAppProject/src/com/jnix/arrayapp/ArrayAppActivity.java:20: cannot access com.jnix.arrayapp.DisplayMsgActivity
[javac] bad class file: RegularFileObject[/home/juanchi/Dropbox/Dev/ArrayAppProject/src/com/jnix/arrayapp/DisplayMsgActivity.java]
[javac] file does not contain class com.jnix.arrayapp.DisplayMsgActivity
[javac] Please remove or make sure it appears in the correct subdirectory of the classpath.
[javac]         Intent intent = new Intent(this, DisplayMsgActivity.class);
[javac]                                          ^
[javac] 2 errors

BUILD FAILED
/home/juanchi/android-sdks/tools/ant/build.xml:680: The following error occurred while executing this line:
/home/juanchi/android-sdks/tools/ant/build.xml:693: Compile failed; see the compiler error output for details.

Total time: 5 seconds

Any ideas?

  • 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-07T13:34:05+00:00Added an answer on June 7, 2026 at 1:34 pm

    Everyone uses eclipse for learning and development. Just create projects in eclipse. You can import the source into your eclipse project and go from there. I would start with basic project inside eclipse not outside. Its way more frustrating to work outside eclipse. There are many other reasons to use eclipse, like good view of logcat, debugging etc.

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

Sidebar

Related Questions

I was just experimenting and tried putting this in the console: 4 | 2
I was just experimenting and ended up with the following snippet: public static class
I'm just starting to dive into some basic Android development and have been experimenting
I have an android app I am just experimenting things on and I cannot
I am just experimenting with the references using this code: class A { };
Being an Android newbie experimenting with GPS stuff I managed to put together this
I just started experimenting with java today (have experience with javascript and PHP) and
I'm just experimenting with Optimistic locking. I have the following class: @Entity public class
Just experimenting I've used this query on MySQL: insert into table_name (text_col) values (1919191919191919191919191...91919191)
I am just experimenting on Mutex and wrote the following code. using System; using

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.