sdk

Win7下搭建android环境

房东的猫 提交于 2019-12-05 21:07:21
一、打开百度,输入 android sdk ,选择第二个,进入 二、点击右边蓝色的按钮,下载 android sdk 三、同意条款,并选择符合您计算机的 sdk ,下载等待 四、返回android sdk网站,选择下面的 SYSTEM REQUIREMENTS 的 JDK 五、进入后选择并下载适合本机的 jdk 六、下载后的两个文件,点击第一个jdk进行安装 七、安装jdk后,需要在Win7下配置java环境变量 http://jingyan.baidu.com/article/9f63fb91d87fb0c8400f0e93.html 八、解压第二个文件,放在你喜欢的地方,打开里面的eclipe即可 九、设置eclipse字体大小 http://jingyan.baidu.com/article/c14654135a31ed0bfcfc4c24.html 十、对于新建工程后有两个xml文件的疑惑(解决方法看五楼) http://bbs.csdn.net/topics/390733788 来源: oschina 链接: https://my.oschina.net/u/1444783/blog/268078

解决androidSDK无法更新问题

左心房为你撑大大i 提交于 2019-12-05 21:04:29
启动 Android SDK Manager ,打开主界面,依次选择「Tools」、「Options...」,弹出『Android SDK Manager - Settings』窗口; 2.在『Android SDK Manager - Settings』窗口中,在「HTTP Proxy Server」和「HTTP Proxy Port」输入框内填入mirrors.neusoft.edu.cn和80,并且选中「Force https://... sources to be fetched using http://...」复选框。设置完成后单击「Close」按钮关闭『Android SDK Manager - Settings』窗口返回到主界面; 依次选择「Packages」、「Reload」。 3.选中你所要更新的SDK版本进行更新! 来源: oschina 链接: https://my.oschina.net/u/1578965/blog/220513

Android 2.2环境的艰难搭建过程

牧云@^-^@ 提交于 2019-12-05 21:04:08
第一次在eclipse下安装android,过程漫长啊!!! 首先安装jdk 安装eclipse(我用的3.5),在搭建的过程中用以前的3.5版本发现不能正常更新Android插件,本人用了还几个方法解决不了,于是索性到eclipse官网重新下载了一个3.5版本,居然好用,至今不知道为什么。。。 下载android-sdk,解压后安装,该过程超级慢,没有耐性的朋友,建议泡几杯咖啡品尝一番或者看看“海运门”爽快一下,本人看了罗胖子的“我的奋斗”这本书,看完一遍居然还没有下载完成。 等安装完成后,设置sdk的环境变量,这里不用多说了,都明白的事。 下面在eclipse里配置SDK路径 选择Windows->Preferences->Android,选择Android SDK的位置。我的是解压在D:\android- sdk_r04-windows\android-sdk-windows这里的,选择这里就行了。如图: 创建AVD(Android Virtual Device). 刚下载的2.2 SDK的platforms目录是空的,所以,当cmd 进入到D:\android-sdk_r04-windows\android-sdk-windows\tools目录下,输入命令android list target(这个命令可以获得Android可用的虚拟设备)得到的Available

Custom MKAnnotationView - How to capture touches and NOT dismiss the callout?

ぃ、小莉子 提交于 2019-12-05 20:59:28
I have a custom MKAnnotationView subclass. It is showing the view exactly as I want it to. In that view, I have a button. I want to capture events on the button to perform an action. This works just fine. However, I do NOT want the callout to be dismissed or disappear. Basically, touching the button in the callout will start playing a sound, but I want to leave the annotation up so the user can press stop if they want to, without having to touch the map pin again to bring the annotation back up. In another instance, I want the button touch to animate more details in the callout, so I

The following classes could not be instantiated with android.support.v7.widget.AppCompatTextView

半城伤御伤魂 提交于 2019-12-05 20:56:46
问题 Recently i changed my sdk from 25 to 26 in my app in android studio, i'm getting this weird error in all my xml. At the moment the error is not afecting my app in any way i can see, but is anoying to see every time i have to edit or change something in the xml. The error here: the following classes could not be instantiated - android.support.v7.widget.AppCompatTextView java.lang.NullPointerException at android.content.res.Resources_Delegate.getValue(Resources_Delegate.java:788) at android

