Created
April 13, 2013 11:05
-
-
Save pbrewczynski/5377960 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
-compile: | |
[javac] Compiling 3 source files to /root/an/MyFirstApp/bin/classes | |
[javac] /root/an/MyFirstApp/src/com/example/myfirstapp/DisplayMessageActivity.java:22: error: cannot find symbol | |
[javac] String message = intent.getStringExtra(MainActivity.EXTRA_MESSAGE); | |
[javac] ^ | |
[javac] symbol: variable MainActivity | |
[javac] location: class DisplayMessageActivity | |
[javac] /root/an/MyFirstApp/src/com/example/myfirstapp/DisplayMessageActivity.java:6: error: duplicate class: DisplayMessageActivity | |
[javac] public class DisplayMessageActivity extends Activity { | |
[javac] ^ | |
[javac] /root/an/MyFirstApp/src/com/example/myfirstapp/MainActivity.java:23: error: cannot access DisplayMessageActivity | |
[javac] Intent intent = new Intent(this, DisplayMessageActivity.class); | |
[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. | |
[javac] 3 errors |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment