sdk

SDK Manager - Won't install new packages (install button remains “unclickable”)

好久不见. 提交于 2019-12-23 20:12:03
问题 I have a very annoying problem, when I try to open an imported project with my version of Eclipse, it tells me that I can't do it unless I download the version 21 of something. Then it opens my SDK Manager and when I want to install the new packages to update my version, it's just impossible even after having accepted the terms and conditions. Here is a picture : Any help is welcome! Thanks in advance. 回答1: try First Clear your cache with Android SDK Manager--> Tools--> Option-->click on

How to include or bootstrap the paypal-core-sdk php

独自空忆成欢 提交于 2019-12-23 19:37:59
问题 I've downloaded the paypal-core-sdk for php from GitHub manually, my server does not have 'composer' and I've just manually copied the files to an include directory outside the document root. Problem is when I go call on some of the classes the server borks and doesn't know what I'm talking about ... i.e. Fatal error: Class 'PPApiContext' not found in /home/rctoronto/public_html/start.php on line 143 if I include once on the file providing PPApiContext, it moves along to another error and so

Android - Close app when home key is pressed

流过昼夜 提交于 2019-12-23 19:24:00
问题 I made this app that works fine, but when i leave the app and open it again it always force closes. how can i make it so when the user presses the home and or back key it will kill the app process? Making it so when the app is opened again it has a fresh start. 回答1: You are not supposed to "kill the process". You should handle home button presses and other such interactions that navigate away from your app via the onPause() and onResume() methods. In your onPause() method, you should save the

My target SDK version is 25 but Google Play says app only supports 4.1-4.4 devices?

 ̄綄美尐妖づ 提交于 2019-12-23 19:13:26
问题 android { compileSdkVersion 25 buildToolsVersion "25.0.0" defaultConfig { applicationId "com.abc.ege" minSdkVersion 16 targetSdkVersion 25 versionCode 3 versionName "1.1.3" vectorDrawables.useSupportLibrary = true } } Although my target sdk version is 25, when I upload the apk to play store, it says "not compatible with devices with android version 4.4 and over, where is the problem? edit: app works fine on emulators and there is no hardware access in manifest file 回答1: I think you should

Titanium SDK 3.2.0 - My Android app's STOP at splash screen

和自甴很熟 提交于 2019-12-23 19:11:20
问题 [Android] I have an Alloy Project After my Titanium SDK's upgraded to 3.2.0, I "Clean" my project and.. .. When I "Debug" on my Device, my App is working very well. But when I "Run" on my Device, my App is STOP at splash screen. Please help me. Thanks!!! 回答1: I met the same problem and solved by deleting device sdcard/appid/deploy.json. just like: sdcard/com.xxx.xxx/deploy.json Hope this will help you. 来源: https://stackoverflow.com/questions/20764718/titanium-sdk-3-2-0-my-android-apps-stop-at

Catching NS_AVAILABLE_IOS while coding

不想你离开。 提交于 2019-12-23 18:46:53
问题 I know how to change the lowest OS supported with IPHONEOS_DEPLOYMENT_TARGET . I am currently developing under Xcode 4.5 and using the iOS 6.0 SDK. What I'd like to do is find a way to throw a warning in compilation whenever I use code that is marked: NS_AVAILABLE_IOS(6_0) So that I can make sure that I don't miss any "Yes, but you're on iOS 5 so don't use this code" areas that will crash the user's device. 回答1: NS_AVAILABLE_IOS(6_0) is defined as __attribute((unavailable)) when the SDK is

微信小程序测试

妖精的绣舞 提交于 2019-12-23 18:39:06
1、功能测试 功能测试以原型为准,可以当成手机APP来测试 2、兼容性测试 操作系统兼容性 :Android系统和ios系统,如果有条件,可以尽量多测试主流Android系统品牌 屏幕兼容性 :小程序屏幕兼容性问题相对APP少一些,微信小程序定义了一个新的尺寸单位rpx(responsive pixel)可以适配不同尺寸的屏幕,在页面上定义对象的单位是rpx就可以在不同的屏幕上适配。但1rpx的像素经常在iphone7p上出现断线的情况。因此需要在测试过程中关注1rpx像素的显示。(测试时可忽略) 微信兼容性 :因为微信小程序SDK的API版本一直都在更新,导致SDK的API有可能有向下的兼容性问题并最终会影响到在最新版本小程序SDK上开发的程序不能在低版本的SDK 上像预期的那样运行。所以测试微信版本的兼容性之前要先确定小程序使用的库版本在哪些微信版本号上支持。 3、网络测试 查看小程序在各种网络状况下的运行情况,比如:网络状况和环境的切换,断网,通过代理进行弱网测试 4、接口测试 目前大部分都是微服务的架构,所以前端的小程序调用的是后台的接口,所以要对接口进行测试,这里的接口测试和平时的接口测试是一样的,没有特别之处。但是我们需要了解的就是,微信小程序SDK提供的接口是websocket,这是另外一种接口形式。 5、易用性 跟APP测试一样 6、功能交互 因为小程序是在微信里面

Cordova 学习笔记

你说的曾经没有我的故事 提交于 2019-12-23 18:10:14
日期: 2019 年 12 月 02 日 Cordova 学习笔记 1、概述 Cordova 是什么 Apache Cordova是一个开源的使用 HTML + CSS + JavaScript 做跨平台开发的移动开发框架 Cordova 的特点 它提供了一组用来调用手机设备(Android、IOS、Windows phone)的原生 API,让我们可以通过 JavaScript 调用原生代码,带来 Web 开发不曾有的原生体验; 可以将我们的 Web 程序包裹进原生的 APP 壳(WebView)中,也就是 Hybrid App ( 混合模式移动应用 ) Cordova 架构 这是cordova应用程序的几个组成部分。下面这幅图是cordova应用架构的高级视图: 包括以下几个部分: WebView —— 一个可以展示 web 页面的组件 Web APP —— 这是你应用程序代码存在的地方 插 件 —— 可以让你的应用程序访问设备功能:电源、相机、联系人等 2、使用 通过使用 cordova命令行工具(CLI),我们可以创建 cordova 应用并发布他们到不同的原生移动平台,下面来具体操作 安装 安装 Node.js , 装好之后我们就可以在命令行使用 node 和 npm 安装 cordova ,使用 Node.js 的 npm 工具 在 OS X 和 Linux 上: $

Android SDK代理服务

梦想与她 提交于 2019-12-23 18:07:23
【推荐】2019 Java 开发者跳槽指南.pdf(吐血整理) >>> mirrors.neusoft.edu.cn 镜像代理 启动SDK Manager界面Tools>Options...下进行如下操作: 体验效果图: 国内高校的开源镜像站 中国科学技术大学( debian.ustc.edu.cn ) 上海交通大学( ftp.stju.edu.cn ) 大连理工大学( mirror.dlut.edu.cn ) 北京交通大学( mirror.bjtu.edu.cn ) 北京理工大学( mirror.bit.edu.cn ) 东北大学( mirror.neu.edu.cn ) 厦门大学( mirrors.xmu.edu.cn ) 兰州大学( mirror.lzu.edu.cn ) 西安电子科技大学( linux.xidian.edu.cn ) 哈尔滨工业大学( run.hit.edu.cn ) 天津大学( mirror.tju.edu.cn ) 东软信息学院( mirrors.neusoft.edu.cn ) 电子科技大学( mirrors.stuhome.net ) 国内其他机构的开源镜像站 中国互联网信息中心( mirrors.cnnic.cn ) 只提供了Apache镜像 网易开源镜像站( mirrors.163.com ) 搜狐( mirrors.sohu.com ) 淘宝(

Installing PDT in Eclipse - No runtime option .. only SDK

半城伤御伤魂 提交于 2019-12-23 17:50:54
问题 Admittedly I am new to Eclipse. I have it configured properly for Android development but I want to add the PDT plug-in for PHP development. I have followed the instructions for updating PDT for the Galileo version of Eclipse located here ... http://wiki.eclipse.org/PDT/Installation When I search through the available PHP tools the only option is the PDT SDK feature. I was looking for the runtime option instead of the SDK. I don't want to install the SDK for PDT as I just want to use it and