sdk

Android测试环境搭建(win7)

半世苍凉 提交于 2019-12-23 08:38:12
一、安装JDK并配置环境变量 1、在 Java官方网站 上下载相应系统的jdk文件安装,如win7 64 位系统下安装jdk-6u45-windows-x64,全部选择默认的安装路径即可安装完成。 2、配置JAVA_HOME   新建 JAVA_HOME 环境变量,变量值是自己安装JDK 的路径,我的是:D:\Java\jdk1.7.0; 3、配置ClASSPATH   新建 CLASSPATH 环境变量,变量值是:%JAVA_HOME%/lib/dt.jar;%JAVA_HOME%/lib/tools.jar 4、配置PATH   找到PATH变量,追加如下目录:%JAVA_HOME%/bin;%JAVA_HOME%/jre/bin; 5、验证安装是否成功   1)打开cmd命令行窗口   2)在命令行窗口中输入java -version,显示如下内容表示安装成功:    二、Android SDK环境搭建 1、下载 ADT Bundle ,ADT Bundle包含了Eclipse、ADT插件和SDK Tools,是已经集成好的IDE,只需安装好Jdk即可开始开发,不用再折腾开发环境。 2、解压下载下来的文件,尽量不要解压到带有中文路径的文件目录下,目录也不要过深,我的目录为:D:\android-sdk 三、配置Android SDK环境变量:   1、新建 ANDROID

Could not find com.android.support:support-annotations:26.1.0

廉价感情. 提交于 2019-12-23 07:25:11
问题 I have a project whose compileSdkVersion and targetSdkVersion is 25. When I tried to upgrade the version to 26, I got the following error: Could not find com.android.support:support-annotations:26.1.0. Required by: project :app project :app > com.android.support:support-compat:26.1.0 Please install the Android Support Repository from the Android SDK Manager. Open Android SDK Manager I opened Android SDK Manager, but could not find Android Support Repository to install. How can I fix this

Could not find com.android.support:support-annotations:26.1.0

我的未来我决定 提交于 2019-12-23 07:25:09
问题 I have a project whose compileSdkVersion and targetSdkVersion is 25. When I tried to upgrade the version to 26, I got the following error: Could not find com.android.support:support-annotations:26.1.0. Required by: project :app project :app > com.android.support:support-compat:26.1.0 Please install the Android Support Repository from the Android SDK Manager. Open Android SDK Manager I opened Android SDK Manager, but could not find Android Support Repository to install. How can I fix this

Kinect v2 for windows: resize color frame in c#

大城市里の小女人 提交于 2019-12-23 05:45:20
问题 anyone know, if it's possible, how to decrease the kinect frame resolution for color flow? because the full-hd size is too high for my scope.Thanks I have found this code for full hd frame: private BitmapSource ToBitmap(ColorFrame frame) { int width = frame.FrameDescription.Width; int height = frame.FrameDescription.Height; PixelFormat format = PixelFormats.Bgr32; byte[] pixels = new byte[width * height * ((PixelFormats.Bgr32.BitsPerPixel + 7) / 8)]; if (frame.RawColorImageFormat ==

Lync ConversationRemoved get current conversation text

强颜欢笑 提交于 2019-12-23 05:44:06
问题 I am using Lync SDK and I am looking if anyone knows how to get the Conversation Text of a conversation that is being closed. I am running this event. static void _conversationManager_ConversationRemoved(object sender, Microsoft.Lync.Model.Conversation.ConversationManagerEventArgs e) And I cannot seam to get any conversation text from this only participants. 回答1: If you subscribe to the ConversationAdded event of the ConversationManager then you can be notified when each new conversation

Android Config in Eclipse - SDK Preferences wants …\Platforms, but SDK doesn't come with one

£可爱£侵袭症+ 提交于 2019-12-23 05:13:26
问题 I'm installing and configuring Eclipse Galileo 3.52 on a PC following the instructions on Eclipse ADT All the steps in "Downloading the ADT Plugin" go fine with no errors. But when I get to the next step "Configuring the ADT Plugin" it fails when I set my SDK location, saying that it can't find android-sdk-windows\platforms. But no kidding - I'm using the android-sdk_r06-windows SDK and the Readme file says, " The Android SDK archive now only contains the tools. It no longer comes populated

小程序-demo:小程序示例

久未见 提交于 2019-12-23 05:08:05
ylbtech-小程序-demo:小程序示例 1. 返回顶部 0、 1、app.js const openIdUrl = require('./config').openIdUrl App({ onLaunch: function () { console.log('App Launch') }, onShow: function () { console.log('App Show') }, onHide: function () { console.log('App Hide') }, globalData: { hasLogin: false, openid: null }, // lazy loading openid getUserOpenId: function(callback) { var self = this if (self.globalData.openid) { callback(null, self.globalData.openid) } else { wx.login({ success: function(data) { wx.request({ url: openIdUrl, data: { code: data.code }, success: function(res) { console.log('拉取openid成功', res)

iPhone - How to load Chinese text

拟墨画扇 提交于 2019-12-23 05:05:39
问题 I have a file with Chinese text that I want to use in my XCode project (I'm planning to load it through a database as it is lot of text), the problem is I don't know how to add the font to my project so that it's viewable when used on an iPhone? Thanks :) 回答1: The iPhone already has chinese fonts installed by default. 回答2: I currently live in China and deal with this all of the time. Usually the problem is not the font, it's the way the characters are represented. All unix variants use UTF-8

blackberry development, is it as userfriendly as smartphone dev?

允我心安 提交于 2019-12-23 04:46:00
问题 I have played around with smart phone development (windows ce), and it seemed pretty straight forward using vs.net and having a nice emulator etc. How is blackberry development? Seeing as it uses JavaME I am guessing learning the SDK/syntax for a .net developer wouldn't be that hard to get going with. But what about the development IDE, debugging, emulators etc.? 回答1: I have very limited experience with the Blackberry, but from what I do have, it is fairly user friendly. Java is fairly

IOS : com.facebook.sdk error 5

倾然丶 夕夏残阳落幕 提交于 2019-12-23 03:58:30
问题 Am using the last Facebook SDK for IOS but I always get this error : The operation couldn’t be completed. (com.facebook.sdk error 5.) Please do you have any idea about that ? Thank You. [[FBRequest requestForMe] startWithCompletionHandler:^(FBRequestConnection *connection, NSDictionary<FBGraphUser> *user, NSError *error) { if (!error) { NSLog(@"%@",user.name); //self.emailLabel.text = [user objectForKey:@"email"]; } else { NSLog(@"%@",error.localizedDescription); } }]; 回答1: add the following