[React-Native] Fix lỗi “signatures do not match previously installed version” khi build release apk
Khi run command sau
react-native run-android --variant=release
thì gặp lỗi như dưới đây
com.android.builder.testing.api.DeviceException: com.android.ddmlib.InstallException:
INSTALL_FAILED_UPDATE_INCOMPATIBLE: Package com.domain.yourapp signatures do not match previously installed version; ignoring!
Nếu gặp lỗi như trên thì fix như sau, Vào comand line gõ lệnh:
adb uninstall "com.domain.yourapp"
Sau đó run lại lênh ở trên để kiểm tra react-native run-android –variant=release
KẾT THÚC.