Skip to content

Instantly share code, notes, and snippets.

@mildred
Created October 31, 2011 18:55
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save mildred/1328468 to your computer and use it in GitHub Desktop.
Save mildred/1328468 to your computer and use it in GitHub Desktop.
failed compilation
mildred@meryl:Projects/vanilla$ git clean -fdx ~/Projects/vanilla
Removing bin/
Removing gen/
Removing libs/
Removing local.properties
mildred@meryl:Projects/vanilla$ android update project --name VanillaMusic --path . ~/Projects/vanilla
Updated local.properties
Updated file ./build.xml
mildred@meryl:Projects/vanilla$ git st ~/Projects/vanilla
# On branch master
# Changes not staged for commit:
# (use "git add <file>..." to update what will be committed)
# (use "git checkout -- <file>..." to discard changes in working directory)
#
# modified: build.xml
#
no changes added to commit (use "git add" and/or "git commit -a")
mildred@meryl:Projects/vanilla$ git df | cat ~/Projects/vanilla
diff --git a/build.xml b/build.xml
index e75a06e..a4dfa23 100644
--- a/build.xml
+++ b/build.xml
@@ -82,12 +82,4 @@
<!-- version-tag: 1 -->
<import file="${sdk.dir}/tools/ant/build.xml" />
-
- <target name="doc" depends="-setup">
- <javadoc
- destdir="doc"
- sourcepath="${source.dir}"
- bootclasspathref="android.target.classpath"
- access="private" />
- </target>
</project>
mildred@meryl:Projects/vanilla$ ant debug ~/Projects/vanilla
Buildfile: /home/mildred/Projects/vanilla/build.xml
-set-mode-check:
-set-debug-files:
-set-debug-mode:
-debug-obfuscation-check:
-setup:
[echo] Gathering info for VanillaMusic...
[setup] Android SDK Tools Revision 15
[setup] Project Target: Android 4.0
[setup] API level: 14
[setup]
[setup] ------------------
[setup] Resolving library dependencies:
[setup] No library dependencies.
[setup]
[setup] ------------------
[setup]
[setup] WARNING: Attribute minSdkVersion in AndroidManifest.xml (5) is lower than the project target API level (14)
-build-setup:
[echo] Creating output directories if needed...
[mkdir] Created dir: /home/mildred/Projects/vanilla/libs
[mkdir] Created dir: /home/mildred/Projects/vanilla/bin
[mkdir] Created dir: /home/mildred/Projects/vanilla/bin/res
[mkdir] Created dir: /home/mildred/Projects/vanilla/gen
[mkdir] Created dir: /home/mildred/Projects/vanilla/bin/classes
-pre-build:
-code-gen:
[echo] ----------
[echo] Handling aidl files...
[aidl] No aidl files to compile.
[echo] ----------
[echo] Handling RenderScript files...
[renderscript] No renderscript files to compile.
[echo] ----------
[echo] Handling Resources...
[aapt] Generating resource IDs...
-pre-compile:
-compile:
[javac] /mnt/data/android-sdk-linux_x86/tools/ant/build.xml:600: warning: 'includeantruntime' was not set, defaulting to build.sysclasspath=last; set to false for repeatable builds
[javac] Compiling 31 source files to /home/mildred/Projects/vanilla/bin/classes
[javac] ----------
[javac] 1. ERROR in /home/mildred/Projects/vanilla/src/org/kreed/vanilla/DragListView.java (at line 351)
[javac] public boolean handleMessage(Message message)
[javac] ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[javac] The method handleMessage(Message) of type DragListView must override a superclass method
[javac] ----------
[javac] ----------
[javac] 2. ERROR in /home/mildred/Projects/vanilla/src/org/kreed/vanilla/FullPlaybackActivity.java
[javac] (at line 407)
[javac] public void onProgressChanged(SeekBar seekBar, int progress, boolean fromUser)
[javac] ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[javac] The method onProgressChanged(SeekBar, int, boolean) of type FullPlaybackActivity must override a superclass method
[javac] ----------
[javac] 3. ERROR in /home/mildred/Projects/vanilla/src/org/kreed/vanilla/FullPlaybackActivity.java
[javac] (at line 414)
[javac] public void onStartTrackingTouch(SeekBar seekBar)
[javac] ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[javac] The method onStartTrackingTouch(SeekBar) of type FullPlaybackActivity must override a superclass method
[javac] ----------
[javac] 4. ERROR in /home/mildred/Projects/vanilla/src/org/kreed/vanilla/FullPlaybackActivity.java (at line 420)
[javac] public void onStopTrackingTouch(SeekBar seekBar)
[javac] ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[javac] The method onStopTrackingTouch(SeekBar) of type FullPlaybackActivity must override a superclass method
[javac] ----------
[javac] 5. ERROR in /home/mildred/Projects/vanilla/src/org/kreed/vanilla/FullPlaybackActivity.java
[javac] (at line 449)
[javac] public boolean onLongClick(View view)
[javac] ^^^^^^^^^^^^^^^^^^^^^^
[javac] The method onLongClick(View) of type FullPlaybackActivity must override a superclass method
[javac] ----------
[javac] ----------
[javac] 6. ERROR in /home/mildred/Projects/vanilla/src/org/kreed/vanilla/LibraryActivity.java (at line 392)
[javac] public void onItemClick(AdapterView<?> list, View view, int pos, long id)
[javac] ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[javac]
[javac] The method onItemClick(AdapterView<?>, View, int, long) of type LibraryActivity must override a superclass method
[javac] ----------
[javac] 7. ERROR in /home/mildred/Projects/vanilla/src/org/kreed/vanilla/LibraryActivity.java
[javac] (at line 409)
[javac] public void afterTextChanged(Editable editable)
[javac] ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[javac] The method afterTextChanged(Editable) of type LibraryActivity must override a superclass method
[javac] ----------
[javac] 8. ERROR in /home/mildred/Projects/vanilla/src/org/kreed/vanilla/LibraryActivity.java (at line 414)
[javac] public void beforeTextChanged(CharSequence s, int start, int count, int after)
[javac]
[javac] ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[javac] The method beforeTextChanged(CharSequence, int, int, int) of type LibraryActivity must override a superclass method
[javac] ----------
[javac] 9. ERROR in /home/mildred/Projects/vanilla/src/org/kreed/vanilla/LibraryActivity.java (at line 419)
[javac] public void onTextChanged(CharSequence text, int start, int before, int count)
[javac]
[javac] ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[javac] The method onTextChanged(CharSequence, int, int, int) of type LibraryActivity must override a superclass method
[javac] ----------
[javac] 10. ERROR in /home/mildred/Projects/vanilla/src/org/kreed/vanilla/LibraryActivity.java (at line 885)
[javac] public void run()
[javac] ^^^^^
[javac] The method run() of type new Runnable(){} must override a superclass method
[javac] ----------
[javac] 11. ERROR in /home/mildred/Projects/vanilla/src/org/kreed/vanilla/LibraryActivity.java (at line 1002)
[javac] public void onTabChanged(String tag)
[javac] ^^^^^^^^^^^^^^^^^^^^^^^^
[javac] The method onTabChanged(String) of type LibraryActivity must override a superclass method
[javac] ----------
[javac] 12. ERROR in /home/mildred/Projects/vanilla/src/org/kreed/vanilla/LibraryActivity.java
[javac] (at line 1026)
[javac] public void onClick(DialogInterface dialog, int which)
[javac] ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[javac] The method onClick(DialogInterface, int) of type LibraryActivity must override a superclass method
[javac] ----------
[javac] 13. ERROR in /home/mildred/Projects/vanilla/src/org/kreed/vanilla/LibraryActivity.java (at line 1032)
[javac] public void onDismiss(DialogInterface dialog)
[javac] ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[javac] The method onDismiss(DialogInterface) of type LibraryActivity must override a superclass method
[javac] ----------
[javac] ----------
[javac] 14. ERROR in /home/mildred/Projects/vanilla/src/org/kreed/vanilla/MediaAdapter.java
[javac] (at line 501)
[javac] public Object[] getSections()
[javac] ^^^^^^^^^^^^^
[javac] The method getSections() of type MediaAdapter must override a superclass method
[javac] ----------
[javac] 15. ERROR in /home/mildred/Projects/vanilla/src/org/kreed/vanilla/MediaAdapter.java (at line 509)
[javac] public int getPositionForSection(int section)
[javac] ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[javac] The method getPositionForSection(int) of type MediaAdapter must override a superclass method
[javac] ----------
[javac] 16. ERROR in /home/mildred/Projects/vanilla/src/org/kreed/vanilla/MediaAdapter.java
[javac] (at line 521)
[javac] public int getSectionForPosition(int position)
[javac] ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[javac] The method getSectionForPosition(int) of type MediaAdapter must override a superclass method
[javac] ----------
[javac] ----------
[javac] 17. ERROR in /home/mildred/Projects/vanilla/src/org/kreed/vanilla/PlaybackActivity.java (at line 202)
[javac] public void nextSong()
[javac] ^^^^^^^^^^
[javac] The method nextSong() of type PlaybackActivity must override a superclass method
[javac] ----------
[javac] 18. ERROR in /home/mildred/Projects/vanilla/src/org/kreed/vanilla/PlaybackActivity.java (at line 208)
[javac] public void previousSong()
[javac] ^^^^^^^^^^^^^^
[javac] The method previousSong() of type PlaybackActivity must override a superclass method
[javac] ----------
[javac] 19. ERROR in /home/mildred/Projects/vanilla/src/org/kreed/vanilla/PlaybackActivity.java (at line 223)
[javac] public void onClick(View view)
[javac] ^^^^^^^^^^^^^^^^^^
[javac] The method onClick(View) of type PlaybackActivity must override a superclass method
[javac] ----------
[javac] 20. ERROR in /home/mildred/Projects/vanilla/src/org/kreed/vanilla/PlaybackActivity.java (at line 296)
[javac] public void run()
[javac] ^^^^^
[javac] The method run() of type new Runnable(){} must override a superclass method
[javac] ----------
[javac] 21. ERROR in /home/mildred/Projects/vanilla/src/org/kreed/vanilla/PlaybackActivity.java (at line 340)
[javac] public void run()
[javac] ^^^^^
[javac] The method run() of type new Runnable(){} must override a superclass method
[javac] ----------
[javac] 22. ERROR in /home/mildred/Projects/vanilla/src/org/kreed/vanilla/PlaybackActivity.java
[javac] (at line 399)
[javac] public boolean handleMessage(Message msg)
[javac] ^^^^^^^^^^^^^^^^^^^^^^^^^^
[javac] The method handleMessage(Message) of type PlaybackActivity must override a superclass method
[javac] ----------
[javac] 23. ERROR in /home/mildred/Projects/vanilla/src/org/kreed/vanilla/PlaybackActivity.java (at line 477)
[javac] public void upSwipe()
[javac] ^^^^^^^^^
[javac] The method upSwipe() of type PlaybackActivity must override a superclass method
[javac] ----------
[javac] 24. ERROR in /home/mildred/Projects/vanilla/src/org/kreed/vanilla/PlaybackActivity.java (at line 483)
[javac] public void downSwipe()
[javac] ^^^^^^^^^^^
[javac] The method downSwipe() of type PlaybackActivity must override a superclass method
[javac] ----------
[javac] ----------
[javac] 25. ERROR in /home/mildred/Projects/vanilla/src/org/kreed/vanilla/PlaybackService.java (at line 809)
[javac] public void onCompletion(MediaPlayer player)
[javac] ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[javac] The method onCompletion(MediaPlayer) of type PlaybackService must override a superclass method
[javac] ----------
[javac] 26. ERROR in /home/mildred/Projects/vanilla/src/org/kreed/vanilla/PlaybackService.java
[javac] (at line 820)
[javac] public boolean onError(MediaPlayer player, int what, int extra)
[javac] ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[javac] The method onError(MediaPlayer, int, int) of type PlaybackService must override a superclass method
[javac] ----------
[javac] 27. ERROR in /home/mildred/Projects/vanilla/src/org/kreed/vanilla/PlaybackService.java (at line 905)
[javac] public void onSharedPreferenceChanged(SharedPreferences settings, String key)
[javac]
[javac] ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[javac] The method onSharedPreferenceChanged(SharedPreferences, String) of type PlaybackService must override a superclass method
[javac] ----------
[javac] 28. ERROR in /home/mildred/Projects/vanilla/src/org/kreed/vanilla/PlaybackService.java (at line 951)
[javac] public boolean handleMessage(Message message)
[javac] ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[javac] The method handleMessage(Message) of type PlaybackService must override a superclass method
[javac] ----------
[javac] 29. ERROR in /home/mildred/Projects/vanilla/src/org/kreed/vanilla/PlaybackService.java
[javac] (at line 1053)
[javac] public void activeSongReplaced(int delta, Song song)
[javac] ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[javac] The method activeSongReplaced(int, Song) of type PlaybackService must override a superclass method
[javac] ----------
[javac] 30. ERROR in /home/mildred/Projects/vanilla/src/org/kreed/vanilla/PlaybackService.java (at line 1238)
[javac] public void timelineChanged()
[javac] ^^^^^^^^^^^^^^^^^
[javac] The method timelineChanged() of type PlaybackService must override a superclass method
[javac] ----------
[javac] ----------
[javac] 31. ERROR in /home/mildred/Projects/vanilla/src/org/kreed/vanilla/PlaylistActivity.java
[javac] (at line 126)
[javac] public void onClick(View view)
[javac] ^^^^^^^^^^^^^^^^^^
[javac] The method onClick(View) of type PlaylistActivity must override a superclass method
[javac] ----------
[javac] 32. ERROR in /home/mildred/Projects/vanilla/src/org/kreed/vanilla/PlaylistActivity.java (at line 145)
[javac] public void onItemClick(AdapterView<?> adapterView, View view, int position, long id
[javac] )
[javac] ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[javac] The method onItemClick(AdapterView<?>, View, int, long) of type PlaylistActivity must override a superclass method
[javac] ----------
[javac] 33. ERROR in /home/mildred/Projects/vanilla/src/org/kreed/vanilla/PlaylistActivity.java (at line 159)
[javac] public void onClick(DialogInterface dialog, int which)
[javac] ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[javac] The method onClick(DialogInterface, int) of type PlaylistActivity must override a superclass method
[javac] ----------
[javac] ----------
[javac] 34. ERROR in /home/mildred/Projects/vanilla/src/org/kreed/vanilla/PlaylistAdapter.java
[javac] (at line 136)
[javac] public boolean handleMessage(Message message)
[javac] ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[javac] The method handleMessage(Message) of type PlaylistAdapter must override a superclass method
[javac] ----------
[javac] ----------
[javac] 35. ERROR in /home/mildred/Projects/vanilla/src/org/kreed/vanilla/Song.java (at line 277)
[javac] public int compareTo(Song other)
[javac] ^^^^^^^^^^^^^^^^^^^^^
[javac] The method compareTo(Song) of type Song must override a superclass method
[javac] ----------
[javac] ----------
[javac] 36. ERROR in /home/mildred/Projects/vanilla/src/org/kreed/vanilla/SongTimeline.java (at line 209)
[javac] public int compare(Song a, Song b)
[javac] ^^^^^^^^^^^^^^^^^^^^^^^
[javac] The method compare(Song, Song) of type SongTimeline.IdComparator must override a superclass method
[javac] ----------
[javac] 37. ERROR in /home/mildred/Projects/vanilla/src/org/kreed/vanilla/SongTimeline.java
[javac] (at line 224)
[javac] public int compare(Song a, Song b)
[javac] ^^^^^^^^^^^^^^^^^^^^^^^
[javac] The method compare(Song, Song) of type SongTimeline.FlagComparator must override a superclass method
[javac] ----------
[javac] 37 problems (37 errors)
BUILD FAILED
/mnt/data/android-sdk-linux_x86/tools/ant/build.xml:580: The following error occurred while executing this line:
/mnt/data/android-sdk-linux_x86/tools/ant/build.xml:600: Compile failed; see the compiler error output for details.
Total time: 16 seconds
mildred@meryl:Projects/vanilla$ git co -f . (1) ~/Projects/vanilla
mildred@meryl:Projects/vanilla$ git st ~/Projects/vanilla
# On branch master
nothing to commit (working directory clean)
mildred@meryl:Projects/vanilla$ ant debug ~/Projects/vanilla
Buildfile: /home/mildred/Projects/vanilla/build.xml
...
[javac] 37 problems (37 errors)
BUILD FAILED
/mnt/data/android-sdk-linux_x86/tools/ant/build.xml:580: The following error occurred while executing this line:
/mnt/data/android-sdk-linux_x86/tools/ant/build.xml:600: Compile failed; see the compiler error output for details.
Total time: 13 seconds
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment