Error : cannot access com.android.future.usb.UsbAccessory
              in 
             Android Processing 
              •  
              5 months ago    
            
 
           
             Hello,
            
             
            
            
             
            
            
             
            
             
            
            
             
            
            
             
            
             
            
            
             
            
            
             
             
           
 
            
           
             I try to launch an example of the librairy Arduino ADK USB (analogRead).
            
            
             I've got this problem :
            
            - C:\Users\Andre\AppData\Local\Temp\android8863904892940197716sketch\src\processing\android\test\adk_analogread\Read.java:34: cannot access com.android.future.usb.UsbAccessory
- [javac] class file for com.android.future.usb.UsbAccessory not found
- [javac] arduino.connect( arduino.list()[0] );
- [javac] ^
- [javac] 1 error
- BUILD FAILED
- C:\Android_sdk\tools\ant\build.xml:710: The following error occurred while executing this line:
- C:\Android_sdk\tools\ant\build.xml:723: Compile failed; see the compiler error output for details.
- Total time: 1 second
             Do you know how to solve this problem ?
            
            
             I try to change the API level 10 to 12 modifying the line : 
            
            
             <uses-sdk android:minSdkVersion="10" />
            
            
             in AndroidManifest.xml but Processing still saying Build Failed and a line appaired next to API level :
            
            - Project Target : Android 2.3.3
- API level : 10
- WARNING : Attribute minSdkVersion in AndroidManifest.xml (12) is higher than the project target API level (10)
             Do you got any idea ?
            
            
             Thank you in advance.
            
             
              
              1  
            
 
            
 
 
          