当前位置: 首页 > news >正文

公司网站建设中心重庆seo霸屏

公司网站建设中心,重庆seo霸屏,vs2008 新建网站,wordpress博客小工具标签问题背景 当自写APP发现无缘无故多申请了多个权限,其中一个就是:android.permission.WAKE_LOCK. 一想就知道如果并非自己在APP main中引入的,那就是依赖的库清单文件导入进来的. 定位问题 定位手段 1.manifest-merger-buildVariant-report.txt 根据其内容可知, WAKE_LOCK 权…问题背景 当自写APP发现无缘无故多申请了多个权限,其中一个就是:android.permission.WAKE_LOCK. 一想就知道如果并非自己在APP main中引入的,那就是依赖的库清单文件导入进来的. 定位问题 定位手段 1.manifest-merger-buildVariant-report.txt 根据其内容可知, WAKE_LOCK 权限来源于work-runtime-2.7.0的库依赖,其清单文件中的25行5-68个字符. uses-permission#android.permission.WAKE_LOCK ADDED from [androidx.work:work-runtime:2.7.0] /home/user/.gradle/caches/transforms-3/603a5a760e085f6144531debd6660c46/transformed/work-runtime-2.7.0/AndroidManifest.xml:25:5-68 2.自编AndroidManifest.xml中选中Merged manifest, 通过查看预览merge视图定位来源. 从上视图查看就更加直观了.选中被merge进来的元素,右侧会预览显示merging log. 直接双击该行被引入的元素, 会自动跳转到对应work-runtime的清单文件中. 其内容如下: ?xml version1.0 encodingutf-8? !--~ Copyright (C) 2016 The Android Open Source Project~~ Licensed under the Apache License, Version 2.0 (the License);~ you may not use this file except in compliance with the License.~ You may obtain a copy of the License at~~ http://www.apache.org/licenses/LICENSE-2.0~~ Unless required by applicable law or agreed to in writing, software~ distributed under the License is distributed on an AS IS BASIS,~ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.~ See the License for the specific language governing permissions and~ limitations under the License. -- manifest xmlns:androidhttp://schemas.android.com/apk/res/androidxmlns:toolshttp://schemas.android.com/toolspackageandroidx.work uses-sdkandroid:minSdkVersion14android:targetSdkVersion31 /uses-permission android:nameandroid.permission.WAKE_LOCK /uses-permission android:nameandroid.permission.ACCESS_NETWORK_STATE /uses-permission android:nameandroid.permission.RECEIVE_BOOT_COMPLETED /uses-permission android:nameandroid.permission.FOREGROUND_SERVICE /applicationproviderandroid:nameandroidx.startup.InitializationProviderandroid:authorities${applicationId}.androidx-startupandroid:exportedfalsetools:nodemerge meta-dataandroid:nameandroidx.work.WorkManagerInitializerandroid:valueandroidx.startup //providerserviceandroid:nameandroidx.work.impl.background.systemalarm.SystemAlarmServiceandroid:directBootAwarefalseandroid:enabledbool/enable_system_alarm_service_defaultandroid:exportedfalsetools:targetApin /serviceandroid:nameandroidx.work.impl.background.systemjob.SystemJobServiceandroid:directBootAwarefalseandroid:enabledbool/enable_system_job_service_defaultandroid:exportedtrueandroid:permissionandroid.permission.BIND_JOB_SERVICEtools:targetApin /serviceandroid:nameandroidx.work.impl.foreground.SystemForegroundServiceandroid:directBootAwarefalseandroid:enabledbool/enable_system_foreground_service_defaultandroid:exportedfalsetools:targetApin /receiverandroid:nameandroidx.work.impl.utils.ForceStopRunnable$BroadcastReceiverandroid:directBootAwarefalseandroid:enabledtrueandroid:exportedfalsetools:targetApin /receiverandroid:nameandroidx.work.impl.background.systemalarm.ConstraintProxy$BatteryChargingProxyandroid:directBootAwarefalseandroid:enabledfalseandroid:exportedfalsetools:targetApin intent-filteraction android:nameandroid.intent.action.ACTION_POWER_CONNECTED /action android:nameandroid.intent.action.ACTION_POWER_DISCONNECTED //intent-filter/receiverreceiverandroid:nameandroidx.work.impl.background.systemalarm.ConstraintProxy$BatteryNotLowProxyandroid:directBootAwarefalseandroid:enabledfalseandroid:exportedfalsetools:targetApin intent-filteraction android:nameandroid.intent.action.BATTERY_OKAY /action android:nameandroid.intent.action.BATTERY_LOW //intent-filter/receiverreceiverandroid:nameandroidx.work.impl.background.systemalarm.ConstraintProxy$StorageNotLowProxyandroid:directBootAwarefalseandroid:enabledfalseandroid:exportedfalsetools:targetApin intent-filteraction android:nameandroid.intent.action.DEVICE_STORAGE_LOW /action android:nameandroid.intent.action.DEVICE_STORAGE_OK //intent-filter/receiverreceiverandroid:nameandroidx.work.impl.background.systemalarm.ConstraintProxy$NetworkStateProxyandroid:directBootAwarefalseandroid:enabledfalseandroid:exportedfalsetools:targetApin intent-filteraction android:nameandroid.net.conn.CONNECTIVITY_CHANGE //intent-filter/receiverreceiverandroid:nameandroidx.work.impl.background.systemalarm.RescheduleReceiverandroid:directBootAwarefalseandroid:enabledfalseandroid:exportedfalsetools:targetApin intent-filteraction android:nameandroid.intent.action.BOOT_COMPLETED /action android:nameandroid.intent.action.TIME_SET /action android:nameandroid.intent.action.TIMEZONE_CHANGED //intent-filter/receiverreceiverandroid:nameandroidx.work.impl.background.systemalarm.ConstraintProxyUpdateReceiverandroid:directBootAwarefalseandroid:enabledbool/enable_system_alarm_service_defaultandroid:exportedfalsetools:targetApin intent-filteraction android:nameandroidx.work.impl.background.systemalarm.UpdateProxies //intent-filter/receiverreceiverandroid:nameandroidx.work.impl.diagnostics.DiagnosticsReceiverandroid:directBootAwarefalseandroid:enabledtrueandroid:exportedtrueandroid:permissionandroid.permission.DUMPtools:targetApin intent-filteraction android:nameandroidx.work.diagnostics.REQUEST_DIAGNOSTICS //intent-filter/receiver/application/manifest 从清单文件中可知,其中被默认引入了很多androidx相关的能力, 尽管我们自己定义的demo的AndroidManifest.xml很简单. 这时候可能根据自身情况看是否引入了过多不必要的dependencies依赖库. 3.清单文件合并规则 更多清单文件的合并规则,可以参考android开发者网站官方说明. 管理清单文件  |  Android Studio  |  Android Developers (完)
http://www.pierceye.com/news/445/

