p2p.wrox.com Forums

p2p.wrox.com Forums (http://p2p.wrox.com/index.php)
-   BOOK: Beginning Android Application Development (http://p2p.wrox.com/forumdisplay.php?f=631)
-   -   Chapter 2 - <Intents> program (http://p2p.wrox.com/showthread.php?t=85369)

BrianMcK October 16th, 2011 08:59 PM

Chapter 2 - <Intents> program
Hello all,

I imported the source code into Eclipse, attempted to run, and got the following error. . .

The JAR file C:\Android\android-sdk-windows\platforms\android-9\android.jar has no source attachment.

You can attach the source by clicking Attach Source below:

Does anybody know what the issue is here? Can it be a problem with how I installed the IDE or the SDK?

droid404 October 21st, 2011 09:31 AM

After you have imported a project you have to tell it what device to use. Have you done that?

Do Properties for the project, then Android and then select a target and click OK.

Interestingly I have just loaded the same project - no modifications - and all runs fine apart from the Launch My Browser button.


All times are GMT -4. The time now is 02:29 PM.

Powered by vBulletin®
Copyright ©2000 - 2019, Jelsoft Enterprises Ltd.
© 2013 John Wiley & Sons, Inc.