这是我从adb获得的错误:
10-27 15:14:44.973 356-381/system_process W/PackageSettings﹕ Skipping PackageSetting{b3d9ed58 andm.simplecarbonfiberwatchface/10023} due to missing metadata
10-27 15:14:45.063 356-381/system_process W/PackageSettings﹕ Skipping PackageSetting{b3d9ed58 andm.simplecarbonfiberwatchface/10023} due to missing metadata
10-27 15:14:46.793 356-381/system_process I/PackageManager﹕ Package andm.simplecarbonfiberwatchface codePath changed from /data/app/andm.simplecarbonfiberwatchface-1.apk to /data/app/andm.simplecarbonfiberwatchface-2.apk; Retaining data and using new
10-27 15:14:46.793 356-381/system_process E/PackageManager﹕ Package andm.simplecarbonfiberwatchface signatures do not match the previously installed version; ignoring!
10-27 15:14:46.803 356-381/system_process W/PackageManager﹕ Package couldn't be installed in /data/app/andm.simplecarbonfiberwatchface-2.apk
10-27 15:14:49.513 1181-1194/com.google.android.clockwork.packageinstaller E/WearablePkgInstaller﹕ Package install failed andm.simplecarbonfiberwatchface, returnCode -7
10-27 15:14:51.863 356-381/system_process W/PackageSettings﹕ Skipping PackageSetting{b3d9ed58 andm.simplecarbonfiberwatchface/10023} due to missing metadata
10-27 15:14:56.063 356-381/system_process W/PackageSettings﹕ Skipping PackageSetting{b3d9ed58 andm.simplecarbonfiberwatchface/10023} due to missing metadata
10-27 15:14:56.163 356-381/system_process W/PackageSettings﹕ Skipping PackageSetting{b3d9ed58 andm.simplecarbonfiberwatchface/10023} due to missing metadata
这是我的git:https://github.com/theunholy/SimpleCarbonFiberWatchFace/tree/master
答案 0 :(得分:0)
正如错误消息所示:signatures do not match the previously installed version
您正在尝试使用与之前安装的APK相同的程序包名称安装APK。这很好,除了两个APK使用不同的证书构建/签名。您的选择是: