Account Options

  1. Sign in
The old Google Groups will be going away soon, but your browser is incompatible with the new version.
Google Groups Home
« Groups Home
Unable To Integrate ACRA
There are currently too many topics in this group that display first. To make this topic appear first, remove this option from another topic.
There was an error processing your request. Please try again.
flag
  3 messages - Collapse all  -  Translate all to Translated (View all originals)
The group you are posting to is a Usenet group. Messages posted to this group will make your email address visible to anyone on the Internet.
Your reply message has not been sent.
Your post was successful
 
From:
To:
Cc:
Followup To:
Add Cc | Add Followup-to | Edit Subject
Subject:
Validation:
For verification purposes please type the characters you see in the picture below or the numbers you hear by clicking the accessibility icon. Listen and type the numbers you hear
 
Michael  
View profile  
 More options Jan 7 2012, 4:29 pm
From: Michael <michaell...@gmail.com>
Date: Sat, 7 Jan 2012 13:29:10 -0800 (PST)
Local: Sat, Jan 7 2012 4:29 pm
Subject: Unable To Integrate ACRA
I have followed the getting started instructions
http://code.google.com/p/acra/wiki/BasicSetup and been successful up
to:

Above the declaration of the MyApplication class, add the
@ReportsCrashes annotation with your Google Docs formKey as a
parameter.

At this point, I have the imports working:
    import org.acra.*;
    import org.acra.annotation.*;

but I get an error on @ReportsCrashes(formKey = "My Google Doc Key
Here")
stating "ReportsCrashes cannot be resolved to a type" as well as "The
attribute formKey is undefined for the annotation type ReportsCrashes"

What I have done differently from the guide up to this point is that
the application subclass is not in the package root; instead it was
integrated into an existing application subclass in a package with a
few other classes. I can't, however, see why that would make a
difference,

I have also tried downloading and copying a fresh .jar file into the
lib folder just in case the original file had been corrupted in the
download.

Any ideas?

Michael


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Michael  
View profile  
 More options Jan 7 2012, 5:45 pm
From: Michael <michaell...@gmail.com>
Date: Sat, 7 Jan 2012 14:45:23 -0800 (PST)
Local: Sat, Jan 7 2012 5:45 pm
Subject: Re: Unable To Integrate ACRA
Everything is now working.

I'm not sure what fixed it, but I did the following
- Removed the .jar file from the project
- Removed references in the build path
- Restarted Eclipse

What was odd was that the sources jar was somehow on the build path.
As well, when I removed the acra-4.2.2.jar, I was getting errors that
the javadoc file was necessary and could not be found.

In any case, it now works.

Michael

On Jan 7, 4:29 pm, Michael <michaell...@gmail.com> wrote:


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Oleg Vaskevich  
View profile  
 More options May 29 2012, 2:47 pm
From: Oleg Vaskevich <theol...@gmail.com>
Date: Tue, 29 May 2012 11:47:21 -0700 (PDT)
Local: Tues, May 29 2012 2:47 pm
Subject: Re: Unable To Integrate ACRA

I had a similar issue. Reason was that I added the javadoc JAR instead of
the JAR in the build directory. The Application subclass does not have to
be in the project root as long as you properly reference it in the
AndroidManifest.xml file (i.e.: ".ui.core.MyApplication")


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
End of messages
« Back to Discussions « Newer topic     Older topic »