51Testing软件测试论坛

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

QQ登录

只需一步,快速开始

微信登录,快人一步

手机号码,快捷登录

查看: 1997|回复: 5
打印 上一主题 下一主题

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

[复制链接]

该用户从未签到

跳转到指定楼层
1#
发表于 2019-2-8 18:57:08 | 只看该作者 回帖奖励 |倒序浏览 |阅读模式
今天试着用挺火 的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的每日心情
    奋斗
    昨天 08:45
  • 签到天数: 1806 天

    连续签到: 5 天

    [LV.Master]测试大本营

    3#
    发表于 2019-4-3 09:55:16 | 只看该作者
    或者换种方法,用adb去取下
    回复 支持 反对

    使用道具 举报

  • TA的每日心情
    奋斗
    4 小时前
  • 签到天数: 2818 天

    连续签到: 6 天

    [LV.Master]测试大本营

    5#
    发表于 2019-4-3 12:43:36 | 只看该作者
    换种方式,获取包名,试试
    回复 支持 反对

    使用道具 举报

  • TA的每日心情
    开心
    2024-11-8 10:04
  • 签到天数: 473 天

    连续签到: 2 天

    [LV.9]测试副司令

    6#
    发表于 2019-4-3 15:43:20 | 只看该作者
    权限的问题
    回复 支持 反对

    使用道具 举报

    本版积分规则

    关闭

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

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

    GMT+8, 2024-11-23 12:32 , Processed in 0.065834 second(s), 23 queries .

    Powered by Discuz! X3.2

    © 2001-2024 Comsenz Inc.

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