Joe,

Well, the first thing that irked me was the fact that the board needs a USB 
driver installed, or OSX won't even recognize the board's presence.  This 
was documented nowhere.  I had to hunt it down myself.

No problems with Java here.  The IDE launches fine and I can load source 
files into it.  It just couldn't compile the clock sample out of the box.  
It could never find the first ADK include.  It's been a while, so I don't 
remember those details off the top of my head.  I did have the board 
selected in the menu, but I can't imagine that would make much of a 
difference because the IDE is special for that board.  On the ADK web site 
there is installation step which made no sense to me:

Copy the <adk-source-download>/adk2012/board/library/ADK2 directory and its 
contents into your sketchbook/libraries/ directory, so that you create a 
sketchbook/libraries/ADK2 directory.

I didn't see anything at all about a sketchbook/libraries directory in the 
real world.  I'm assuming this step was meant to get the ADK libs into a 
place where they will be used by the clock demo or whatever program you're 
writing.  I tried to make up a bunch of possible locations to put these 
files, but no dice.  Maybe they are assuming the reader has prior Arduino 
experience, which I do not.  I was eventually able to get the clock demo to 
compile, but after deployment it locked up the hardware.  I think it wasn't 
actually building the ADK libs with the sample code.

So I switched to the command line tools.  On the command line (using the 
git source repo), when trying to build and deploy it told me I needed 
"bossac" and gave me a url to find it.  So I went and got it, but the OSX 
exe never once recognized the board.  The bossac exe that comes with the 
IDE does work, however, so I wedged that one into the command line build 
process.  The command line build still had troubles finding the ADK headers 
and sourced needed to build, so I had to copy all those manually into the 
clock demo source tree, then I was finally able to build and deploy.

I'm on OSX Lion on a Mac Mini if that makes any difference.

Doug

On Tuesday, July 10, 2012 12:07:00 PM UTC-7, Joe wrote:
>
> Hey Doug,
>
> What problems did you run into using the Mac IDE for the ADK2? I just 
> finished installing the ADK IDE and managed to upload the clock sketch. I'm 
> using a Mac Air with OS X v10.6.8.
>
> Couple of things I found that were a little tricky:
>
>    1. For some reason, my Mac's Java installation got hosed recently and 
>    I had to update to Java 1.6.0_33. After the update my Arduino IDEs (along 
>    with the ADK 2012 IDE) started working again. Prior to that update, I 
>    couldn't even get the IDE to run, error: "No compatible version of Java 
>    1.5*"
>    2. Make sure to you plug into the "Computer" micro USB port (not the 
>    "Phone" port)
>    3. Choose the correct serial port in the IDE, *Tools > Serial Port* (my 
>    Mac Air gave me 6 options) the correct port was 
> "/dev/tty.usbserial-XXXXXXX"
>    4. Choose the board *Tools > Board > Google ADK2*, otherwise the 
>    sketch won't even compile.
>
>
> On Wednesday, July 4, 2012 11:39:29 PM UTC-7, Doug wrote:
>>
>> This isn't the right place for ADK discussion, but as far as I can tell, 
>> there is no place set aside for it!
>>
>> I killed a lot of today trying to get the 2012 ADK to work and was mostly 
>> frustrated.  I'm on a Mac and I found the IDE installation instructions 
>> very much do not work and I could not manipulate it into building and 
>> flashing a working image at all.
>>
>> On the command line, I had to jump through hurdles to get the clock demo 
>> to build and deploy.  In the end, I could not get recommended bossac 
>> downloaded from sourceforge to work at all.  Eventually I had to bypass the 
>> given scripts and reached into the Mac IDE app package to use its bossac to 
>> deploy a working image.
>>
>> All things considered, I'm very disappointed in the usability of the 
>> tools that were provided for the 2012 ADK (at least for macosx) and I wish 
>> I knew where to go to remedy this.  Otherwise I pretty much give up now.
>>
>> Doug
>>
>> On Saturday, June 30, 2012 12:28:31 PM UTC-7, michael wrote:
>>>
>>> Testing the new adk2012 and having a few issues. I have  uploaded the 
>>> usbaccessory sketch, and installed the adk2012 app to the nexus 7. Then I 
>>> connect the adk & nexus with usb, expecting the adk2012 app to be 
>>> recognized as an appropriate usbaccessory, but it doesn't and nexus reports 
>>>
>>> Connected as a media device
>>> USB debugging connected
>>> Connected to a USB accessory
>>>
>>> Another question, how can I run adb from my android device while it is 
>>> simultaneously connected to my arduino kit? I was optimistic that it would 
>>> channel through the arduino and proxy to my pc, but that clearly isn't 
>>> happening :) ... ADB over bluetooth?
>>>
>>> Thanks,
>>> Michael
>>>
>>>
>>>

-- 
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

Reply via email to