React-native. / gradlew assembleRelease packaged successfully, but flashed at run time

question:
execute. / gradlew assembleRelease, prompt build questions! You can also see that the app release version of apk is generated. When I open it, there is a flicker (stop running)

previous status:
can be run before, but it can be run after being packaged successfully. I don"t know what has been modified in this update, so that it can not be run. I looked at the records submitted by git and didn"t see anything changed. But I am working normally in debug mode now, without errors. I noticed that the apk packaged this time is smaller than before, and I guess static resources are not packaged or static bundles are not loaded properly.

do you have any suggestions and ideas?


there are many reasons

  1. differences between debug packaging configuration and release
  2. the monitoring is not turned off when packing (the newly added static resource is not linked to)
  3. added the required native module of Link
  4. The problem with
  5. node_moudle needs to be deleted and reinstalled
  6. debugging mode and production mode accounts of third-party modules such as Wechat are not separated

think of so much for the time being

Menu