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

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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 23, 20262026-05-23T01:19:34+00:00 2026-05-23T01:19:34+00:00

Hello good people of Stack Overflow, I am having trouble with an application I

  • 0

Hello good people of Stack Overflow, I am having trouble with an application I am writing, as evident from my title. What I am trying to do is simply play a song, looping, and whenever the screen is touched for a sound effect to play. I am doing this using the libgdx library, as I am attempting to learn it for more advanced use. Here is the code.

package main;

import com.badlogic.gdx.ApplicationListener;
import com.badlogic.gdx.Gdx;
import com.badlogic.gdx.audio.Music;
import com.badlogic.gdx.audio.Sound;

public class AudioExample implements ApplicationListener {
    Music music;
    Sound sound;

    @Override
    public void create() {
        music = Gdx.audio.newMusic(Gdx.files.internal("data/02 - Butterfly.mp3"));
        sound = Gdx.audio.newSound(Gdx.files.internal("data/Collision8-Bit.ogg"));

        music.setLooping(true);
        music.setVolume(0.5f);
        music.play();
    }

    @Override
    public void dispose() {
        music.dispose();
        sound.dispose();
    }

    @Override
    public void pause() {
    }

    @Override
    public void render() {
        if (Gdx.input.justTouched()) 
            sound.play();
    }

    @Override
    public void resize(int arg0, int arg1) {
    }

    @Override
    public void resume() {
    }

}

And here’s the activity.

package com.habel;

import main.AudioExample;

import com.badlogic.gdx.backends.android.AndroidApplication;

import android.os.Bundle;

public class SuperAwesome extends AndroidApplication {
    @Override
    public void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        initialize(new AudioExample(), false);
    }
}

The app will not even launch. Thank you for your help in advance.

06-11 22:12:40.700: ERROR/dalvikvm(19767): could not disable core file generation for pid 19767, errno=1
06-11 22:12:40.809: ERROR/AndroidRuntime(19767): FATAL EXCEPTION: main
06-11 22:12:40.809: ERROR/AndroidRuntime(19767): java.lang.RuntimeException: Unable to instantiate activity ComponentInfo{com.habel/com.habel.SuperAweomeActivity}: java.lang.ClassNotFoundException: com.habel.SuperAweomeActivity in loader dalvik.system.PathClassLoader[/data/app/com.habel-2.apk]
06-11 22:12:40.809: ERROR/AndroidRuntime(19767):     at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2659)
06-11 22:12:40.809: ERROR/AndroidRuntime(19767):     at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2753)
06-11 22:12:40.809: ERROR/AndroidRuntime(19767):     at android.app.ActivityThread.access$2500(ActivityThread.java:129)
06-11 22:12:40.809: ERROR/AndroidRuntime(19767):     at android.app.ActivityThread$H.handleMessage(ActivityThread.java:2107)
06-11 22:12:40.809: ERROR/AndroidRuntime(19767):     at android.os.Handler.dispatchMessage(Handler.java:99)
06-11 22:12:40.809: ERROR/AndroidRuntime(19767):     at android.os.Looper.loop(Looper.java:143)
06-11 22:12:40.809: ERROR/AndroidRuntime(19767):     at android.app.ActivityThread.main(ActivityThread.java:4701)
06-11 22:12:40.809: ERROR/AndroidRuntime(19767):     at java.lang.reflect.Method.invokeNative(Native Method)
06-11 22:12:40.809: ERROR/AndroidRuntime(19767):     at java.lang.reflect.Method.invoke(Method.java:521)
06-11 22:12:40.809: ERROR/AndroidRuntime(19767):     at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:868)
06-11 22:12:40.809: ERROR/AndroidRuntime(19767):     at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:626)
06-11 22:12:40.809: ERROR/AndroidRuntime(19767):     at dalvik.system.NativeStart.main(Native Method)
06-11 22:12:40.809: ERROR/AndroidRuntime(19767): Caused by: java.lang.ClassNotFoundException: com.habel.SuperAweomeActivity in loader dalvik.system.PathClassLoader[/data/app/com.habel-2.apk]
06-11 22:12:40.809: ERROR/AndroidRuntime(19767):     at dalvik.system.PathClassLoader.findClass(PathClassLoader.java:243)
06-11 22:12:40.809: ERROR/AndroidRuntime(19767):     at java.lang.ClassLoader.loadClass(ClassLoader.java:573)
06-11 22:12:40.809: ERROR/AndroidRuntime(19767):     at java.lang.ClassLoader.loadClass(ClassLoader.java:532)
06-11 22:12:40.809: ERROR/AndroidRuntime(19767):     at android.app.Instrumentation.newActivity(Instrumentation.java:1021)
06-11 22:12:40.809: ERROR/AndroidRuntime(19767):     at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2651)
06-11 22:12:40.809: ERROR/AndroidRuntime(19767):     ... 11 more
06-11 22:12:40.817: ERROR/ANRInfo(1259): Force Close Dialog not Displayed - showDialog=true mSleeping=true
  • 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-05-23T01:19:35+00:00Added an answer on May 23, 2026 at 1:19 am

    Your log message says:

    06-11 22:12:40.809: ERROR/AndroidRuntime(19767): java.lang.RuntimeException: Unable to instantiate activity ComponentInfo{com.habel/com.habel.SuperAweomeActivity}: java.lang.ClassNotFoundException: com.habel.SuperAweomeActivity in loader dalvik.system.PathClassLoader[/data/app/com.habel-2.apk]
    

    You spelled Awesome as Aweome (probably in your manifest), so it can’t find your Activity

    (also, it look like it’s called SuperAwesome not SuperAwesomeActivity)

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

Sidebar

Related Questions

Hello again ladies and gents! OK, following on from my other question on ASP.NET
Hello I was writing a Regular Expression (first time in my life I might
Hello we have an SQL server application running over a low bandwith connection. We
Hello I have the following error by git-fsck, which cannot be cleaned by git-gc
Hello can anybody solve this please I'm creating the object in the action class
Hello I am compiling a program with make but I get the error of
Hello , I am currently working on the student association's website. The student's association
Hello all you helpful folks @ stackoverflow! Best resources for Java GUI's? Looking at
Hello I am working with a simulator that uses rcS scripts to boot, this
Hello there and Merry Christmas !!! I am new to WPF and I am

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.