Yes, A Java project will work. Android is a stripped down version of JDK. So, in Android, there are a few classes removed on which Youtube API depends. I guess, the awt package, java.awt.datatransfer is missing on Android, and Youtube API uses this class in it's code.
Kumar Bibek http://tech-droid.blogspot.com On Jan 8, 7:09 am, tstanly <[email protected]> wrote: > thanks for your reply, > however, > I try the same code and same libs in the Android project and java > project (within Eclipse), > and the Android project will get the above problems that I mentioned > for, > but int the java project there will not get the problem, it's work > normally! > > thanks > > On 1月7日, 上午1時49分, Kumar Bibek <[email protected]> wrote: > > > You can report it in the Issue List of YouTube. I guess, you are > > missing out some dependencies for youtube api. > > > You can check the youtube docs to find out more. > > > Thanks and Regards, > > Kumar Bibek > > >http://tech-droid.blogspot.com > > > On Jan 6, 2:11 pm,tstanly<[email protected]> wrote: > > > > hi all, > > > > I use the youtube api and other libs such as > > > gdata_client...http://code.google.com/intl/zh-TW/apis/youtube/getting_started.html > > > > but I always get the verify error: > > > ============================== > > > E/dalvikvm( 749): Could not find class > > > 'com.google.gdata.data.media.MediaStream > > > Source', referenced from method > > > com.google.gdata.client.media.MediaService.getMe > > > diaResource > > > W/dalvikvm( 749): VFY: unable to resolve new-instance 538 (Lcom/ > > > google/gdata/da > > > ta/media/MediaStreamSource;) in Lcom/google/gdata/client/media/ > > > MediaService; > > > W/dalvikvm( 749): VFY: rejecting opcode 0x22 at 0x0013 > > > W/dalvikvm( 749): VFY: rejected Lcom/google/gdata/client/media/ > > > MediaService;.g > > > etMediaResource (Ljava/net/URL;Lcom/google/gdata/util/ContentType;Lcom/ > > > google/gd > > > ata/data/DateTime;)Lcom/google/gdata/data/media/MediaSource; > > > W/dalvikvm( 749): Verifier rejected class Lcom/google/gdata/client/ > > > media/MediaS > > > ervice; > > > D/AndroidRuntime( 749): Shutting down VM > > > W/dalvikvm( 749): threadid=3: thread exiting with uncaught exception > > > (group=0x4 > > > 000fe70) > > > E/AndroidRuntime( 749): Uncaught handler: thread main exiting due to > > > uncaught e > > > xception > > > E/AndroidRuntime( 749): java.lang.VerifyError: > > > com.google.gdata.client.media.Me > > > diaService > > > ..................... > > > > ========================== > > > so I want to confirm whether Android can integrate gdata and youtube > > > api(lib)? > > > or is there have mailing list for "gdata" that I can serach for > > > problems? > > > > thanks
-- 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

