51Testing软件测试论坛

 找回密码
 (注-册)加入51Testing

QQ登录

只需一步,快速开始

微信登录,快人一步

手机号码,快捷登录

查看: 1494|回复: 1
打印 上一主题 下一主题

[Appium] 学习测试 aapt 取不到 activity 怎么办?

[复制链接]

该用户从未签到

跳转到指定楼层
1#
发表于 2019-2-8 18:57:37 | 只看该作者 回帖奖励 |倒序浏览 |阅读模式
今天试着用挺火 的douyin练习。
但:aapt dump dabging dy.apk
只能查看包名,没有activity,怎么办?

好像发重了,请删一个

  1. package: name='com.ss.android.ugc.aweme' versionCode='433' versionName='4.3.3'
  2. sdkVersion:'16'
  3. targetSdkVersion:'23'
  4. uses-permission: name='android.permission.READ_PHONE_STATE'
  5. uses-permission: name='android.permission.SYSTEM_ALERT_WINDOW'
  6. uses-permission: name='android.permission.INTERNET'
  7. uses-permission: name='android.permission.ACCESS_NETWORK_STATE'
  8. uses-permission: name='android.permission.READ_EXTERNAL_STORAGE'
  9. uses-permission: name='android.permission.WRITE_EXTERNAL_STORAGE'
  10. uses-permission: name='android.permission.WRITE_SETTINGS'
  11. uses-permission: name='android.permission.ACCESS_WIFI_STATE'
  12. uses-permission: name='android.permission.CAMERA'
  13. uses-permission: name='android.permission.RECORD_AUDIO'
  14. uses-permission: name='android.permission.FLASHLIGHT'
  15. uses-permission: name='android.permission.WAKE_LOCK'
  16. uses-permission: name='android.permission.GET_TASKS'
  17. uses-permission: name='android.permission.READ_CONTACTS'
  18. uses-permission: name='android.permission.RECEIVE_BOOT_COMPLETED'
  19. uses-permission: name='android.permission.ACCESS_FINE_LOCATION'
  20. uses-permission: name='android.permission.ACCESS_COARSE_LOCATION'
  21. uses-permission: name='com.meizu.c2dm.permission.RECEIVE'
  22. uses-permission: name='com.ss.android.ugc.aweme.permission.C2D_MESSAGE'
  23. uses-permission: name='android.permission.VIBRATE'
  24. uses-permission: name='com.ss.android.ugc.aweme.permission.MIPUSH_RECEIVE'
  25. uses-permission: name='com.ss.android.ugc.aweme.push.permission.MESSAGE'
  26. uses-permission: name='com.ss.android.ugc.aweme.permission.READ_ACCOUNT'
  27. uses-permission: name='com.ss.android.ugc.aweme.permission.WRITE_ACCOUNT'
  28. uses-permission: name='android.permission.CHANGE_NETWORK_STATE'
  29. uses-permission: name='permission.bind.HiMediaEngines'
  30. uses-permission: name='com.meizu.flyme.push.permission.RECEIVE'
  31. uses-permission: name='android.permission.GET_ACCOUNTS'
  32. uses-permission: name='android.permission.WRITE_SYNC_SETTINGS'
  33. uses-permission: name='android.permission.AUTHENTICATE_ACCOUNTS'
  34. uses-permission: name='com.sec.android.provider.badge.permission.READ'
  35. uses-permission: name='com.sec.android.provider.badge.permission.WRITE'
  36. uses-permission: name='com.htc.launcher.permission.READ_SETTINGS'
  37. uses-permission: name='com.htc.launcher.permission.UPDATE_SHORTCUT'
  38. uses-permission: name='com.sonyericsson.home.permission.BROADCAST_BADGE'
  39. uses-permission: name='com.sonymobile.home.permission.PROVIDER_INSERT_BADGE'
  40. uses-permission: name='com.majeur.launcher.permission.UPDATE_BADGE'
  41. uses-permission: name='com.huawei.android.launcher.permission.CHANGE_BADGE'
  42. uses-permission: name='com.huawei.android.launcher.permission.READ_SETTINGS'
  43. uses-permission: name='com.huawei.android.launcher.permission.WRITE_SETTINGS'
  44. uses-permission: name='com.oppo.launcher.permission.READ_SETTINGS'
  45. uses-permission: name='com.oppo.launcher.permission.WRITE_SETTINGS'
  46. uses-permission: name='android.permission.CHANGE_WIFI_STATE'
  47. uses-permission: name='android.permission.MODIFY_AUDIO_SETTINGS'
  48. uses-permission: name='android.permission.BLUETOOTH'
  49. uses-permission: name='android.permission.USE_CREDENTIALS'
  50. uses-permission: name='android.permission.MANAGE_ACCOUNTS'
  51. uses-permission: name='com.coloros.mcs.permission.RECIEVE_MCS_MESSAGE'
  52. uses-permission: name='com.android.launcher.permission.INSTALL_SHORTCUT'
  53. uses-permission: name='com.android.launcher.permission.UNINSTALL_SHORTCUT'
  54. uses-permission: name='com.anddoes.launcher.permission.UPDATE_COUNT'
  55. uses-permission: name='com.anddoes.notifier.permission.READ_NOTIFICATIONS'
  56. uses-permission: name='android.permission.READ_APP_BADGE'
  57. uses-permission: name='me.everything.badger.permission.BADGE_COUNT_READ'
  58. uses-permission: name='me.everything.badger.permission.BADGE_COUNT_WRITE'
  59. uses-permission: name='android.permission.UPDATE_APP_BADGE'
  60. application-label:'抖音短视频'
  61. application-icon-120:'r/k/a.png'
  62. application-icon-160:'r/k/a.png'
  63. application-icon-240:'r/k/a.png'
  64. application-icon-320:'r/z/a.png'
  65. application-icon-480:'r/a_/a.png'
  66. application-icon-640:'r/v/a.png'
  67. application-icon-65534:'r/k/a.png'
  68. application-icon-65535:'r/v/a.png'
  69. application: label='抖音短视频' icon='r/k/a.png'
  70. feature-group: label=''
  71.   uses-gl-es: '0x20000'
  72.   uses-feature: name='android.hardware.camera'
  73.   uses-feature: name='android.hardware.camera.autofocus'
  74.   uses-feature-not-required: name='android.hardware.wifi'
  75.   uses-feature: name='android.hardware.bluetooth'
  76.   uses-implied-feature: name='android.hardware.bluetooth' reason='requested android.permission.BLUETOOTH permission, and targetSdkVersion > 4'
  77.   uses-feature: name='android.hardware.faketouch'
  78.   uses-implied-feature: name='android.hardware.faketouch' reason='default feature for all apps'
  79.   uses-feature: name='android.hardware.location'
  80.   uses-implied-feature: name='android.hardware.location' reason='requested android.permission.ACCESS_COARSE_LOCATION permission, and requested android.permission.ACCESS_FINE_LOCATION permission'
  81.   uses-feature: name='android.hardware.microphone'
  82.   uses-implied-feature: name='android.hardware.microphone' reason='requested android.permission.RECORD_AUDIO permission'
  83.   uses-feature: name='android.hardware.screen.portrait'
  84.   uses-implied-feature: name='android.hardware.screen.portrait' reason='one or more activities have specified a portrait orientation'
  85. provides-component:'wallpaper'
  86. other-activities
  87. other-receivers
  88. other-services
  89. supports-screens: 'small' 'normal' 'large' 'xlarge'
  90. supports-any-density: 'true'
  91. locales: '--_--'
  92. densities: '120' '160' '240' '320' '480' '640' '65534' '65535'
  93. native-code: 'armeabi-v7a'
复制代码
分享到:  QQ好友和群QQ好友和群 QQ空间QQ空间 腾讯微博腾讯微博 腾讯朋友腾讯朋友
收藏收藏
回复

使用道具 举报

  • TA的每日心情
    开心
    2019-4-30 16:14
  • 签到天数: 53 天

    连续签到: 1 天

    [LV.5]测试团长

    2#
    发表于 2019-2-16 17:15:08 | 只看该作者
    本帖最后由 HUI774351654 于 2019-2-16 17:44 编辑

    你斗音视频的Apk包路径不对吧,用  aapt dump badging 抖音apk包的路径    试试
    回复 支持 反对

    使用道具 举报

    本版积分规则

    关闭

    站长推荐上一条 /1 下一条

    小黑屋|手机版|Archiver|51Testing软件测试网 ( 沪ICP备05003035号 关于我们

    GMT+8, 2024-11-22 08:14 , Processed in 0.069614 second(s), 22 queries .

    Powered by Discuz! X3.2

    © 2001-2024 Comsenz Inc.

    快速回复 返回顶部 返回列表