相关文章:

  • 电子产品网站建设模板汕头seo不错
  • 网站响应式与电脑版有什么区别杭州杭州网站建设公司
  • 网站开发与应用 大作业作业长沙专业个人做网站哪家好
  • 可以免费制作网页的网站谷歌浏览器下载手机版安卓官网
  • 婚恋网站翻译可以做吗成都住建局官网怎么查询楼盘剩余房
  • 做网站加模块开发是什么工作
  • 网站首页幻灯片不显示小网站怎么建设
  • 手机网站排版网站建设技术外包
  • 成都网络公司有哪些襄樊seo
  • 做美食的网站哪个好建设金融网站
  • 茶具网站模板做网站的公司成都
  • 上海市民营企业100强网站设计网站优化公司
  • 做家具有那个网站好51wordpress
  • 网站程序源码网页设计导航栏素材
  • 免费建设微网站制作网站维护公司推荐
  • 怎么买做淘宝优惠券网站上海网站建设公司指南
  • 公共部门网站建设维护游戏音效设计师培训
  • 首钢水钢赛德建设有限公司网站做运营常用的网站
  • 网站改名 备案免费空间是什么意思
  • 内部网站可以做ipc备案seo流量排名软件
  • 免费做的网站怎么设置域名海外互联网推广平台
  • 鄂州网站建设推广报价wordpress 定时计划失败
  • 做金融看哪些网站有哪些内容北京上海网站建设公司哪家好
  • 做司法考试题目的网站牛商网招聘
  • 网站后台管理系统怎么上传网站建设微企
  • 安阳手机网站制作兰州网站制作公司
  • 用python做 网站论坛网站做关键词
  • 南宁网站定制把网站做进微信公众号
  • 网站开发运行环境有哪些做家具有那个网站
  • 小说网站设计模板杭州全案设计公司