angel725 发表于 2019-2-8 18:57:37

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

今天试着用挺火 的douyin练习。
但:aapt dump dabging dy.apk
只能查看包名,没有activity,怎么办?

好像发重了,请删一个

package: name='com.ss.android.ugc.aweme' versionCode='433' versionName='4.3.3'
sdkVersion:'16'
targetSdkVersion:'23'
uses-permission: name='android.permission.READ_PHONE_STATE'
uses-permission: name='android.permission.SYSTEM_ALERT_WINDOW'
uses-permission: name='android.permission.INTERNET'
uses-permission: name='android.permission.ACCESS_NETWORK_STATE'
uses-permission: name='android.permission.READ_EXTERNAL_STORAGE'
uses-permission: name='android.permission.WRITE_EXTERNAL_STORAGE'
uses-permission: name='android.permission.WRITE_SETTINGS'
uses-permission: name='android.permission.ACCESS_WIFI_STATE'
uses-permission: name='android.permission.CAMERA'
uses-permission: name='android.permission.RECORD_AUDIO'
uses-permission: name='android.permission.FLASHLIGHT'
uses-permission: name='android.permission.WAKE_LOCK'
uses-permission: name='android.permission.GET_TASKS'
uses-permission: name='android.permission.READ_CONTACTS'
uses-permission: name='android.permission.RECEIVE_BOOT_COMPLETED'
uses-permission: name='android.permission.ACCESS_FINE_LOCATION'
uses-permission: name='android.permission.ACCESS_COARSE_LOCATION'
uses-permission: name='com.meizu.c2dm.permission.RECEIVE'
uses-permission: name='com.ss.android.ugc.aweme.permission.C2D_MESSAGE'
uses-permission: name='android.permission.VIBRATE'
uses-permission: name='com.ss.android.ugc.aweme.permission.MIPUSH_RECEIVE'
uses-permission: name='com.ss.android.ugc.aweme.push.permission.MESSAGE'
uses-permission: name='com.ss.android.ugc.aweme.permission.READ_ACCOUNT'
uses-permission: name='com.ss.android.ugc.aweme.permission.WRITE_ACCOUNT'
uses-permission: name='android.permission.CHANGE_NETWORK_STATE'
uses-permission: name='permission.bind.HiMediaEngines'
uses-permission: name='com.meizu.flyme.push.permission.RECEIVE'
uses-permission: name='android.permission.GET_ACCOUNTS'
uses-permission: name='android.permission.WRITE_SYNC_SETTINGS'
uses-permission: name='android.permission.AUTHENTICATE_ACCOUNTS'
uses-permission: name='com.sec.android.provider.badge.permission.READ'
uses-permission: name='com.sec.android.provider.badge.permission.WRITE'
uses-permission: name='com.htc.launcher.permission.READ_SETTINGS'
uses-permission: name='com.htc.launcher.permission.UPDATE_SHORTCUT'
uses-permission: name='com.sonyericsson.home.permission.BROADCAST_BADGE'
uses-permission: name='com.sonymobile.home.permission.PROVIDER_INSERT_BADGE'
uses-permission: name='com.majeur.launcher.permission.UPDATE_BADGE'
uses-permission: name='com.huawei.android.launcher.permission.CHANGE_BADGE'
uses-permission: name='com.huawei.android.launcher.permission.READ_SETTINGS'
uses-permission: name='com.huawei.android.launcher.permission.WRITE_SETTINGS'
uses-permission: name='com.oppo.launcher.permission.READ_SETTINGS'
uses-permission: name='com.oppo.launcher.permission.WRITE_SETTINGS'
uses-permission: name='android.permission.CHANGE_WIFI_STATE'
uses-permission: name='android.permission.MODIFY_AUDIO_SETTINGS'
uses-permission: name='android.permission.BLUETOOTH'
uses-permission: name='android.permission.USE_CREDENTIALS'
uses-permission: name='android.permission.MANAGE_ACCOUNTS'
uses-permission: name='com.coloros.mcs.permission.RECIEVE_MCS_MESSAGE'
uses-permission: name='com.android.launcher.permission.INSTALL_SHORTCUT'
uses-permission: name='com.android.launcher.permission.UNINSTALL_SHORTCUT'
uses-permission: name='com.anddoes.launcher.permission.UPDATE_COUNT'
uses-permission: name='com.anddoes.notifier.permission.READ_NOTIFICATIONS'
uses-permission: name='android.permission.READ_APP_BADGE'
uses-permission: name='me.everything.badger.permission.BADGE_COUNT_READ'
uses-permission: name='me.everything.badger.permission.BADGE_COUNT_WRITE'
uses-permission: name='android.permission.UPDATE_APP_BADGE'
application-label:'抖音短视频'
application-icon-120:'r/k/a.png'
application-icon-160:'r/k/a.png'
application-icon-240:'r/k/a.png'
application-icon-320:'r/z/a.png'
application-icon-480:'r/a_/a.png'
application-icon-640:'r/v/a.png'
application-icon-65534:'r/k/a.png'
application-icon-65535:'r/v/a.png'
application: label='抖音短视频' icon='r/k/a.png'
feature-group: label=''
uses-gl-es: '0x20000'
uses-feature: name='android.hardware.camera'
uses-feature: name='android.hardware.camera.autofocus'
uses-feature-not-required: name='android.hardware.wifi'
uses-feature: name='android.hardware.bluetooth'
uses-implied-feature: name='android.hardware.bluetooth' reason='requested android.permission.BLUETOOTH permission, and targetSdkVersion > 4'
uses-feature: name='android.hardware.faketouch'
uses-implied-feature: name='android.hardware.faketouch' reason='default feature for all apps'
uses-feature: name='android.hardware.location'
uses-implied-feature: name='android.hardware.location' reason='requested android.permission.ACCESS_COARSE_LOCATION permission, and requested android.permission.ACCESS_FINE_LOCATION permission'
uses-feature: name='android.hardware.microphone'
uses-implied-feature: name='android.hardware.microphone' reason='requested android.permission.RECORD_AUDIO permission'
uses-feature: name='android.hardware.screen.portrait'
uses-implied-feature: name='android.hardware.screen.portrait' reason='one or more activities have specified a portrait orientation'
provides-component:'wallpaper'
other-activities
other-receivers
other-services
supports-screens: 'small' 'normal' 'large' 'xlarge'
supports-any-density: 'true'
locales: '--_--'
densities: '120' '160' '240' '320' '480' '640' '65534' '65535'
native-code: 'armeabi-v7a'

HUI774351654 发表于 2019-2-16 17:15:08

本帖最后由 HUI774351654 于 2019-2-16 17:44 编辑

你斗音视频的Apk包路径不对吧,用aapt dump badging 抖音apk包的路径    试试
页: [1]
查看完整版本: 学习测试 aapt 取不到 activity 怎么办?