This package only exists in the *Google APIs* version of the Android runtime. You're probably linking against the standard one instead.
On Thu, Sep 4, 2014 at 10:43 PM, Keenan Wurth <[email protected]> wrote: > 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]. > 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]. 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.