android sdk安装

喜欢而已 提交于 2019-12-05 20:48:17
来源: https://www.jianshu.com/p/356dfe4f2c08 appium前端功能自动化测试。 在开始之前,我们先来了解几个问题或者叫概念。 什么是Monkey? Monkey是发送伪随机用户事件的工具, Monkey 是Android SDK提供的一个命令行工具, 可以简单,方便地运行在任何版本的Android模拟器和实体设备上。 Monkey会发送伪随机的用户事件流,适合对app做压力测试 通过Monkey程序模拟用户触摸屏幕、滑动Trackball、 按键等操作来对设备上的程序进行压力测试,检测程序多久的时间会发生异常 Monkey在哪里? 每台android手机里都有Monkey工具,但是我们是看不到的,因为,Monkey不是一个可视化的工具,例如手机里的微信,这是一个可视化的,能打开,有图形化界面,但是Monkey没有。 手机里如何与Monkey进行通讯? 我们需要,借助ADB才能与Monkey进行通讯。 什么是ADB Android Debug Bridge,安卓调试桥 在开始Monkey测试之前,我们需要搭建环境。第一个前提条件就是安装Java JDK,第二个条件就是安装android SDK。JDK 大家肯定知道是什么,同样android SDK(software development kit)也就是android专属的软件开发工具包

Failed to set up SDK: Error:Module 'app': platform 'Google Inc.:Google APIs:21' not found

徘徊边缘 提交于 2019-12-05 20:27:42
问题 Failed to set up SDK: Error:Module 'app': platform 'Google Inc.:Google APIs:21' not found. At a complete loss as to why this isn't working. Attempted to update my SDK to 23 but realized I wasn't prepared to deal with all the new deprecations, etc., so I reverted to an older version on Mercurial. I've done literally nothing else, and the reversion should have solved everything. Unfortunately, I'm stuck unable to connect my app and build it. I've even reinstalled Android Studio from scratch,

Is there a Bonjour SDK for Windows?

蓝咒 提交于 2019-12-05 20:25:57
问题 I want to know how to implement bonjour on windows, so that i can set up server on windows and access files in windows(server) using bonjour service from my iphone(client). Can anyone tell me whether we have any java api for windows or any bonjour sdk for windows? Thanks in advance.. 回答1: Have a look at Apple's bonjour SDK page. They provide an SDK for Windows there. I think it's written in C. 回答2: This page describes how to develop for Bonjour for Windows. It also gives a link to the

Dynamics 365 msis 7069 The specified request failed

折月煮酒 提交于 2019-12-05 20:01:47
最近遇到SDK连接CRM 时报 “msis 7069 The specified request failed ”。 跟踪过程: 查看日志看不出什么来,后来打开部署管理器检查沙盒服务器,状态都是启用的,而登录沙盒服务器检查沙盒服务,其中一个服务状态是停止的; 启动时无法启动,检查发现,服务启动路径根本不存在;路径不存在,怎么服务又安装了呢?最近应该是磁盘有做过盘符调整,或者说磁盘有卸载过,然后又挂载起来,换了盘符。 解决方法: 应该可以修改盘符或者重装沙盒服务,但我的解决方案只是在部署管理器停止了该沙盒服务器。 其实,准确来说,不是使用SDK连接CRM报错,应该是使用SDK连接CRM之后凋用SDK消息报错了。 来源: https://www.cnblogs.com/tcli/p/11943891.html

“Application tried to present modally an active controller” Error in iOS5

拟墨画扇 提交于 2019-12-05 19:45:05
I have an error which is causing my app to crash under iOS5 only on the iPad. The below code is called when the user taps on an item in a uibarbutton item : - (void)optionSelected:(NSString *)option { [self.optionPickerPopover dismissPopoverAnimated:YES]; if ([option compare:@"Map View"] == NSOrderedSame) { NSLog(@"Map View"); MapView * map = [[MapView alloc] initWithNibName:@"MapView" bundle:nil]; UINavigationController *navigationController = [[UINavigationController alloc] initWithRootViewController:map]; UIBarButtonItem *rightButton = [[UIBarButtonItem alloc] initWithTitle:@"Done" style