Skip to content

Instantly share code, notes, and snippets.

@pbrewczynski
Created April 13, 2013 11:14
Show Gist options
  • Select an option

  • Save pbrewczynski/5377994 to your computer and use it in GitHub Desktop.

Select an option

Save pbrewczynski/5377994 to your computer and use it in GitHub Desktop.
-compile:
[javac] Compiling 3 source files to /root/an/MyFirstApp/bin/classes
[javac] /root/an/MyFirstApp/src/com/example/myfirstapp/DisplayMessageActivity.java:7: error: duplicate class: DisplayMessageActivity
[javac] public class DisplayMessageActivity extends Activity {
[javac] ^
[javac] /root/an/MyFirstApp/src/com/example/myfirstapp/MainActivity.java:9: error: cannot access DisplayMessageActivity
[javac] import com.example.myfirstapp.DisplayMessageActivity;
[javac] ^
[javac] bad source file: /root/an/MyFirstApp/src/com/example/myfirstapp/DisplayMessageActivity.java
[javac] file does not contain class com.example.myfirstapp.DisplayMessageActivity
[javac] Please remove or make sure it appears in the correct subdirectory of the sourcepath.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment