sdk

Android9.0 如何区分SDK接口和非 SDK接口

佐手、 提交于 2019-12-03 04:37:31
刚刚有同学问我, 不太了解 “非SDK接口” 是什么意思 ?android9.0有什么限制 ?apache的http也有限制 ? 而且现在的大部分系统都升级上来了, 黑名单、灰名单和白名单 也是必须要了解一下的,这里参考Google开发者网站给大家整理一下。 首先, 公共 SDK 接口 是在 Android 框架软件包索引 中记录的那些接口,什么是框架软件包? 链接地址: https://developer.android.google.cn/reference/packages.html 而 非 SDK 接口 的处理是 API 抽象出来的实现细节,因此这些接口可能会在不另行通知的情况下随时发生更改。 黑名单 无论应用的目标 API 级别是什么,都无法使用此列表中的非 SDK 接口。如果您的应用尝试访问其中任何一个接口,系统就会抛出错误。 灰名单 从 Android 9(API 级别 28)开始,在每个 API 级别分别会限制某些非 SDK 接口。如果应用的目标 API 级别较低,您可以访问灰名单中的受限 API,但如果您的应用尝试访问在您的目标 API 级别受限的非 SDK 接口,系统就会假定此 API 已列入黑名单。说白了,就是只要在您应用的目标 API 级别不限制此列表中的非 SDK 接口,您就可以使用它们。 白名单 此列表中的接口已在 Android

cordova开发环境搭建

♀尐吖头ヾ 提交于 2019-12-03 04:20:17
最近我在尝试了解跨平台技术的发展,首先则是想到了 cordova 。本文简单记录下 cordova 环境搭建的过程。 安装cordova 首先是要 npm 全局安装 cordova npm install -g cordova 创建应用 安装的 cordova 类似于 create-react-app 这种脚手架,可以通过命令行直接创建应用 cordova create myapp 添加平台支持 cordova 可以支持 ios , android , web 三端。 cordova platform add ios cordova platform add android cordova platform add browser 进入 android 目录下,可以看到很多 .java 文件,而 ios 目录下是很多的 object-c 文件, browser 目录下则是熟悉的 web 工程。 并且可以看到,每个平台下都有一个 cordova 目录,我初步猜想,这应该是负责和不同平台通讯交互的 cordova 核心。 运行App Web web 端是最直观最简单的,直接运行如下命令即可。 cordova run browser Android 对于 Android 和 IOS ,我们则需要先检查相关环境是否安装正常。 $ cordova requirements

Adb backup does not work

ⅰ亾dé卋堺 提交于 2019-12-03 04:20:00
I need help from you guys, because I don't know what I did wrong with adb backup. I want to backup my Samsung Galaxy S3 LTE (GT-I9305) without root. I googled it and found Full Android Backup with SDK Manager. I installed all i need for this like Java Development Kit 8 version 66 (JDK 8u66 x64) and Android Studio which contains SDK Manager. Then they sad i should download the Google USB Driver. I downloaded it but nothing happened. I thought it should work now and then I went to C:\Users\MYNAME\AppData\Local\Android\sdk\platform-tools and left-clicked adb whilst holding Shift. Then I clicked

Slow SDK download through Android SDK manager

血红的双手。 提交于 2019-12-03 04:00:47
问题 When I run Android SDK manager to download SDK platform, the download speed is 8 KiB/s. It would take more than 2 hours to download one platform like Android 2.2, API 8. There is no problem with download stuff through browser. Does anyone know how to fix this problem? 回答1: I have not experienced this issue. Force or unforce HTTPS (there is an option for this under Settings), and see if this improves the quality of your connection. 回答2: I also have this problems and found a solution online and

Android Eclipse Support Library: Required version blank

♀尐吖头ヾ 提交于 2019-12-03 03:50:30
I have just downloaded and installed the latest ADT Bundle for Windows available from the Android Developer website. Following this, I installed all the packages in the SDK Manager, including the 'Android Support Library Rev. 18'. Finally, I installed the latest ADT through the 'Help > Install New Software...' menu in Eclipse. I have strictly followed the following guide to create my first project: http://developer.android.com/training/basics/firstapp/creating-project.html But by the last step, I arrive at an error, showing the Support Library revision I have installed, and a required version

Video capture SDKs and Frameworks for Windows [closed]

自古美人都是妖i 提交于 2019-12-03 03:42:55
Closed . This question needs to be more focused. It is not currently accepting answers. Learn more . Want to improve this question? Update the question so it focuses on one problem only by editing this post . I cannot find a list describing all of the different options for video capture in Windows. I would like to keep this list to non-proprietary SDKs (i.e. ImageSource has their own SDK that works with only ImageSource capture cards). To set an age limit on suggestions, everything should be able to run on Windows XP or newer. Include as much information you want about your suggestion. Just to

confusion of how to make osx app backward compatible & how to test them

瘦欲@ 提交于 2019-12-03 03:15:41
问题 after reading the apple SDK guide https://developer.apple.com/library/mac/#documentation/developertools/conceptual/cross_development/Overview/overview.html I'm still confused of how to make the mac app backward compatible & how to test them properly I have an app, I run it and tested it on Mountain Lion 10.8 without any problem, however I want to make this app backward compatible so that other users can run it on a mac 10.6 - 10.7 machine. I have an apple developer id and I can download the

Error Installing Firefox Addon SDK Python

匿名 (未验证) 提交于 2019-12-03 03:12:02
可以将文章内容翻译成中文,广告屏蔽插件可能会导致该功能失效(如失效,请关闭广告屏蔽插件后再试): 问题: Hello im trying to figure out how to properly install Firefox Addon SDK, I've followed all the installation details such as: Installing Python 2.7, setting my PATH Variables correctly, and running the addon from my cmd.exe .. Everytime I run the command line to start developing an addon I get this error: C:\mozilla-build\addon-sdk\bin>activate.bat Warning: Failed to find Python installation directory IFrom my understanding I have everything properly configured, Can anyone help with this error. And also my PATH variables are as below User

adb server is out of date. killing [duplicate]

匿名 (未验证) 提交于 2019-12-03 03:10:03
可以将文章内容翻译成中文,广告屏蔽插件可能会导致该功能失效(如失效,请关闭广告屏蔽插件后再试): 问题: This question already has an answer here: adb server version doesn't match this client 26 answers I'm creating my first react-native project with this tutorial: http://facebook.github.io/react-native/ When it comes to executing code and running react-native run-android I am getting: adb server is out of date. killing... * daemon started successfully * And the app on the android device is obviously not working. I've reinstalled the SDK, tried to adb kill-server and adb start-server , but nothing seems to work I'm using Android 4.4 and Ubuntu

Android SDK manager throw Exception with Java 9 [duplicate]

匿名 (未验证) 提交于 2019-12-03 03:06:01
可以将文章内容翻译成中文,广告屏蔽插件可能会导致该功能失效(如失效,请关闭广告屏蔽插件后再试): 问题: This question already has an answer here: Failed to run sdkmanager --list (Android SDK) with Java 9 4 answers Using sdk-tools-darwin-4333796 (26.1.1) with Java 9 when running sdkmanager is throwing : Exception in thread "main" java.lang.NoClassDefFoundError: javax/xml/bind/annotation/XmlSchema at com.android.repository.api.SchemaModule$SchemaModuleVersion.<init>(SchemaModule.java:156) at com.android.repository.api.SchemaModule.<init>(SchemaModule.java:75) at com.android.sdklib.repository.AndroidSdkHandler.<clinit>(AndroidSdkHandler.java:81)