Football Fans: Download the 2012 Schedule App from Google Play!


Go Back   Android Forums > Android Development > Application Development

Application Development Dev Lounge for the Coder Folks



Reply
 
LinkBack Thread Tools
Old August 27th, 2010, 03:16 PM   #1 (permalink)
New Member
 
Join Date: Aug 2010
Posts: 2
 
Device(s):
Thanks: 0
Thanked 0 Times in 0 Posts
Cry "source not found" debug error - yes I downloaded the source code.

I'm getting an error in my Android app that says "source not found" and crashes the program. I've already read a number of posts saying that the solution is to download the android source code and load that up in Eclipse, but I tried to no avail.

Here is a bunch of information that may help with my problem, let me know if you need more!

Stack:
Thread [<1> main] (Suspended (exception RuntimeException))
ActivityThread.performLaunchActivity(ActivityThrea d$ActivityRecord, Intent) line: 2663
ActivityThread.handleLaunchActivity(ActivityThread $ActivityRecord, Intent) line: 2679
ActivityThread.access$2300(ActivityThread, ActivityThread$ActivityRecord, Intent) line: 125
ActivityThread$H.handleMessage(Message) line: 2033
ActivityThread$H(Handler).dispatchMessage(Message) line: 99
Looper.loop() line: 123
ActivityThread.main(String[]) line: 4627
Method.invokeNative(Object, Object[], Class, Class[], Class, int, boolean) line: not available [native method]
Method.invoke(Object, Object...) line: 521
ZygoteInit$MethodAndArgsCaller.run() line: 868
ZygoteInit.main(String[]) line: 626
NativeStart.main(String[]) line: not available [native method]

Edit: Is is weird that the first entry is 'ActivityThrea d' with the 'd' cut off? If this is the problem, what went wrong and how do I fix it?

The line of code the debug stops on:

public void AddAnimationID(String index, Integer view)
{
>> animations.put(index, view);
}

'animations' is a Dictionary<String, Integer> and is a member of class Alien. I am calling it like:

Alien alien;
alien.AddAnimationID("idle", R.drawable.idle);

I am correct in thinking that R.drawable.idle is an int right? findViewByID takes an int for the argument...

CuddleBunny is offline  
Last edited by CuddleBunny; August 27th, 2010 at 03:38 PM.
Reply With Quote
Sponsors
Old August 28th, 2010, 05:29 PM   #2 (permalink)
Senior Member
 
Join Date: Jul 2010
Posts: 977
 
Device(s): Samsung Galaxy S II, HTC Evo 4G, Amazon Kindle Fire
Thanks: 52
Thanked 199 Times in 144 Posts
Default

Is the source it is looking for a library or an actual source file?

If it is the latter, did you create a new project using existing source?

If it is the former, did you add the JAR file to the build path?
jonbonazza is online now  
Reply With Quote
Old August 29th, 2010, 07:02 PM   #3 (permalink)
New Member
 
Join Date: Aug 2010
Posts: 2
 
Device(s):
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Quote:
Originally Posted by jonbonazza View Post
Is the source it is looking for a library or an actual source file?

If it is the latter, did you create a new project using existing source?

If it is the former, did you add the JAR file to the build path?
The file it's looking for is the Activity Thread on at the top of the stack, it seems at least. I added all of the allegedly missing source files to eclipse via jar. The project was built from scratch.
CuddleBunny is offline  
Reply With Quote
Reply

Bookmarks


Go Back   Android Forums > Android Development > Application Development User CP
Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Android 2.3 "Gingerbread" Source Code Pushed To AOSP. LBPHeretic Sprint Hero - All Things Root 13 December 29th, 2010 01:59 PM
Eclipse Android Error "Error generating final archive:Unable to get debug signature key"????? hitendrasinh Developer 101 2 December 27th, 2010 10:50 PM
Source Code Not Found? Ryanteck Application Development 3 November 25th, 2010 02:28 AM
Motorola releases open-source portions of the Droid X source code LTrain0800 Motorola Droid X 6 July 30th, 2010 09:03 PM
get error Source not found in Eclipse Android project duonginfo Application Development 0 May 12th, 2010 05:11 AM



All times are GMT -5. The time now is 11:33 AM.
Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2012, vBulletin Solutions, Inc.
Custom vBulletin Skins by: Relivo