Learning the hardway I should have started with Eclipse.

I did solve this. It is a gradle plugin problem.

Adding this to the build.gradle for the project:

classpath 'com.android.tools.build:gradle:1.1.2'

so it looks like this:

dependencies {
        classpath 'com.android.tools.build:gradle:1.1.2'
    }
On Saturday, March 28, 2015 at 8:15:22 PM UTC-7, Ytai wrote:
>
> As noted earlier on this thread, until I add proper support for Android 
> Studio, I strongly recommend that you use Eclipse unless you're super 
> proficient with both Android Studio and the structure of the IOIO libraries.
>
> On Sat, Mar 28, 2015 at 2:33 PM, Justin H <[email protected] 
> <javascript:>> wrote:
>
>> New to IOIO, and returning to android programming after a long break 
>> trying to get up and running using android studio.
>>
>> I have tried the above, and all I get is:
>>
>> Error:Could not normalize path for file 
>> 'C:\Users\Shannon\AndroidStudioProjects\HelloIOIO2\iOIOLibAndroid\build\intermediates\mockable-Google
>>  
>> Inc.:Google APIs:19.jar'.
>> The filename, directory name, or volume label syntax is incorrect
>>
>> Any suggestions?
>>
>>
>> On Thursday, September 18, 2014 at 4:43:23 PM UTC-7, Johannes Rieke wrote:
>>>
>>> Hi Keenan,
>>>
>>> seen your mail just now. In case you haven't fixed it yourself yet: 
>>> Replace
>>>
>>> compileSdkVersion 19
>>>
>>> with
>>>
>>> compileSdkVersion "Google Inc.:Google APIs:19"
>>>
>>> Maybe you also have to download the Google APIs version of the SDK in 
>>> your SDK manager (although I think AndroidStudio should do that 
>>> automatically).
>>> Hope it works!
>>>
>>> Best,
>>> Johannes
>>>
>>>
>>> Am Freitag, 5. September 2014 07:43:44 UTC+2 schrieb Keenan Wurth:
>>>>
>>>> I have been having the same issue with *package com.android.future.usb 
>>>> does not exist *
>>>>
>>>> Tried changing the build.gradle to match what you guys have suggested 
>>>> but I am still getting the same issue.  When I first updated it to 
>>>> buildToolsVersion '19.0.0' I got an error suggesting that I rebuild for 
>>>> 19.1.0.  Tried leaving it on 19 and moving over to 19.1.0 with no luck.  
>>>> Any ideas guys?
>>>>
>>>> apply plugin: 'android-library'
>>>>
>>>> android {
>>>>     compileSdkVersion 19
>>>>     buildToolsVersion '19.1.0'
>>>>
>>>>     defaultConfig {
>>>>         applicationId "ioio.lib.accessory"
>>>>     }
>>>>
>>>>     buildTypes {
>>>>         release {
>>>>             runProguard false
>>>>             proguardFiles getDefaultProguardFile('proguard-android.txt'), 
>>>> 'proguard-rules.txt'
>>>>         }
>>>>     }
>>>> }
>>>>
>>>> dependencies {
>>>>     compile project(':iOIOLibAndroid')
>>>>
>>>>
>>>>
>>>> On Sunday, July 6, 2014 2:13:51 AM UTC-7, Arjav Desai wrote:
>>>>>
>>>>>
>>>>> Hi Ytai and Johannes,
>>>>>
>>>>> Thanks a lot for your help. It worked! :)
>>>>>
>>>>> On Friday, July 4, 2014 10:51:35 PM UTC+2, Johannes Rieke wrote:
>>>>>>
>>>>>> Hi Arjav,
>>>>>>
>>>>>> Ytai is absolutely correct: In the Android SDK Manager, select and 
>>>>>> install the "Google APIs" field(s) for the Android versions you want. 
>>>>>> Then, in your AndroidStudio project, go to the build.gradle file 
>>>>>> (there are two of them, only one has the following field) and change the 
>>>>>> value of compileSdkVersion to "Google Inc.:Google APIs:?", where you 
>>>>>> replace the ? through the Android version number (19 for 4.4.2).
>>>>>>
>>>>>> Best, Johannes
>>>>>>
>>>>>>
>>>>>> 2014-07-04 22:21 GMT+02:00 Ytai Ben-Tsvi <[email protected]>:
>>>>>>
>>>>>>> You need to use a "Google API" version of the Android SDK as the 
>>>>>>> target for compiling IOIOLibAccessory.
>>>>>>> On Jul 4, 2014 11:17 PM, "Arjav Desai" <[email protected]> wrote:
>>>>>>>
>>>>>>>>  
>>>>>>>> Hi Johannes! Did you have any issues while trying to compile 
>>>>>>>> Adapter.Java (Accessories package) in Android Studio? I am not facing 
>>>>>>>> the 
>>>>>>>> following error
>>>>>>>>
>>>>>>>> *Error:(133, 28) package com.android.future.usb does not exist*
>>>>>>>>
>>>>>>>> Can you please let me know how you solved it?
>>>>>>>>
>>>>>>>>  -- 
>>>>>>>> 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 [email protected].
>>>>>>>>
>>>>>>>> To post to this group, send email to [email protected].
>>>>>>>> Visit this group at http://groups.google.com/group/ioio-users.
>>>>>>>> For more options, visit https://groups.google.com/d/optout.
>>>>>>>>
>>>>>>>  -- 
>>>>>>> You received this message because you are subscribed to a topic in 
>>>>>>> the Google Groups "ioio-users" group.
>>>>>>> To unsubscribe from this topic, visit https://groups.google.com/d/
>>>>>>> topic/ioio-users/9NYodqRviKU/unsubscribe.
>>>>>>> To unsubscribe from this group and all its topics, send an email to 
>>>>>>> [email protected].
>>>>>>> To post to this group, send email to [email protected].
>>>>>>> Visit this group at http://groups.google.com/group/ioio-users.
>>>>>>> For more options, visit https://groups.google.com/d/optout.
>>>>>>>
>>>>>>
>>>>>>  -- 
>> 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 [email protected] <javascript:>.
>> To post to this group, send email to [email protected] 
>> <javascript:>.
>> Visit this group at http://groups.google.com/group/ioio-users.
>> For more options, visit https://groups.google.com/d/optout.
>>
>
>

-- 
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 [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/ioio-users.
For more options, visit https://groups.google.com/d/optout.

Reply via email to