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 7980861
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 4, 20262026-06-04T10:11:59+00:00 2026-06-04T10:11:59+00:00

I´m writing an application to test a library. It compiles perfectly but when I

  • 0

I´m writing an application to test a library.
It compiles perfectly but when I run it on the virtual device (2.3.3), I get this error:

*java.lang.RuntimeException: Unable to instantiate activity ComponentInfo{nicolas.luque/nicolas.luque.MyARActivity}: java.lang.ClassNotFoundException: nicolas.luque.MyARActivity in loader dalvik.system.PathClassLoader[/data/app/nicolas.luque-2.apk]

Caused by: java.lang.ClassNotFoundException: nicolas.luque.MyARActivity in loader dalvik.system.PathClassLoader[/data/app/nicolas.luque-2.apk]*

This is the activity code:

import es.ucm.look.ar.LookAR;
import es.ucm.look.data.EntityData;
import es.ucm.look.data.LookData;
import android.os.Bundle;

public class MyARActivity extends LookAR 
{
    /** Called when the activity is first created. */
    @Override
    public void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);

        EntityData data = new EntityData();
        data.setLocation(10, 0, 0);

        LookData.getInstance().getDataHandler().addEntity(data);

        LookData.getInstance().updateData();

    }

    public MyARActivity()
    {
        super(true, true, true, true, 100.0f, true);
    }
}

This is the manifest:

<?xml version="1.0" encoding="utf-8"?>
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
    package="nicolas.luque"
    android:versionCode="1"
    android:versionName="1.0" >

    <uses-sdk android:minSdkVersion="10" />
    <uses-permission android:name="android.permission.CAMERA"/>
    <application
        android:icon="@drawable/ic_launcher"
        android:label="@string/app_name" >
        <activity
            android:name=".MyARActivity"
            android:label="@string/app_name" >
            <intent-filter>
                <action android:name="android.intent.action.MAIN" />

                <category android:name="android.intent.category.LAUNCHER" />
            </intent-filter>
        </activity>
    </application>

</manifest>

I have not idea what i´m doing wrong, it seems that my activity is missing. Anyone can help me??

Thank

  • 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-06-04T10:12:02+00:00Added an answer on June 4, 2026 at 10:12 am

    Create libs folder in android project and just drag&drop the jar of your library to android project into libs folder. Build path will be automatically added and you can easily build and deploy. (Eclipse)

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

Sidebar

Related Questions

I'm writing an application that uses the wordpress-java library to display each article in
I have a small test application I'm writing in Java to parse some JSON
I'm just writing a test application to work out how I can optimise searching
I'm writing an application and started to test my domain model entities. If I
I have been writing Selenium test for web application and there seem to be
I'm writing WatiN tests to test an Ajax web application and have come across
Im writing an application that supposed to send coordinates in an SMS, but I've
I am writing an application in java (1.6) using swing. I currently have a
I'm writing a C application which uses the pcap library to log how much
I'm writing an event driven application using the libevent library for asynchronous I/O. Essentially,

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.