我试图更改spotify的apk名称,但是向我展示了许多依赖关系来制作这个...
首先,我遵循本手册:Change Package Names of APKs
<manifest xmlns:android="http://schemas.android.com/apk/res/android" package="com.spotify.music" platformBuildVersionCode="24" platformBuildVersionName="7.0">
我修改了com.spotify.jair
smali/com/spotify/music
的名称
到Smali/com/spotify/jair
Lcom/spotify/music
并替换
在smali文件夹中使用Lcom/spotify/jair
之后,当我尝试安装并出现错误时:
Failure [INSTALL_FAILED_DUPLICATE_PERMISSION: Package com.spotify.jair attemptin
g to redeclare permission com.spotify.music.permission.SECURED_BROADCAST already
owned by com.spotify.music]
我将AndroidManifest.xml中的所有com.spotify.music
修改为com.spotify.jair
,错误是:
Failure [INSTALL_FAILED_CONFLICTING_PROVIDER: Package couldn't be installed in /
data/app/com.spotify.jair-1: Can't install because provider name com.spotify.mob
ile.android.mediaapi (in package com.spotify.jair) is already used by com.spotif
y.music]
所以内部:res\values\
我发现<string name="media_provider_authority">com.spotify.mobile.android.mediaapi</string>
我修改了:<string name="media_provider_authority">com.spotify.mobile.android.mediaapis</string>
错误是:
6280 KB/s (35226422 bytes in 5.477s) Success
但是应用程序没有打开,并且关闭了检查。任何人都可以帮我调试应用程序关闭的原因,是否有工具来调试应用程序关闭的原因?
谢谢!
还要添加此项目树:
答案 0 :(得分:0)
我无法发表评论,该应用程序正在崩溃,您需要使用logcat查看原因 adb logcat&gt; l0g.txt 打开Spotify 拔下电话 然后将其上传到粘贴bin