Where is ioio.lib.spi.Log?

260 views
Skip to first unread message

Al B

unread,
May 9, 2013, 7:34:08 PM5/9/13
to ioio-...@googlegroups.com
I downloaded the App-IOIO0330.zip and also checked out IOIOLib code from GitHub (https://github.com/ytai/ioio/tree/master/software/IOIOLib/src/ioio/lib/spi) and I cannot find the reference to the Log class.

Should I replace it with android.util.Log in my local version?

Also, why in version IOIO0330 and later is the IOIOLib no longer an Android project like in previous version (i.e. doesn't contain a .project file)?

Ytai Ben-Tsvi

unread,
May 9, 2013, 8:26:08 PM5/9/13
to ioio-...@googlegroups.com
There is an Android project. It moved to target/android. Use this and it will fix your other problem too.



--
You received this message because you are subscribed to the Google Groups "ioio-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to ioio-users+...@googlegroups.com.
To post to this group, send email to ioio-...@googlegroups.com.
Visit this group at http://groups.google.com/group/ioio-users?hl=en.
For more options, visit https://groups.google.com/groups/opt_out.
 
 

Al B

unread,
May 9, 2013, 8:47:26 PM5/9/13
to ioio-...@googlegroups.com
There is only one .project and it is under the App-IOIO0330/IOIOLib/target/android

and where is the ioio.lib.spi.Log class?  I cannot find it either.

Al B

unread,
May 9, 2013, 8:50:07 PM5/9/13
to ioio-...@googlegroups.com
Never mind.  Ignore my previous message.

I found it.  I had clean and build my workspace.

Thanks Ytai!

Ytai Ben-Tsvi

unread,
Jun 7, 2013, 11:45:23 AM6/7/13
to ioio-...@googlegroups.com
Have you read this? https://github.com/ytai/ioio/wiki/Eclipse-Troubleshooting

Specifically, check whether the "Corrupt Directory Structure for IOIOLibAndroid" case applies to you. I can't support you on Android Studio at this point, since I've never used it yet.


On Thu, Jun 6, 2013 at 10:32 PM, John Stoner <johns...@gmail.com> wrote:
I spent a lot of time screwing around with ADT/Eclipse trying to get anything to run on my Nexus 4  at all. I get farther with the new Android Studio, actually, but the project import doesn't seem to work with your source. 

I can make something manually that is close but I'm getting the same issue with ioio.lib.spi.Log. I have a feeling I'll need a different approach.

Ideas?

--

John Stoner

unread,
Jun 8, 2013, 10:41:41 AM6/8/13
to ioio-...@googlegroups.com
You know, when I do a fresh install of an IDE and it won't even build the default project, I'm inclined not to waste time on it. Android Studio made hello world and installed it on my phone. It Just Worked (TM). Maybe I'll dick around a bit more with Eclipse/ADT, but I spend enough time dicking around and not getting shit done at work, and this is a project I'm doing for fun, and... well, you get the idea.

Ytai Ben-Tsvi

unread,
Jun 8, 2013, 1:25:13 PM6/8/13
to ioio-...@googlegroups.com
My guess is that if you're sticking to Android Studio, you'd simply be trading off hello world time vs. messing around with uncharted territory problems...
The IOIO library and apps are not currently intended for this IDE, and the IDE itself is in Beta. Since in the Android Tools world even things that are no longer Beta tend to suck, I imagine the Beta version might cause you more grief.
There are step-by-step tutorials (e.g. SparkFun, Jaycon) for doing the installation of tools until HelloIOIO is running. They are pretty simple, especially since Android introduced their "ADT bundle", which reduced the number of installs required to 1.

Minor note:
This mailing list is read by a broad and diverse audience. Consider softening your language a bit :)

Ytai

James Nelson

unread,
Oct 19, 2014, 12:49:53 PM10/19/14
to ioio-...@googlegroups.com
Al B

To fix this issue all you need to do is remove the IOIOLib module 
  1. Right click on project 
  2. Select "open module settings" at the bottom
  3. select "IOIOLib" in the module list
  4. Click the "-" minus to remove
and change the dependency to the IOIOLibAndroid (../IOIOMAnager/build.gradle)
change the "compile project(':iOIOLib')" in the dependencies to "compile project(':iOIOLibAndroid')"


Notice "IOIOLib" is still listed in the project but it is not in bold like the others

Ytai
Android Studio may be in beta, but it is an incredible improvement over the Eclipse/ADT solution. You should really give it a shot. Also, I was able to use this with the Nexus 5 via blue tooth, but not via direct connect. Is there something I can do to make this work (via source changes) or is the Nexus 5 OTG support not compatible with the existing legacy IOIO hardware (Sparkfun 16)

All

If you  are having difficulty flashing using Nexus 5 IOIO via USB try via blue tooth. Some old version of the firmware won't show up as target devices from Nexus 5, I had to use an  old my touch G3 via USB to flash the updated ROM.

Hope this helps.

On Thursday, May 9, 2013 6:34:08 PM UTC-5, Al B wrote:

Ytai Ben-Tsvi

unread,
Oct 20, 2014, 2:53:51 AM10/20/14
to ioio-...@googlegroups.com
I recommend that you separate possible AndroidStudio-related issues from possible Nexus 5-compatiblity issues.
Try the prebuilt HelloIOIO.apk that's provided in the latest software bundle on your N5 (after upgrading your IOIO firmware to the latest version).
There should be no problem using the IOIO v1 with the N5 (with the IOIO acting as host). The only caveat is that in order to upgrade the firmware you'd need to get your hands on an older android (< 4.1), since the IOIO v1 bootloader requires that. This would be a one-time process.



--
You received this message because you are subscribed to the Google Groups "ioio-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to ioio-users+...@googlegroups.com.
To post to this group, send email to ioio-...@googlegroups.com.
Reply all
Reply to author
Forward
0 new messages