运行 react-native run-android --variant=release 后构建失败

Hil*_*nry 0 android react-native react-native-android react-native-ios

任务 执行失败':app:installRelease'

com.android.builder.testing.api.DeviceException:
com.android.ddmlib.InstallException: INSTALL_FAILED_INVALID_APK: Package
couldn't be installed in /data/app/com.example: Package
/data/app/com.example/base.apk code is missing
Run Code Online (Sandbox Code Playgroud)

Hil*_*nry 5

我已经通过删除应用程序发布 apkExample/android/app/build/outputs/apk/release/app-release.apk 并重新构建来修复