[Android Q&A, Help & Troubleshooting] _wheen:
I'm having trouble compiling Cyanogenmod's Apollo Music Player from source (I'd link to Github, but <10 posts).

Eclipse threw up a bunch of errors when first imported the project, and to remedy those I:

Manually referenced the anrdoid-support-v4.jar library

Removed a bunch of @Overrides in front of seemingly arbitrary functions that Eclipse was getting angry at.

Now it compiles, but crashes first thing with the error:

java.lang.RuntimeException: Unable to instantiate activity ComponentInfo{com.andrew.apollo/com.andrew.apollo.activities.MusicLibrary}: java.lang.ClassNotFoundException: com.andrew.apollo.activities.MusicLibrary

Full error message:

08-26 20:48:02.845: E/AndroidRuntime(525): FATAL EXCEPTION: main
08-26 20:48:02.845: E/AndroidRuntime(525): java.lang.RuntimeException: Unable to instantiate activity ComponentInfo{com.andrew.apollo/com.andrew.apollo.activities.MusicLibrary}: java.lang.ClassNotFoundException: com.andrew.apollo.activities.MusicLibrary
08-26 20:48:02.845: E/AndroidRuntime(525):	at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:1880)
08-26 20:48:02.845: E/AndroidRuntime(525):	at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:1981)
08-26 20:48:02.845: E/AndroidRuntime(525):	at android.app.ActivityThread.access$600(ActivityThread.java:123)
08-26 20:48:02.845: E/AndroidRuntime(525):	at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1147)
08-26 20:48:02.845: E/AndroidRuntime(525):	at android.os.Handler.dispatchMessage(Handler.java:99)
08-26 20:48:02.845: E/AndroidRuntime(525):	at android.os.Looper.loop(Looper.java:137)
08-26 20:48:02.845: E/AndroidRuntime(525):	at android.app.ActivityThread.main(ActivityThread.java:4424)
08-26 20:48:02.845: E/AndroidRuntime(525):	at java.lang.reflect.Method.invokeNative(Native Method)
08-26 20:48:02.845: E/AndroidRuntime(525):	at java.lang.reflect.Method.invoke(Method.java:511)
08-26 20:48:02.845: E/AndroidRuntime(525):	at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:784)
08-26 20:48:02.845: E/AndroidRuntime(525):	at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:551)
08-26 20:48:02.845: E/AndroidRuntime(525):	at dalvik.system.NativeStart.main(Native Method)
08-26 20:48:02.845: E/AndroidRuntime(525): Caused by: java.lang.ClassNotFoundException: com.andrew.apollo.activities.MusicLibrary
08-26 20:48:02.845: E/AndroidRuntime(525):	at dalvik.system.BaseDexClassLoader.findClass(BaseDexClassLoader.java:61)
08-26 20:48:02.845: E/AndroidRuntime(525):	at java.lang.ClassLoader.loadClass(ClassLoader.java:501)
08-26 20:48:02.845: E/AndroidRuntime(525):	at java.lang.ClassLoader.loadClass(ClassLoader.java:461)
08-26 20:48:02.845: E/AndroidRuntime(525):	at android.app.Instrumentation.newActivity(Instrumentation.java:1023)
08-26 20:48:02.845: E/AndroidRuntime(525):	at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:1871)
08-26 20:48:02.845: E/AndroidRuntime(525):	... 11 more

This happens in a 4.0.4 emulator and on my stock, unrooted VZW Galaxy Nexus.

I've checked, and com.andrew.apollo.activities.MusicLibrary does exist, and I get the exact same error message if I change the android:name attribute to an arbitrary class that definitely doesn't exist (With MusicLibrary substituted out for the arbitrary nonexistent class' name).

I've spent 5 hours trying to get this damn thing to compile correctly. Any help would be appreciated greatly.