ReactNative Android从0.53.0到0.59.1升级记录

ReactNative Android从0.53.0到0.59.1升级记录

项目迭代了60多个版本之后,我们迎来了一次不得不升级RN版本的节点.
废话不多说,上来就是干.

1. npm install or yarn

有几个库有问题,私有库要设置一下,log有详细记录:


Panda-MBP:MobileApp_V2 panda8z$ yarn
yarn install v1.12.3
warning package.json: No license field
info No lockfile found.
warning [email protected]: No license field
[1/4] ?  Resolving packages...
error An unexpected error occurred: "https://registry.npm.taobao.org/react-native-panda-alipay: Not found".
info If you think this is a bug, please open a bug report with the information provided in "/Users/panda8z/panda/MobileApp_V2/yarn-error.log".
info Visit https://yarnpkg.com/en/docs/cli/install for documentation about this command.
Panda-MBP:MobileApp_V2 panda8z$ nrm ls

  npm ---- https://registry.npmjs.org/
  cnpm --- http://r.cnpmjs.org/
* taobao - https://registry.npm.taobao.org/
  nj ----- https://registry.nodejitsu.com/
  rednpm - http://registry.mirror.cqupt.edu.cn/
  npmMirror  https://skimdb.npmjs.com/registry/
  edunpm - http://registry.enpmjs.org/
  sinopia  https://panda_npm.morme.top/

Panda-MBP:MobileApp_V2 panda8z$ nrm sinopia
Panda-MBP:MobileApp_V2 panda8z$ node -v
v11.8.0
Panda-MBP:MobileApp_V2 panda8z$ npm uninstall -g react-native-cli
removed 41 packages in 0.373s
Panda-MBP:MobileApp_V2 panda8z$ nrm ls

  npm ---- https://registry.npmjs.org/
  cnpm --- http://r.cnpmjs.org/
* taobao - https://registry.npm.taobao.org/
  nj ----- https://registry.nodejitsu.com/
  rednpm - http://registry.mirror.cqupt.edu.cn/
  npmMirror  https://skimdb.npmjs.com/registry/
  edunpm - http://registry.enpmjs.org/
  sinopia  https://panda_npm.morme.top/

Panda-MBP:MobileApp_V2 panda8z$ npm install -g react-native-cli
/usr/local/bin/react-native -> /usr/local/lib/node_modules/react-native-cli/index.js
+ [email protected]
added 41 packages from 15 contributors in 2.922s


   ╭───────────────────────────────────────────────────────────────╮
   │                                                               │
   │       New minor version of npm available! 6.5.0 → 6.9.0       │
   │   Changelog: https://github.com/npm/cli/releases/tag/v6.9.0   │
   │               Run npm install -g npm to update!               │
   │                                                               │
   ╰───────────────────────────────────────────────────────────────╯

Panda-MBP:MobileApp_V2 panda8z$ npm -v
6.5.0
Panda-MBP:MobileApp_V2 panda8z$ npm install -g npm
npm WARN checkPermissions Missing write access to /usr/local/lib/node_modules/npm/node_modules/aproba
npm WARN checkPermissions Missing write access to /usr/local/lib/node_modules/npm/node_modules/agent-base
npm WARN checkPermissions Missing write access to /usr/local/lib/node_modules/npm/node_modules/builtin-modules
npm WARN checkPermissions Missing write access to /usr/local/lib/node_modules/npm/node_modules/cidr-regex
npm WARN checkPermissions Missing write access to /usr/local/lib/node_modules/npm/node_modules/colors
npm WARN checkPermissions Missing write access to /usr/local/lib/node_modules/npm/node_modules/cli-table3
npm WARN checkPermissions Missing write access to /usr/local/lib/node_modules/npm/node_modules/es6-promise
npm WARN checkPermissions Missing write access to /usr/local/lib/node_modules/npm/node_modules/genfun
npm WARN checkPermissions Missing write access to /usr/local/lib/node_modules/npm/node_modules/get-stream
npm WARN checkPermissions Missing write access to /usr/local/lib/node_modules/npm/node_modules/is-builtin-module
npm WARN checkPermissions Missing write access to /usr/local/lib/node_modules/npm/node_modules/JSONStream
npm WARN checkPermissions Missing write access to /usr/local/lib/node_modules/npm/node_modules/libnpmhook/node_modules/npm-registry-fetch
npm WARN checkPermissions Missing write access to /usr/local/lib/node_modules/npm/node_modules/lru-cache
npm WARN checkPermissions Missing write access to /usr/local/lib/node_modules/npm/node_modules/npm-bundled
npm WARN checkPermissions Missing write access to /usr/local/lib/node_modules/npm/node_modules/npm-packlist
npm WARN checkPermissions Missing write access to /usr/local/lib/node_modules/npm/node_modules/npm-registry-client/node_modules/retry
npm WARN checkPermissions Missing write access to /usr/local/lib/node_modules/npm/node_modules/npm-registry-client/node_modules/ssri
npm WARN checkPermissions Missing write access to /usr/local/lib/node_modules/npm/node_modules/npm-registry-client
npm WARN checkPermissions Missing write access to /usr/local/lib/node_modules/npm/node_modules/npm-registry-fetch/node_modules/figgy-pudding
npm WARN checkPermissions Missing write access to /usr/local/lib/node_modules/npm/node_modules/npm-registry-fetch/node_modules/pump
npm WARN checkPermissions Missing write access to /usr/local/lib/node_modules/npm/node_modules/npm-registry-fetch/node_modules/cacache/node_modules/mississippi
npm WARN checkPermissions Missing write access to /usr/local/lib/node_modules/npm/node_modules/npm-registry-fetch/node_modules/socks
npm WARN checkPermissions Missing write access to /usr/local/lib/node_modules/npm/node_modules/npm-registry-fetch/node_modules/smart-buffer
npm WARN checkPermissions Missing write access to /usr/local/lib/node_modules/npm/node_modules/npm-registry-fetch/node_modules/socks-proxy-agent
npm WARN checkPermissions Missing write access to /usr/local/lib/node_modules/npm/node_modules/npm-registry-fetch/node_modules/cacache
npm WARN checkPermissions Missing write access to /usr/local/lib/node_modules/npm/node_modules/npm-registry-fetch/node_modules/ssri
npm WARN checkPermissions Missing write access to /usr/local/lib/node_modules/npm/node_modules/npm-registry-fetch/node_modules/make-fetch-happen
npm WARN checkPermissions Missing write access to /usr/local/lib/node_modules/npm/node_modules/npm-registry-fetch
npm WARN checkPermissions Missing write access to /usr/local/lib/node_modules/npm/node_modules/libnpmhook
npm WARN checkPermissions Missing write access to /usr/local/lib/node_modules/npm/node_modules/npm-profile
npm WARN checkPermissions Missing write access to /usr/local/lib/node_modules/npm/node_modules/protoduck
npm WARN checkPermissions Missing write access to /usr/local/lib/node_modules/npm/node_modules/rimraf
npm WARN checkPermissions Missing write access to /usr/local/lib/node_modules/npm/node_modules/cacache
npm WARN checkPermissions Missing write access to /usr/local/lib/node_modules/npm/node_modules/lock-verify
npm WARN checkPermissions Missing write access to /usr/local/lib/node_modules/npm/node_modules/semver
npm WARN checkPermissions Missing write access to /usr/local/lib/node_modules/npm/node_modules/normalize-package-data
npm WARN checkPermissions Missing write access to /usr/local/lib/node_modules/npm/node_modules/npm-pick-manifest
npm WARN checkPermissions Missing write access to /usr/local/lib/node_modules/npm/node_modules/spdx-license-ids
npm WARN checkPermissions Missing write access to /usr/local/lib/node_modules/npm/node_modules/string_decoder
npm WARN checkPermissions Missing write access to /usr/local/lib/node_modules/npm/node_modules/unique-filename
npm WARN checkPermissions Missing write access to /usr/local/lib/node_modules/npm/node_modules/pacote
npm WARN checkPermissions Missing write access to /usr/local/lib/node_modules/npm/node_modules/write-file-atomic
npm WARN checkPermissions Missing write access to /usr/local/lib/node_modules/npm/node_modules/byte-size
npm WARN checkPermissions Missing write access to /usr/local/lib/node_modules/npm/node_modules/chownr
npm WARN checkPermissions Missing write access to /usr/local/lib/node_modules/npm/node_modules/ci-info
npm WARN checkPermissions Missing write access to /usr/local/lib/node_modules/npm/node_modules/is-cidr
npm WARN checkPermissions Missing write access to /usr/local/lib/node_modules/npm/node_modules/libcipm
npm WARN checkPermissions Missing write access to /usr/local/lib/node_modules/npm/node_modules/npm-audit-report
npm WARN checkPermissions Missing write access to /usr/local/lib/node_modules/npm/node_modules/query-string
npm WARN checkPermissions Missing write access to /usr/local/lib/node_modules/npm/node_modules/read-package-tree
npm WARN checkPermissions Missing write access to /usr/local/lib/node_modules/npm/node_modules/readable-stream
npm WARN checkPermissions Missing write access to /usr/local/lib/node_modules/npm
npm WARN checkPermissions Missing write access to /usr/local/lib/node_modules/npm/node_modules
npm WARN checkPermissions Missing write access to /usr/local/lib/node_modules/npm/node_modules/copy-concurrently/node_modules
npm WARN checkPermissions Missing write access to /usr/local/lib/node_modules/npm/node_modules/fs-write-stream-atomic/node_modules
npm WARN checkPermissions Missing write access to /usr/local/lib/node_modules/npm/node_modules/gauge/node_modules
npm WARN checkPermissions Missing write access to /usr/local/lib/node_modules/npm/node_modules/gentle-fs/node_modules
npm WARN checkPermissions Missing write access to /usr/local/lib/node_modules/npm/node_modules/libnpmhook/node_modules
npm WARN checkPermissions Missing write access to /usr/local/lib/node_modules/npm/node_modules/npm-registry-client/node_modules
npm WARN checkPermissions Missing write access to /usr/local/lib/node_modules/npm/node_modules/npm-registry-fetch/node_modules
npm WARN checkPermissions Missing write access to /usr/local/lib/node_modules/npm/node_modules/npm-registry-fetch/node_modules/cacache/node_modules
npm WARN checkPermissions Missing write access to /usr/local/lib/node_modules/npm/node_modules/are-we-there-yet
npm WARN checkPermissions Missing write access to /usr/local/lib/node_modules/npm/node_modules/concat-stream
npm WARN checkPermissions Missing write access to /usr/local/lib/node_modules/npm/node_modules/duplexify
npm WARN checkPermissions Missing write access to /usr/local/lib/node_modules/npm/node_modules/execa
npm WARN checkPermissions Missing write access to /usr/local/lib/node_modules/npm/node_modules/flush-write-stream
npm WARN checkPermissions Missing write access to /usr/local/lib/node_modules/npm/node_modules/from2
npm WARN checkPermissions Missing write access to /usr/local/lib/node_modules/npm/node_modules/got
npm WARN checkPermissions Missing write access to /usr/local/lib/node_modules/npm/node_modules/is-ci
npm WARN checkPermissions Missing write access to /usr/local/lib/node_modules/npm/node_modules/move-concurrently
npm WARN checkPermissions Missing write access to /usr/local/lib/node_modules/npm/node_modules/parallel-transform
npm WARN checkPermissions Missing write access to /usr/local/lib/node_modules/npm/node_modules/run-queue
npm WARN checkPermissions Missing write access to /usr/local/lib/node_modules/npm/node_modules/sha
npm WARN checkPermissions Missing write access to /usr/local/lib/node_modules/npm/node_modules/stream-iterate
npm WARN checkPermissions Missing write access to /usr/local/lib/node_modules/npm/node_modules/through2
npm ERR! path /usr/local/lib/node_modules/npm/node_modules/aproba
npm ERR! code EACCES
npm ERR! errno -13
npm ERR! syscall access
npm ERR! Error: EACCES: permission denied, access '/usr/local/lib/node_modules/npm/node_modules/aproba'
npm ERR!  { [Error: EACCES: permission denied, access '/usr/local/lib/node_modules/npm/node_modules/aproba']
npm ERR!   stack:
npm ERR!    "Error: EACCES: permission denied, access '/usr/local/lib/node_modules/npm/node_modules/aproba'",
npm ERR!   errno: -13,
npm ERR!   code: 'EACCES',
npm ERR!   syscall: 'access',
npm ERR!   path: '/usr/local/lib/node_modules/npm/node_modules/aproba' }
npm ERR! 
npm ERR! The operation was rejected by your operating system.
npm ERR! It is likely you do not have the permissions to access this file as the current user
npm ERR! 
npm ERR! If you believe this might be a permissions issue, please double-check the
npm ERR! permissions of the file and its containing directories, or try running
npm ERR! the command again as root/Administrator (though this is not recommended).

npm ERR! A complete log of this run can be found in:
npm ERR!     /Users/panda8z/.npm/_logs/2019-03-19T01_53_42_427Z-debug.log
Panda-MBP:MobileApp_V2 panda8z$ sudo npm install -g npm
Password:
/usr/local/bin/npm -> /usr/local/lib/node_modules/npm/bin/npm-cli.js
/usr/local/bin/npx -> /usr/local/lib/node_modules/npm/bin/npx-cli.js
+ [email protected]
added 52 packages from 9 contributors, removed 15 packages and updated 37 packages in 6.581s
Panda-MBP:MobileApp_V2 panda8z$ npm -v
6.9.0
Panda-MBP:MobileApp_V2 panda8z$ node -v
v11.8.0
Panda-MBP:MobileApp_V2 panda8z$ yarn 
yarn install v1.12.3
warning package.json: No license field
info No lockfile found.
warning [email protected]: No license field
[1/4] ?  Resolving packages...
⠈ mimic-fn@^1.0.0^C
Panda-MBP:MobileApp_V2 panda8z$ nrm ls

  npm ---- https://registry.npmjs.org/
  cnpm --- http://r.cnpmjs.org/
* taobao - https://registry.npm.taobao.org/
  nj ----- https://registry.nodejitsu.com/
  rednpm - http://registry.mirror.cqupt.edu.cn/
  npmMirror  https://skimdb.npmjs.com/registry/
  edunpm - http://registry.enpmjs.org/
  sinopia  https://panda_npm.morme.top/

Panda-MBP:MobileApp_V2 panda8z$ nrm use sinopia
                        

   Registry has been set to: https://panda_npm.morme.top/

Panda-MBP:MobileApp_V2 panda8z$ yanr
bash: yanr: command not found
Panda-MBP:MobileApp_V2 panda8z$ yarn
yarn install v1.12.3
warning package.json: No license field
info No lockfile found.
warning [email protected]: No license field
[1/4] ?  Resolving packages...
error Couldn't find package "@react-native-community/cli@^1.2.1" required by "[email protected]" on the "npm" registry.
info Visit https://yarnpkg.com/en/docs/cli/install for documentation about this command.
Panda-MBP:MobileApp_V2 panda8z$ npm config set "@react-native-community:registry" http://registry.npmjs.org/
Panda-MBP:MobileApp_V2 panda8z$ yarn
yarn install v1.12.3
warning package.json: No license field
info No lockfile found.
warning [email protected]: No license field
[1/4] ?  Resolving packages...
error Couldn't find package "@types/node@*" required by "jest-worker@^24.0.0-alpha.6" on the "npm" registry.
info Visit https://yarnpkg.com/en/docs/cli/install for documentation about this command.
Panda-MBP:MobileApp_V2 panda8z$ npm config set "@types:registry" http://registry.npmjs.org/
Panda-MBP:MobileApp_V2 panda8z$ yarn
yarn install v1.12.3
warning package.json: No license field
info No lockfile found.
warning [email protected]: No license field
[1/4] ?  Resolving packages...
error Command failed.
Exit code: 128
Command: git
Arguments: ls-remote --tags --heads https://github.com/apache/cordova-node-xcode.git
Directory: /Users/panda8z/panda/MobileApp_V2
Output:
fatal: unable to access 'https://github.com/apache/cordova-node-xcode.git/': LibreSSL SSL_connect: SSL_ERROR_SYSCALL in connection to github.com:443
info Visit https://yarnpkg.com/en/docs/cli/install for documentation about this command.
Panda-MBP:MobileApp_V2 panda8z$ yarn
yarn install v1.12.3
warning package.json: No license field
info No lockfile found.
warning [email protected]: No license field
[1/4] ?  Resolving packages...
warning react-native-sqlite-storage > xcode > [email protected]: Use uuid module instead
error Couldn't find package "@jest/transform@^24.5.0" required by "babel-jest@^24.5.0" on the "npm" registry.
info Visit https://yarnpkg.com/en/docs/cli/install for documentation about this command.
Error: Couldn't find package "@jest/types@^24.5.0" required by "babel-jest@^24.5.0" on the "npm" registry.
    at MessageError.ExtendableBuiltin (/usr/local/lib/node_modules/yarn/lib/cli.js:727:66)
    at new MessageError (/usr/local/lib/node_modules/yarn/lib/cli.js:756:123)
    at PackageRequest. (/usr/local/lib/node_modules/yarn/lib/cli.js:35729:17)
    at Generator.throw ()
    at step (/usr/local/lib/node_modules/yarn/lib/cli.js:304:30)
    at /usr/local/lib/node_modules/yarn/lib/cli.js:317:13
    at processTicksAndRejections (internal/process/next_tick.js:81:5)
Panda-MBP:MobileApp_V2 panda8z$ npm config set "@jest:registry" http://registry.npmjs.org/
Panda-MBP:MobileApp_V2 panda8z$ yarn
yarn install v1.12.3
warning package.json: No license field
info No lockfile found.
warning [email protected]: No license field
[1/4] ?  Resolving packages...
warning react-native-sqlite-storage > xcode > [email protected]: Use uuid module instead
error Couldn't find package "@cnakazawa/watch@^1.0.3" required by "sane@^4.0.3" on the "npm" registry.
info Visit https://yarnpkg.com/en/docs/cli/install for documentation about this command.
Panda-MBP:MobileApp_V2 panda8z$ npm config set "@cnakazawa:registry" http://registry.npmjs.org/
Panda-MBP:MobileApp_V2 panda8z$ yarn
yarn install v1.12.3
warning package.json: No license field
info No lockfile found.
warning [email protected]: No license field
[1/4] ?  Resolving packages...
warning react-native-sqlite-storage > xcode > [email protected]: Use uuid module instead
[2/4] ?  Fetching packages...
[3/4] ?  Linking dependencies...
warning " > [email protected]" has incorrect peer dependency "[email protected]".
warning " > [email protected]" has unmet peer dependency "react-art@>= 16.3.2".
warning " > [email protected]" has unmet peer dependency "react-dom@>= 16.3.2".
warning " > [email protected]" has unmet peer dependency "react-native-web@>= 0.7".
warning " > [email protected]" has unmet peer dependency "jcore-react-native@>= 1.2.0".
warning " > [email protected]" has incorrect peer dependency "react-native@^0.40".
warning " > [email protected]" has incorrect peer dependency "react-native-svg@^6.5.2".
warning "react-navigation > [email protected]" has unmet peer dependency "react-native-screens@^1.0.0 || ^1.0.0-alpha".
warning "react-navigation > [email protected]" has unmet peer dependency "react-native-screens@^1.0.0 || ^1.0.0-alpha".
warning "react-navigation > [email protected]" has unmet peer dependency "react-native-screens@^1.0.0 || ^1.0.0-alpha".
warning "jest > jest-cli > jest-config > [email protected]" has unmet peer dependency "jest-haste-map@^24.0.0".
warning "jest > jest-cli > @jest/core > [email protected]" has unmet peer dependency "jest-resolve@^24.1.0".
[4/4] ?  Building fresh packages...
success Saved lockfile.
✨  Done in 41.74s.
Panda-MBP:MobileApp_V2 panda8z$ 

2. 升级yarn


Panda-MBP:MobileApp_V2 panda8z$ yarn -v
1.12.3
Panda-MBP:MobileApp_V2 panda8z$ npm install -g yarn
/usr/local/bin/yarn -> /usr/local/lib/node_modules/yarn/bin/yarn.js
/usr/local/bin/yarnpkg -> /usr/local/lib/node_modules/yarn/bin/yarn.js
+ [email protected]
updated 1 package in 1.115s
Panda-MBP:MobileApp_V2 panda8z$ 

3. 更改Android项目蓝图级文件


1. project级别

  • build.gradle
  • gradle.properties

2. appModules级别

  • build.gradle
  • proguard-rules.pro

4. SyncAndroid工程后找到了react-native-video库不适配了


升级react-native-video库从2.2.04.4.0

重新Sync工程。

出现两类主要问题:

1. 第三方库在清单文件(manifest)文件里写minSdk的问题

在这里插入图片描述

2. 一些第三方库滞后的依赖标识符,和buildTool版本的适配问题

在这里插入图片描述

5. 解决第三方库在清单文件(manifest)文件里写minSdk的问题


ERROR: The minSdk version should not be declared in the android manifest file. You can move the version from the manifest to the defaultConfig in the build.gradle file.
Remove minSdkVersion and sync project
Affected Modules: react-native-i18n, react-native-panda-jpush

具体表现是这样的:

在这里插入图片描述

暂时性解决方案:(本方案在重新安装node_modules后失效)
去第三方库的清单文件先删掉相应的定义minSdk的行,
在这里插入图片描述

后期解决方案是:

  1. 看看他们在高版本库里有没有解决,然后考虑是否升级他们的版本。
  2. 把当前依赖的这个版本的库拉取到自己的私有云自己维护,自己改。但是权利越大责任越大。

6. 解决第4步中的:一些第三方库滞后的依赖标识符,和buildTool版本的适配问题


暂时忽略,不理他。问题不大。
使用了Android Studio3.3.2版本之后报错清晰。很好用。
在这里插入图片描述

7. 更改报名将相应的源码文件和资源文件移过来


  • java文件夹的内容
  • res文件夹的内容移动过来

注意几个文件:

  • MainApplication.java
  • MainActivity.java 已经不用依赖一个自定义的ReactActivity了,相应缺少了一个startLoadRNView方法。这个后面再解决 ,一起不能解析的方法先注释。

8. 运行下./gradlew assembleDebug试试有哪些错误存在


在这里插入图片描述
这个问题最终的解决方案是升级信用卡库:升级到7.4.0
tipsi/tipsi-stripe: React Native Stripe binding for iOS/Android platforms

8. 升级了第7步的库之后有其他问题报错


在这里插入图片描述
解决方案: 错误说的很清楚,在标签里加一行:
在这里插入图片描述

9. 解决完第8步之后继续./gradlew assembleDebug报了新的错误


在这里插入图片描述

解决方案: minSdk升级到19

10. 解决完第9步之后继续./gradlew assembleDebug报了新的错误


在这里插入图片描述
解决方案:
java.lang.RuntimeException: Manifest merger failed with multiple errors, see logs - HYD的博客 - CSDN博客
在这里插入图片描述
然后,完善appModule下的build.gradle

11. 解决完第10步之后继续./gradlew assembleDebug报了新的错误


在这里插入图片描述

解决方案:
查看知道,这个东西都是知乎的图片选择库里的属性,引入这些库就行,继续完善appModule下的build.gradle

12. 不断完善build.gradle后


在这里插入图片描述

解决方案: 所有的这些有问题的库要么去升级要么都得提PR 。



13. 节点出现: debug包打成功了.


好了现在开始搞事情.

得到一个运行时报错.
ReactNative Android从0.53.0到0.59.1升级记录_第1张图片

错误原因: 多引入了一个SvgPackage
解决方案: 删除掉一个SvgPackage即可。

14. 新的运行时问题。


ReactNative Android从0.53.0到0.59.1升级记录_第2张图片

解决方案: 删除掉一个StripeReactPackage即可。

15. 新的运行时问题


在这里插入图片描述
**解决方案:**没启动服务导致的,启动一下,但是没解决

16. Debug包一直报15步的问题打release包报错

打Release包会出这个问题:
ReactNative Android从0.53.0到0.59.1升级记录_第3张图片
ReactNative Android从0.53.0到0.59.1升级记录_第4张图片

解决方案: 这是支持库的锅,升级支持库版本到28.0.3
Android Studio:resource android:attr/dialogCornerRadius not found 出错解决方案 - weixin_43465451的博客 - CSDN博客
Error:(9, 5) error: resource android:attr/dialogCornerRadius not found. - 丿灬安之若死 - CSDN博客

Android:Gradle报错——No resource found that matches the given name (at ‘dialogCornerRadius’ with value ‘?android:attr/dialogCornerRadius’) - 一只敲码的猫 - 博客园

继续往下走看看有什么解决方案。

17. 查看依赖图,图没什么问题,就是第三方库的问题

Panda-MBP:android panda8z$ ./gradlew -q dependencies app:dependencies --configuration debugCompileClasspath

------------------------------------------------------------
Root project
------------------------------------------------------------

No configurations

A web-based, searchable dependency report is available by adding the --scan option.

------------------------------------------------------------
Project :app
------------------------------------------------------------

debugCompileClasspath - Resolved configuration for compilation for variant: debug
+--- com.github.yalantis:ucrop:2.2.2-native
|    +--- com.android.support:appcompat-v7:27.1.0 -> 28.0.0
|    |    +--- com.android.support:support-annotations:28.0.0
|    |    +--- com.android.support:support-compat:28.0.0
|    |    |    +--- com.android.support:support-annotations:28.0.0
|    |    |    +--- com.android.support:collections:28.0.0
|    |    |    |    \--- com.android.support:support-annotations:28.0.0
|    |    |    +--- android.arch.lifecycle:runtime:1.1.1
|    |    |    |    +--- android.arch.lifecycle:common:1.1.1
|    |    |    |    |    \--- com.android.support:support-annotations:26.1.0 -> 28.0.0
|    |    |    |    +--- android.arch.core:common:1.1.1
|    |    |    |    |    \--- com.android.support:support-annotations:26.1.0 -> 28.0.0
|    |    |    |    \--- com.android.support:support-annotations:26.1.0 -> 28.0.0
|    |    |    \--- com.android.support:versionedparcelable:28.0.0
|    |    |         +--- com.android.support:support-annotations:28.0.0
|    |    |         \--- com.android.support:collections:28.0.0 (*)
|    |    +--- com.android.support:collections:28.0.0 (*)
|    |    +--- com.android.support:cursoradapter:28.0.0
|    |    |    \--- com.android.support:support-annotations:28.0.0
|    |    +--- com.android.support:support-core-utils:28.0.0
|    |    |    +--- com.android.support:support-annotations:28.0.0
|    |    |    +--- com.android.support:support-compat:28.0.0 (*)
|    |    |    +--- com.android.support:documentfile:28.0.0
|    |    |    |    \--- com.android.support:support-annotations:28.0.0
|    |    |    +--- com.android.support:loader:28.0.0
|    |    |    |    +--- com.android.support:support-annotations:28.0.0
|    |    |    |    +--- com.android.support:support-compat:28.0.0 (*)
|    |    |    |    +--- android.arch.lifecycle:livedata:1.1.1
|    |    |    |    |    +--- android.arch.core:runtime:1.1.1
|    |    |    |    |    |    +--- com.android.support:support-annotations:26.1.0 -> 28.0.0
|    |    |    |    |    |    \--- android.arch.core:common:1.1.1 (*)
|    |    |    |    |    +--- android.arch.lifecycle:livedata-core:1.1.1
|    |    |    |    |    |    +--- android.arch.lifecycle:common:1.1.1 (*)
|    |    |    |    |    |    +--- android.arch.core:common:1.1.1 (*)
|    |    |    |    |    |    \--- android.arch.core:runtime:1.1.1 (*)
|    |    |    |    |    \--- android.arch.core:common:1.1.1 (*)
|    |    |    |    \--- android.arch.lifecycle:viewmodel:1.1.1
|    |    |    |         \--- com.android.support:support-annotations:26.1.0 -> 28.0.0
|    |    |    +--- com.android.support:localbroadcastmanager:28.0.0
|    |    |    |    \--- com.android.support:support-annotations:28.0.0
|    |    |    \--- com.android.support:print:28.0.0
|    |    |         \--- com.android.support:support-annotations:28.0.0
|    |    +--- com.android.support:support-fragment:28.0.0
|    |    |    +--- com.android.support:support-compat:28.0.0 (*)
|    |    |    +--- com.android.support:support-core-ui:28.0.0
|    |    |    |    +--- com.android.support:support-annotations:28.0.0
|    |    |    |    +--- com.android.support:support-compat:28.0.0 (*)
|    |    |    |    +--- com.android.support:support-core-utils:28.0.0 (*)
|    |    |    |    +--- com.android.support:customview:28.0.0
|    |    |    |    |    +--- com.android.support:support-annotations:28.0.0
|    |    |    |    |    \--- com.android.support:support-compat:28.0.0 (*)
|    |    |    |    +--- com.android.support:viewpager:28.0.0
|    |    |    |    |    +--- com.android.support:support-annotations:28.0.0
|    |    |    |    |    +--- com.android.support:support-compat:28.0.0 (*)
|    |    |    |    |    \--- com.android.support:customview:28.0.0 (*)
|    |    |    |    +--- com.android.support:coordinatorlayout:28.0.0
|    |    |    |    |    +--- com.android.support:support-annotations:28.0.0
|    |    |    |    |    +--- com.android.support:support-compat:28.0.0 (*)
|    |    |    |    |    \--- com.android.support:customview:28.0.0 (*)
|    |    |    |    +--- com.android.support:drawerlayout:28.0.0
|    |    |    |    |    +--- com.android.support:support-annotations:28.0.0
|    |    |    |    |    +--- com.android.support:support-compat:28.0.0 (*)
|    |    |    |    |    \--- com.android.support:customview:28.0.0 (*)
|    |    |    |    +--- com.android.support:slidingpanelayout:28.0.0
|    |    |    |    |    +--- com.android.support:support-annotations:28.0.0
|    |    |    |    |    +--- com.android.support:support-compat:28.0.0 (*)
|    |    |    |    |    \--- com.android.support:customview:28.0.0 (*)
|    |    |    |    +--- com.android.support:interpolator:28.0.0
|    |    |    |    |    \--- com.android.support:support-annotations:28.0.0
|    |    |    |    +--- com.android.support:swiperefreshlayout:28.0.0
|    |    |    |    |    +--- com.android.support:support-annotations:28.0.0
|    |    |    |    |    +--- com.android.support:support-compat:28.0.0 (*)
|    |    |    |    |    \--- com.android.support:interpolator:28.0.0 (*)
|    |    |    |    +--- com.android.support:asynclayoutinflater:28.0.0
|    |    |    |    |    +--- com.android.support:support-annotations:28.0.0
|    |    |    |    |    \--- com.android.support:support-compat:28.0.0 (*)
|    |    |    |    \--- com.android.support:cursoradapter:28.0.0 (*)
|    |    |    +--- com.android.support:support-core-utils:28.0.0 (*)
|    |    |    +--- com.android.support:support-annotations:28.0.0
|    |    |    +--- com.android.support:loader:28.0.0 (*)
|    |    |    \--- android.arch.lifecycle:viewmodel:1.1.1 (*)
|    |    +--- com.android.support:support-vector-drawable:28.0.0
|    |    |    +--- com.android.support:support-annotations:28.0.0
|    |    |    \--- com.android.support:support-compat:28.0.0 (*)
|    |    \--- com.android.support:animated-vector-drawable:28.0.0
|    |         +--- com.android.support:support-vector-drawable:28.0.0 (*)
|    |         \--- com.android.support:support-core-ui:28.0.0 (*)
|    \--- com.squareup.okhttp3:okhttp:3.8.1 -> 3.12.1
|         \--- com.squareup.okio:okio:1.15.0
+--- :openDefault-4.3.6
+--- id.zelory:compressor:2.1.0
|    \--- io.reactivex.rxjava2:rxjava:2.1.0
|         \--- org.reactivestreams:reactive-streams:1.0.0
+--- com.android.support:multidex:1.0.2 -> 1.0.3
+--- com.github.yalantis:ucrop:2.2.2-native (*)
+--- com.android.support:appcompat-v7:28.0.0 (*)
+--- com.android.support:support-annotations:28.0.0
+--- com.android.support:support-compat:28.0.0 (*)
+--- com.android.support:collections:28.0.0 (*)
+--- android.arch.lifecycle:runtime:1.1.1 (*)
+--- android.arch.lifecycle:common:1.1.1 (*)
+--- android.arch.core:common:1.1.1 (*)
+--- com.android.support:versionedparcelable:28.0.0 (*)
+--- com.android.support:cursoradapter:28.0.0 (*)
+--- com.android.support:support-core-utils:28.0.0 (*)
+--- com.android.support:documentfile:28.0.0 (*)
+--- com.android.support:loader:28.0.0 (*)
+--- android.arch.lifecycle:livedata:1.1.1 (*)
+--- android.arch.core:runtime:1.1.1 (*)
+--- android.arch.lifecycle:livedata-core:1.1.1 (*)
+--- android.arch.lifecycle:viewmodel:1.1.1 (*)
+--- com.android.support:localbroadcastmanager:28.0.0 (*)
+--- com.android.support:print:28.0.0 (*)
+--- com.android.support:support-fragment:28.0.0 (*)
+--- com.android.support:support-core-ui:28.0.0 (*)
+--- com.android.support:customview:28.0.0 (*)
+--- com.android.support:viewpager:28.0.0 (*)
+--- com.android.support:coordinatorlayout:28.0.0 (*)
+--- com.android.support:drawerlayout:28.0.0 (*)
+--- com.android.support:slidingpanelayout:28.0.0 (*)
+--- com.android.support:interpolator:28.0.0 (*)
+--- com.android.support:swiperefreshlayout:28.0.0 (*)
+--- com.android.support:asynclayoutinflater:28.0.0 (*)
+--- com.android.support:support-vector-drawable:28.0.0 (*)
+--- com.android.support:animated-vector-drawable:28.0.0 (*)
+--- com.squareup.okhttp3:okhttp:3.12.1 (*)
+--- com.squareup.okio:okio:1.15.0
+--- id.zelory:compressor:2.1.0 (*)
+--- io.reactivex.rxjava2:rxjava:2.1.0 (*)
+--- org.reactivestreams:reactive-streams:1.0.0
+--- com.android.support:multidex:1.0.3
+--- com.facebook.react:react-native:0.59.1
|    +--- com.facebook.infer.annotation:infer-annotation:0.11.2
|    |    \--- com.google.code.findbugs:jsr305:3.0.1 -> 3.0.2
|    +--- javax.inject:javax.inject:1
|    +--- com.android.support:appcompat-v7:28.0.0 (*)
|    +--- com.facebook.fresco:fresco:1.10.0
|    |    +--- com.facebook.fresco:fbcore:1.10.0
|    |    +--- com.facebook.fresco:drawee:1.10.0
|    |    |    +--- com.facebook.fresco:fbcore:1.10.0
|    |    |    \--- com.facebook.fresco:imagepipeline:1.10.0
|    |    |         +--- com.facebook.fresco:imagepipeline-base:1.10.0
|    |    |         |    +--- com.facebook.soloader:soloader:0.5.0 -> 0.6.0
|    |    |         |    +--- com.parse.bolts:bolts-tasks:1.4.0
|    |    |         |    \--- com.facebook.fresco:fbcore:1.10.0
|    |    |         +--- com.facebook.soloader:soloader:0.5.0 -> 0.6.0
|    |    |         +--- com.parse.bolts:bolts-tasks:1.4.0
|    |    |         \--- com.facebook.fresco:fbcore:1.10.0
|    |    +--- com.facebook.fresco:imagepipeline:1.10.0 (*)
|    |    \--- com.facebook.soloader:soloader:0.5.0 -> 0.6.0
|    +--- com.facebook.fresco:imagepipeline-okhttp3:1.10.0
|    |    +--- com.squareup.okhttp3:okhttp:3.10.0 -> 3.12.1 (*)
|    |    +--- com.facebook.fresco:fbcore:1.10.0
|    |    \--- com.facebook.fresco:imagepipeline:1.10.0 (*)
|    +--- com.facebook.soloader:soloader:0.6.0
|    +--- com.google.code.findbugs:jsr305:3.0.2
|    +--- com.squareup.okhttp3:okhttp:3.12.1 (*)
|    +--- com.squareup.okhttp3:okhttp-urlconnection:3.12.1
|    |    \--- com.squareup.okhttp3:okhttp:3.12.1 (*)
|    \--- com.squareup.okio:okio:1.15.0
+--- com.facebook.infer.annotation:infer-annotation:0.11.2 (*)
+--- com.google.code.findbugs:jsr305:3.0.2
+--- javax.inject:javax.inject:1
+--- com.facebook.fresco:fresco:1.10.0 (*)
+--- com.facebook.fresco:fbcore:1.10.0
+--- com.facebook.fresco:drawee:1.10.0 (*)
+--- com.facebook.fresco:imagepipeline:1.10.0 (*)
+--- com.facebook.fresco:imagepipeline-base:1.10.0 (*)
+--- com.facebook.soloader:soloader:0.6.0
+--- com.parse.bolts:bolts-tasks:1.4.0
+--- com.facebook.fresco:imagepipeline-okhttp3:1.10.0 (*)
+--- com.squareup.okhttp3:okhttp-urlconnection:3.12.1 (*)
+--- com.android.support:support-v4:28.0.0
|    +--- com.android.support:support-compat:28.0.0 (*)
|    +--- com.android.support:support-media-compat:28.0.0
|    |    +--- com.android.support:support-annotations:28.0.0
|    |    +--- com.android.support:support-compat:28.0.0 (*)
|    |    \--- com.android.support:versionedparcelable:28.0.0 (*)
|    +--- com.android.support:support-core-utils:28.0.0 (*)
|    +--- com.android.support:support-core-ui:28.0.0 (*)
|    \--- com.android.support:support-fragment:28.0.0 (*)
+--- com.android.support:support-media-compat:28.0.0 (*)
+--- com.google.android.gms:play-services-base:16.0.1
|    +--- com.google.android.gms:play-services-basement:16.0.1 -> 16.2.0
|    |    \--- com.android.support:support-v4:26.1.0 -> 28.0.0 (*)
|    \--- com.google.android.gms:play-services-tasks:16.0.1
|         \--- com.google.android.gms:play-services-basement:16.0.1 -> 16.2.0 (*)
+--- com.google.android.gms:play-services-basement:16.2.0 (*)
+--- com.google.android.gms:play-services-tasks:16.0.1 (*)
+--- com.google.firebase:firebase-core:16.0.8
|    \--- com.google.firebase:firebase-analytics:16.4.0
|         +--- com.google.android.gms:play-services-measurement:16.4.0
|         |    +--- com.google.android.gms:play-services-basement:16.2.0 (*)
|         |    +--- com.google.android.gms:play-services-measurement-base:[16.4.0] -> 16.4.0
|         |    |    \--- com.google.android.gms:play-services-basement:16.2.0 (*)
|         |    +--- com.google.android.gms:play-services-measurement-impl:[16.4.0] -> 16.4.0
|         |    |    +--- com.google.android.gms:play-services-ads-identifier:16.0.0
|         |    |    |    \--- com.google.android.gms:play-services-basement:16.0.1 -> 16.2.0 (*)
|         |    |    +--- com.google.android.gms:play-services-basement:16.2.0 (*)
|         |    |    +--- com.google.android.gms:play-services-measurement-base:[16.4.0] -> 16.4.0 (*)
|         |    |    \--- com.google.android.gms:play-services-stats:16.0.1
|         |    |         \--- com.google.android.gms:play-services-basement:16.0.1 -> 16.2.0 (*)
|         |    \--- com.google.android.gms:play-services-stats:16.0.1 (*)
|         +--- com.google.android.gms:play-services-measurement-api:16.4.0
|         |    +--- com.google.android.gms:play-services-basement:16.2.0 (*)
|         |    +--- com.google.android.gms:play-services-measurement-base:[16.4.0] -> 16.4.0 (*)
|         |    +--- com.google.android.gms:play-services-measurement-impl:[16.4.0] -> 16.4.0 (*)
|         |    +--- com.google.android.gms:play-services-measurement-sdk-api:[16.4.0] -> 16.4.0
|         |    |    +--- com.google.android.gms:play-services-basement:16.2.0 (*)
|         |    |    \--- com.google.android.gms:play-services-measurement-base:[16.4.0] -> 16.4.0 (*)
|         |    +--- com.google.android.gms:play-services-tasks:16.0.1 (*)
|         |    +--- com.google.firebase:firebase-common:16.0.3
|         |    |    +--- com.google.android.gms:play-services-basement:16.0.1 -> 16.2.0 (*)
|         |    |    \--- com.google.android.gms:play-services-tasks:16.0.1 (*)
|         |    +--- com.google.firebase:firebase-iid:17.0.3
|         |    |    +--- com.google.android.gms:play-services-basement:16.0.1 -> 16.2.0 (*)
|         |    |    +--- com.google.android.gms:play-services-stats:16.0.1 (*)
|         |    |    +--- com.google.android.gms:play-services-tasks:16.0.1 (*)
|         |    |    +--- com.google.firebase:firebase-common:16.0.3 (*)
|         |    |    \--- com.google.firebase:firebase-iid-interop:16.0.1
|         |    |         +--- com.google.android.gms:play-services-base:16.0.1 (*)
|         |    |         \--- com.google.android.gms:play-services-basement:16.0.1 -> 16.2.0 (*)
|         |    \--- com.google.firebase:firebase-measurement-connector:17.0.1
|         |         \--- com.google.android.gms:play-services-basement:16.0.1 -> 16.2.0 (*)
|         \--- com.google.android.gms:play-services-measurement-sdk:16.4.0
|              +--- com.google.android.gms:play-services-basement:16.2.0 (*)
|              +--- com.google.android.gms:play-services-measurement-base:[16.4.0] -> 16.4.0 (*)
|              +--- com.google.android.gms:play-services-measurement-impl:[16.4.0] -> 16.4.0 (*)
|              \--- com.google.android.gms:play-services-measurement-sdk-api:[16.4.0] -> 16.4.0 (*)
+--- com.google.firebase:firebase-analytics:16.4.0 (*)
+--- com.google.android.gms:play-services-measurement:16.4.0 (*)
+--- com.google.android.gms:play-services-measurement-base:16.4.0 (*)
+--- com.google.android.gms:play-services-measurement-impl:16.4.0 (*)
+--- com.google.android.gms:play-services-ads-identifier:16.0.0 (*)
+--- com.google.android.gms:play-services-stats:16.0.1 (*)
+--- com.google.android.gms:play-services-measurement-api:16.4.0 (*)
+--- com.google.android.gms:play-services-measurement-sdk-api:16.4.0 (*)
+--- com.google.firebase:firebase-common:16.0.3 (*)
+--- com.google.firebase:firebase-iid:17.0.3 (*)
+--- com.google.firebase:firebase-iid-interop:16.0.1 (*)
+--- com.google.firebase:firebase-measurement-connector:17.0.1 (*)
+--- com.google.android.gms:play-services-measurement-sdk:16.4.0 (*)
+--- com.android.support:design:28.0.0
|    +--- com.android.support:support-annotations:28.0.0
|    +--- com.android.support:support-compat:28.0.0 (*)
|    +--- com.android.support:support-core-ui:28.0.0 (*)
|    +--- com.android.support:support-core-utils:28.0.0 (*)
|    +--- com.android.support:support-fragment:28.0.0 (*)
|    +--- com.android.support:transition:28.0.0
|    |    +--- com.android.support:support-annotations:28.0.0
|    |    \--- com.android.support:support-compat:28.0.0 (*)
|    +--- com.android.support:appcompat-v7:28.0.0 (*)
|    +--- com.android.support:cardview-v7:28.0.0
|    |    \--- com.android.support:support-annotations:28.0.0
|    \--- com.android.support:recyclerview-v7:28.0.0
|         +--- com.android.support:support-annotations:28.0.0
|         +--- com.android.support:support-compat:28.0.0 (*)
|         \--- com.android.support:support-core-ui:28.0.0 (*)
+--- com.android.support:transition:28.0.0 (*)
+--- com.android.support:cardview-v7:28.0.0 (*)
+--- com.android.support:recyclerview-v7:28.0.0 (*)
+--- cn.aigestudio.wheelpicker:WheelPicker:1.0.3
+--- com.github.ybq:Android-SpinKit:1.2.0
+--- io.sentry:sentry-android:1.7.5
|    \--- io.sentry:sentry:1.7.5
|         +--- org.slf4j:slf4j-api:1.7.24
|         \--- com.fasterxml.jackson.core:jackson-core:2.8.7
+--- io.sentry:sentry:1.7.5 (*)
+--- org.slf4j:slf4j-api:1.7.24
+--- com.fasterxml.jackson.core:jackson-core:2.8.7
+--- com.tencent.mm.opensdk:wechat-sdk-android-with-mta:5.3.1
+--- com.facebook.android:facebook-android-sdk:4.34.0
|    +--- com.facebook.android:facebook-core:4.34.0
|    |    +--- com.parse.bolts:bolts-android:1.4.0
|    |    |    +--- com.parse.bolts:bolts-tasks:1.4.0
|    |    |    \--- com.parse.bolts:bolts-applinks:1.4.0
|    |    |         \--- com.parse.bolts:bolts-tasks:1.4.0
|    |    +--- com.android.support:support-annotations:27.0.2 -> 28.0.0
|    |    \--- com.android.support:support-core-utils:27.0.2 -> 28.0.0 (*)
|    +--- com.facebook.android:facebook-common:4.34.0
|    |    +--- com.facebook.android:facebook-core:4.34.0 (*)
|    |    +--- com.android.support:support-v4:27.0.2 -> 28.0.0 (*)
|    |    +--- com.android.support:appcompat-v7:27.0.2 -> 28.0.0 (*)
|    |    +--- com.android.support:cardview-v7:27.0.2 -> 28.0.0 (*)
|    |    +--- com.android.support:customtabs:27.0.2
|    |    |    +--- com.android.support:support-compat:27.0.2 -> 28.0.0 (*)
|    |    |    \--- com.android.support:support-annotations:27.0.2 -> 28.0.0
|    |    \--- com.google.zxing:core:3.3.0
|    +--- com.facebook.android:facebook-login:4.34.0
|    |    +--- com.facebook.android:facebook-core:4.34.0 (*)
|    |    +--- com.facebook.android:facebook-common:4.34.0 (*)
|    |    \--- com.android.support:appcompat-v7:27.0.2 -> 28.0.0 (*)
|    +--- com.facebook.android:facebook-share:4.34.0
|    |    +--- com.facebook.android:facebook-core:4.34.0 (*)
|    |    \--- com.facebook.android:facebook-common:4.34.0 (*)
|    +--- com.facebook.android:facebook-places:4.34.0
|    |    \--- com.facebook.android:facebook-core:4.34.0 (*)
|    +--- com.facebook.android:facebook-applinks:4.34.0
|    |    +--- com.facebook.android:facebook-core:4.34.0 (*)
|    |    \--- com.parse.bolts:bolts-android:1.4.0 (*)
|    +--- com.facebook.android:facebook-messenger:4.34.0
|    |    +--- com.facebook.android:facebook-core:4.34.0 (*)
|    |    \--- com.parse.bolts:bolts-android:1.4.0 (*)
|    \--- com.facebook.android:facebook-marketing:4.34.0
|         +--- com.facebook.android:facebook-core:4.34.0 (*)
|         \--- com.android.support:support-annotations:26.0.2 -> 28.0.0
+--- com.facebook.android:facebook-core:4.34.0 (*)
+--- com.parse.bolts:bolts-android:1.4.0 (*)
+--- com.parse.bolts:bolts-applinks:1.4.0 (*)
+--- com.facebook.android:facebook-common:4.34.0 (*)
+--- com.android.support:customtabs:27.0.2 (*)
+--- com.google.zxing:core:3.3.0
+--- com.facebook.android:facebook-login:4.34.0 (*)
+--- com.facebook.android:facebook-share:4.34.0 (*)
+--- com.facebook.android:facebook-places:4.34.0 (*)
+--- com.facebook.android:facebook-applinks:4.34.0 (*)
+--- com.facebook.android:facebook-messenger:4.34.0 (*)
+--- com.facebook.android:facebook-marketing:4.34.0 (*)
+--- com.wei.android.lib:fingerprintidentify:1.2.1
|    \--- com.android.support:appcompat-v7:25.3.1 -> 28.0.0 (*)
+--- com.github.bumptech.glide:glide:4.7.1
|    +--- com.github.bumptech.glide:gifdecoder:4.7.1
|    |    \--- com.android.support:support-annotations:27.1.1 -> 28.0.0
|    +--- com.github.bumptech.glide:disklrucache:4.7.1
|    +--- com.github.bumptech.glide:annotations:4.7.1
|    \--- com.android.support:support-fragment:27.1.1 -> 28.0.0 (*)
+--- com.github.bumptech.glide:gifdecoder:4.7.1 (*)
+--- com.github.bumptech.glide:disklrucache:4.7.1
+--- com.github.bumptech.glide:annotations:4.7.1
+--- com.zhihu.android:matisse:0.5.1
|    +--- com.android.support:support-v4:27.1.1 -> 28.0.0 (*)
|    +--- com.android.support:appcompat-v7:27.1.1 -> 28.0.0 (*)
|    +--- com.android.support:support-annotations:27.1.1 -> 28.0.0
|    +--- com.android.support:recyclerview-v7:27.1.1 -> 28.0.0 (*)
|    \--- it.sephiroth.android.library.imagezoom:library:1.0.4
|         \--- it.sephiroth.android.library.easing:library:1.0.2
+--- it.sephiroth.android.library.imagezoom:library:1.0.4 (*)
+--- it.sephiroth.android.library.easing:library:1.0.2
+--- com.facebook.fresco:animated-gif:1.3.0
|    +--- com.parse.bolts:bolts-tasks:1.4.0
|    +--- com.facebook.fresco:fbcore:1.3.0 -> 1.10.0
|    \--- com.facebook.fresco:animated-base:1.3.0
|         +--- com.parse.bolts:bolts-tasks:1.4.0
|         +--- com.facebook.fresco:fbcore:1.3.0 -> 1.10.0
|         +--- com.facebook.fresco:imagepipeline-base:1.3.0 -> 1.10.0 (*)
|         \--- com.facebook.fresco:imagepipeline:1.3.0 -> 1.10.0 (*)
+--- com.facebook.fresco:animated-base:1.3.0 (*)
+--- com.aliyun.dpa:oss-android-sdk:2.9.2
|    +--- com.squareup.okhttp3:okhttp:3.11.0 -> 3.12.1 (*)
|    \--- com.squareup.okio:okio:1.14.0 -> 1.15.0
+--- com.commit451:PhotoView:1.2.4
|    \--- com.android.support:support-v4:23.0.1 -> 28.0.0 (*)
+--- com.squareup.picasso:picasso:2.5.2
+--- project :tipsi-stripe
+--- project :react-native-gesture-handler
+--- project :react-native-svg
+--- project :react-native-wheel-picker
|    +--- cn.aigestudio.wheelpicker:WheelPicker:1.0.3
|    \--- com.facebook.react:react-native:+ -> 0.59.1 (*)
+--- project :react-native-webview-bridge-updated
|    \--- com.facebook.react:react-native:0.19.+ -> 0.59.1 (*)
+--- project :react-native-view-shot
|    \--- com.facebook.react:react-native:+ -> 0.59.1 (*)
+--- project :react-native-video
+--- project :react-native-spinkit
|    +--- com.facebook.react:react-native:+ -> 0.59.1 (*)
|    \--- com.github.ybq:Android-SpinKit:1.2.0
+--- project :react-native-share
+--- project :react-native-sentry
|    +--- com.facebook.react:react-native:+ -> 0.59.1 (*)
|    \--- io.sentry:sentry-android:1.7.5 (*)
+--- project :react-native-iber-wechat
|    +--- com.facebook.react:react-native:+ -> 0.59.1 (*)
|    \--- com.tencent.mm.opensdk:wechat-sdk-android-with-mta:+ -> 5.3.1
+--- project :react-native-iber-qqsdk
|    \--- com.facebook.react:react-native:+ -> 0.59.1 (*)
+--- project :react-native-iber-jpush
|    \--- com.facebook.react:react-native:+ -> 0.59.1 (*)
+--- project :react-native-iber-fetch-blob
|    \--- com.facebook.react:react-native:+ -> 0.59.1 (*)
+--- project :react-native-iber-fbsdk
|    +--- com.facebook.react:react-native:+ -> 0.59.1 (*)
|    \--- com.facebook.android:facebook-android-sdk:4.34.0 (*)
+--- project :react-native-iber-device-info
+--- project :react-native-iber-alipay
|    \--- com.facebook.react:react-native:+ -> 0.59.1 (*)
+--- project :react-native-iber-i18n
|    \--- com.facebook.react:react-native:+ -> 0.59.1 (*)
+--- project :react-native-fs
+--- project :react-native-fingerprint-scanner
|    +--- com.facebook.react:react-native:+ -> 0.59.1 (*)
|    \--- com.wei.android.lib:fingerprintidentify:1.2.1 (*)
+--- project :react-native-fast-image
+--- project :react-native-doc-viewer
|    \--- com.facebook.react:react-native:+ -> 0.59.1 (*)
+--- project :react-native-contacts-iberhk
|    \--- com.facebook.react:react-native:+ -> 0.59.1 (*)
+--- project :react-native-check-app-install
|    \--- com.facebook.react:react-native:+ -> 0.59.1 (*)
+--- project :react-native-calendar-events
+--- project :react-native-android-fullscreen-webview-video
|    \--- com.facebook.react:react-native:+ -> 0.59.1 (*)
+--- com.android.support:appcompat-v7:28.0.0 (*)
+--- com.android.support:support-v4:28.0.0 (*)
+--- com.android.support:design:28.0.0 (*)
+--- com.facebook.react:react-native:0.59.1 (*)
+--- com.zhihu.android:matisse:0.5.1 (*)
+--- com.github.bumptech.glide:glide:4.7.1 (*)
+--- com.google.firebase:firebase-core:16.0.8 (*)
+--- com.facebook.fresco:animated-gif:1.3.0 (*)
+--- com.android.support:multidex:1.0.3
+--- com.aliyun.dpa:oss-android-sdk:2.9.2 (*)
+--- com.squareup.okhttp3:okhttp:3.12.1 (*)
+--- com.squareup.okio:okio:1.15.0
+--- com.commit451:PhotoView:1.2.4 (*)
\--- com.squareup.picasso:picasso:2.5.2

(*) - dependencies omitted (listed previously)

A web-based, searchable dependency report is available by adding the --scan option.
Panda-MBP:android panda8z$ 


解决重点: 依赖图没任何问题,尝试以下方法:

  1. 修改主工程统一的版本依赖
  2. 修改所有第三方库的版本依赖。

18. 记录更改了依赖版本的库

实测通过第17步的解决方法,成功打了Release包。
记录所有已经更改了的库。

共13个库。

  1. react-native-android-fullscreen-webview-video
  2. react-native-calendar-events
  3. react-native-contacts-iberhk
  4. react-native-doc-viewer
  5. react-native-fingerprint-scanner
  6. react-native-iber-alipay
  7. react-native-iber-fetch-blob
  8. react-native-iber-wechat
  9. react-native-spinkit
  10. react-native-view-shot
  11. react-native-webview-bridge-updated
  12. react-native-wheel-picker
  13. tipsi-stripe

19. 打印出所有的js端的Android-NativeModules

共75个

  1. AccessibilityInfo: {isTouchExplorationEnabled: ƒ, getConstants: ƒ}
  2. AlipayModule: {pay: ƒ, getConstants: ƒ}
  3. AliyunOSSMoudle: {asyncGetImage: ƒ, asyncPutImage: ƒ, normalRequestCancel: ƒ, AliyunUploadProgressMsg: “AliyunUploadProgressMsg”, getConstants: ƒ}
  4. AppState: {getCurrentAppState: ƒ, initialAppState: “active”, getConstants: ƒ}
  5. AsyncSQLiteDBStorage: {clear: ƒ, getAllKeys: ƒ, multiGet: ƒ, multiMerge: ƒ, multiRemove: ƒ, …}
  6. AuthorityManager: {checkAlbumJurisdiction: ƒ, checkCalendarStatus: ƒ, checkCameraStatus: ƒ, checkNotifyStatus: ƒ, getConstants: ƒ}
  7. BlobModule: {addNetworkingHandler: ƒ, addWebSocketHandler: ƒ, createFromParts: ƒ, release: ƒ, removeWebSocketHandler: ƒ, …}
  8. CalendarEvents: {findAllEvents: ƒ, findById: ƒ, findCalendars: ƒ, getCalendarPermissions: ƒ, openEventInCalendar: ƒ, …}
  9. CameraRollManager: {getPhotos: ƒ, saveToCameraRoll: ƒ, getConstants: ƒ}
  10. CheckPackageInstallation: {isPackageInstalled: ƒ, getConstants: ƒ}
  11. Clipboard: {getString: ƒ, setString: ƒ, getConstants: ƒ}
  12. Contacts: {addContact: ƒ, checkPermission: ƒ, getAll: ƒ, getAllWithoutPhotos: ƒ, getContactsMatchingString: ƒ, …}
  13. DatePickerAndroid: {open: ƒ, getConstants: ƒ}
  14. DeviceEventManager: {invokeDefaultBackPressHandler: ƒ, getConstants: ƒ}
  15. DeviceInfo: {Dimensions: {…}, getConstants: ƒ}
  16. DialogManagerAndroid: {showAlert: ƒ, buttonPositive: -1, buttonNegative: -2, buttonClicked: “buttonClicked”, dismissed: “dismissed”, …}
  17. ExceptionsManager: {dismissRedbox: ƒ, reportFatalException: ƒ, reportSoftException: ƒ, updateExceptionMessage: ƒ, getConstants: ƒ}
  18. FBAccessToken: {getCurrentAccessToken: ƒ, refreshCurrentAccessTokenAsync: ƒ, setCurrentAccessToken: ƒ, getConstants: ƒ}
  19. FBAppEventsLogger: {flush: ƒ, getUserID: ƒ, logEvent: ƒ, logPurchase: ƒ, logPushNotificationOpen: ƒ, …}
  20. FBAppInviteDialog: {canShow: ƒ, show: ƒ, getConstants: ƒ}
  21. FBGameRequestDialog: {canShow: ƒ, show: ƒ, getConstants: ƒ}
  22. FBGraphRequest: {start: ƒ, getConstants: ƒ}
  23. FBLoginManager: {getDefaultAudience: ƒ, getLoginBehavior: ƒ, logInWithPublishPermissions: ƒ, logInWithReadPermissions: ƒ, logOut: ƒ, …}
  24. FBMessageDialog: {canShow: ƒ, setShouldFailOnDataError: ƒ, show: ƒ, getConstants: ƒ}
  25. FBShareApi: {canShare: ƒ, share: ƒ, getConstants: ƒ}
  26. FBShareDialog: {canShow: ƒ, setMode: ƒ, setShouldFailOnError: ƒ, show: ƒ, getConstants: ƒ}
  27. FastImageView: {preload: ƒ, getConstants: ƒ}
  28. FileReaderModule: {readAsDataURL: ƒ, readAsText: ƒ, getConstants: ƒ}
  29. FireBaseManager: {logEvent: ƒ, getConstants: ƒ}
  30. FlieManage: {deleteFile: ƒ, fileExists: ƒ, openFile: ƒ, saveToCameraRoll: ƒ, selectFile: ƒ, …}
  31. HeadlessJsTaskSupport: {notifyTaskFinished: ƒ, getConstants: ƒ}
  32. I18nManager: {allowRTL: ƒ, forceRTL: ƒ, swapLeftAndRightInRTL: ƒ, localeIdentifier: “zh_CN_#Hans”, isRTL: false, …}
  33. ImageCropPicker: {clean: ƒ, cleanSingle: ƒ, openCamera: ƒ, openCropper: ƒ, openPicker: ƒ, …}
  34. ImageEditingManager: {cropImage: ƒ, getConstants: ƒ}
  35. ImageLoader: {abortRequest: ƒ, getSize: ƒ, prefetchImage: ƒ, queryCache: ƒ, getConstants: ƒ}
  36. ImageStoreManager: {getBase64ForTag: ƒ, getConstants: ƒ}
  37. IntentAndroid: {canOpenURL: ƒ, getInitialURL: ƒ, openURL: ƒ, sendIntent: ƒ, getConstants: ƒ}
  38. JPushModule: {addTags: ƒ, checkTagBindState: ƒ, cleanTags: ƒ, clearAllNotifications: ƒ, clearNotificationById: ƒ, …}
  39. JSBundleManager: {dismissSplash: ƒ, restart: ƒ, stringHash: ƒ, unZip: ƒ, verifyJSBundle: ƒ, …}
  40. JSCHeapCapture: {captureComplete: ƒ, getConstants: ƒ}
  41. JSCSamplingProfiler: {operationComplete: ƒ, getConstants: ƒ}
  42. LocationObserver: {getCurrentPosition: ƒ, startObserving: ƒ, stopObserving: ƒ, getConstants: ƒ}
  43. NativeAnimatedModule: {addAnimatedEventToView: ƒ, connectAnimatedNodeToView: ƒ, connectAnimatedNodes: ƒ, createAnimatedNode: ƒ, disconnectAnimatedNodeFromView: ƒ, …}
  44. NetInfo: {getCurrentConnectivity: ƒ, isConnectionMetered: ƒ, getConstants: ƒ}
  45. Networking: {abortRequest: ƒ, clearCookies: ƒ, sendRequest: ƒ, getConstants: ƒ}
  46. PermissionsAndroid: {checkPermission: ƒ, requestMultiplePermissions: ƒ, requestPermission: ƒ, shouldShowRequestPermissionRationale: ƒ, getConstants: ƒ}
  47. PlatformConstants: {getAndroidID: ƒ, isTesting: false, Model: “MHA-AL00”, uiMode: “normal”, reactNativeVersion: {…}, …}
  48. PrefsManager: {gotoSettings: ƒ, SDCardApplicationDir: “/storage/emulated/0/Android/data/com.iBer.iBerAppV2”, PictureDir: “/storage/emulated/0/Pictures”, DIR_TEMPORARY: “/data/user/0/com.iBer.iBerAppV2/files/Temporary_”, MusicDir: “/storage/emulated/0/Music”, …}
  49. QQSDK: {checkClientInstalled: ƒ, logout: ƒ, shareAudio: ƒ, shareImage: ƒ, shareNews: ƒ, …}
  50. RNDeviceInfo: {getBatteryLevel: ƒ, getCarrier: ƒ, getFreeDiskStorage: ƒ, getIpAddress: ƒ, getMacAddress: ƒ, …}
  51. RNFSManager: {appendFile: ƒ, copyFile: ƒ, copyFileAssets: ƒ, downloadFile: ƒ, exists: ƒ, …}
  52. RNFetchBlob: {actionViewIntent: ƒ, addCompleteDownload: ƒ, cancelRequest: ƒ, closeStream: ƒ, cp: ƒ, …}
  53. RNGestureHandlerModule: {attachGestureHandler: ƒ, createGestureHandler: ƒ, dropGestureHandler: ƒ, handleClearJSResponder: ƒ, handleSetJSResponder: ƒ, …}
  54. RNI18n: {getLanguages: ƒ, languages: Array(3), getConstants: ƒ}
  55. RNReactNativeDocViewer: {openDoc: ƒ, openDocBinaryinUrl: ƒ, openDocb64: ƒ, getConstants: ƒ}
  56. RNSVGSvgViewManager: {toDataURL: ƒ, getConstants: ƒ}
  57. RNSentry: {activateStacktraceMerging: ƒ, addExtra: ƒ, captureBreadcrumb: ƒ, captureEvent: ƒ, clearContext: ƒ, …}
  58. RNSentryEventEmitter: {EVENT_SENT_SUCCESSFULLY: “Sentry/eventSentSuccessfully”, EVENT_STORED: “Sentry/eventStored”, getConstants: ƒ}
  59. RNShare: {isBase64File: ƒ, open: ƒ, shareSingle: ƒ, WHATSAPP: “whatsapp”, GOOGLEPLUS: “googleplus”, …}
  60. RNViewShot: {captureRef: ƒ, captureScreen: ƒ, releaseCapture: ƒ, getConstants: ƒ}
  61. ReactNativeFingerprintScanner: {authenticate: ƒ, isSensorAvailable: ƒ, release: ƒ, getConstants: ƒ}
  62. ShareModule: {share: ƒ, getConstants: ƒ}
  63. SinaShareModule: {shareSystem: ƒ, shareToWeibo: ƒ, getConstants: ƒ}
  64. SourceCode: {scriptURL: “http://192.168.0.56:8081/index.delta?platform=android&dev=true&minify=false”, getConstants: ƒ}
  65. StatusBarManager: {setColor: ƒ, setHidden: ƒ, setStyle: ƒ, setTranslucent: ƒ, HEIGHT: 24, …}
  66. StripeModule: {canMakeAndroidPayPayments: ƒ, createSourceWithParams: ƒ, createTokenWithBankAccount: ƒ, createTokenWithCard: ƒ, deviceSupportsAndroidPay: ƒ, …}
  67. SystemUtilsModule: {actionViewIntent: ƒ, getLanguage: ƒ, isAppInstalled: ƒ, isNotificationEnabled: ƒ, openSettingActivity: ƒ, …}
  68. TimePickerAndroid: {open: ƒ, getConstants: ƒ}
  69. Timing: {createTimer: ƒ, deleteTimer: ƒ, setSendIdleEvents: ƒ, getConstants: ƒ}
  70. ToastAndroid: {show: ƒ, showWithGravity: ƒ, showWithGravityAndOffset: ƒ, LONG: 1, SHORT: 0, …}
  71. UIManager: {clearJSResponder: ƒ, configureNextLayoutAnimation: ƒ, createView: ƒ, dismissPopupMenu: ƒ, dispatchViewManagerCommand: ƒ, …}
  72. Vibration: {cancel: ƒ, vibrate: ƒ, vibrateByPattern: ƒ, getConstants: ƒ}
  73. WeChat: {getApiVersion: ƒ, isWXAppInstalled: ƒ, openMinProgram: ƒ, openWXApp: ƒ, pay: ƒ, …}
  74. WebSocketModule: {close: ƒ, connect: ƒ, ping: ƒ, send: ƒ, sendBinary: ƒ, …}
  75. iCloudManager: {openiCloud: ƒ, getConstants: ƒ}

20. 正式工程的Android-NativeModules

  1. AccessibilityInfo: {isTouchExplorationEnabled: ƒ}
  2. AlipayModule: {pay: ƒ}
  3. AliyunOSSMoudle: {asyncGetImage: ƒ, asyncPutImage: ƒ, normalRequestCancel: ƒ, AliyunUploadProgressMsg: “AliyunUploadProgressMsg”}
  4. AppState: {getCurrentAppState: ƒ}
  5. AsyncSQLiteDBStorage: {clear: ƒ, getAllKeys: ƒ, multiGet: ƒ, multiMerge: ƒ, multiRemove: ƒ, …}
  6. AuthorityManager: {checkAlbumJurisdiction: ƒ, checkCalendarStatus: ƒ, checkCameraStatus: ƒ, checkNotifyStatus: ƒ}
  7. BlobModule: {createFromParts: ƒ, disableBlobSupport: ƒ, enableBlobSupport: ƒ, release: ƒ, sendBlob: ƒ}
  8. CalendarEvents: {findAllEvents: ƒ, findById: ƒ, findCalendars: ƒ, getCalendarPermissions: ƒ, openEventInCalendar: ƒ, …}
  9. CameraRollManager: {getPhotos: ƒ, saveToCameraRoll: ƒ}
  10. Clipboard: {getString: ƒ, setString: ƒ}
  11. Contacts: {addContact: ƒ, checkPermission: ƒ, getAll: ƒ, getAllWithoutPhotos: ƒ, getContactsMatchingString: ƒ, …}
  12. DatePickerAndroid: {open: ƒ}
  13. DeviceEventManager: {invokeDefaultBackPressHandler: ƒ}
  14. DeviceInfo: {Dimensions: {…}}
  15. DialogManagerAndroid: {showAlert: ƒ, buttonPositive: -1, buttonNegative: -2, dismissed: “dismissed”, buttonClicked: “buttonClicked”, …}
  16. ExceptionsManager: {dismissRedbox: ƒ, reportFatalException: ƒ, reportSoftException: ƒ, updateExceptionMessage: ƒ}
  17. FBAccessToken: {getCurrentAccessToken: ƒ, refreshCurrentAccessTokenAsync: ƒ, setCurrentAccessToken: ƒ}
  18. FBAppEventsLogger: {flush: ƒ, getUserID: ƒ, logEvent: ƒ, logPurchase: ƒ, logPushNotificationOpen: ƒ, …}
  19. FBAppInviteDialog: {canShow: ƒ, show: ƒ}
  20. FBGameRequestDialog: {canShow: ƒ, show: ƒ}
  21. FBGraphRequest: {start: ƒ}
  22. FBLoginManager: {getDefaultAudience: ƒ, getLoginBehavior: ƒ, logInWithPublishPermissions: ƒ, logInWithReadPermissions: ƒ, logOut: ƒ, …}
  23. FBMessageDialog: {canShow: ƒ, setShouldFailOnDataError: ƒ, show: ƒ}
  24. FBShareApi: {canShare: ƒ, share: ƒ}
  25. FBShareDialog: {canShow: ƒ, setMode: ƒ, setShouldFailOnError: ƒ, show: ƒ}
  26. FastImageView: {preload: ƒ}
  27. FireBaseManager: {logEvent: ƒ}
  28. FlieManage: {deleteFile: ƒ, fileExists: ƒ, openFile: ƒ, saveToCameraRoll: ƒ, selectFile: ƒ, …}
  29. HeadlessJsTaskSupport: {notifyTaskFinished: ƒ}
  30. I18nManager: {allowRTL: ƒ, forceRTL: ƒ, swapLeftAndRightInRTL: ƒ, localeIdentifier: “zh_CN_#Hans”, isRTL: false, …}
  31. ImageCropPicker: {clean: ƒ, cleanSingle: ƒ, openCamera: ƒ, openCropper: ƒ, openPicker: ƒ}
  32. ImageEditingManager: {cropImage: ƒ}
  33. ImageLoader: {abortRequest: ƒ, getSize: ƒ, prefetchImage: ƒ, queryCache: ƒ}
  34. ImageStoreManager: {getBase64ForTag: ƒ}
  35. IntentAndroid: {canOpenURL: ƒ, getInitialURL: ƒ, openURL: ƒ}
  36. JPushModule: {addTags: ƒ, checkTagBindState: ƒ, cleanTags: ƒ, clearAllNotifications: ƒ, clearNotificationById: ƒ, …}
  37. JSBundleManager: {dismissSplash: ƒ, restart: ƒ, stringHash: ƒ, unZip: ƒ, verifyJSBundle: ƒ, …}
  38. JSCHeapCapture: {captureComplete: ƒ}
  39. JSCSamplingProfiler: {operationComplete: ƒ}
  40. LocationObserver: {getCurrentPosition: ƒ, startObserving: ƒ, stopObserving: ƒ}
  41. NativeAnimatedModule: {addAnimatedEventToView: ƒ, connectAnimatedNodeToView: ƒ, connectAnimatedNodes: ƒ, createAnimatedNode: ƒ, disconnectAnimatedNodeFromView: ƒ, …}
  42. NetInfo: {getCurrentConnectivity: ƒ, isConnectionMetered: ƒ}
  43. Networking: {abortRequest: ƒ, clearCookies: ƒ, sendRequest: ƒ}
  44. PermissionsAndroid: {checkPermission: ƒ, requestMultiplePermissions: ƒ, requestPermission: ƒ, shouldShowRequestPermissionRationale: ƒ}
  45. PlatformConstants: {isTesting: false, ServerHost: “localhost:8081”, reactNativeVersion: {…}, Version: 26}
  46. PrefsManager: {gotoSettings: ƒ, DIR_TEMPORARY: “/data/user/0/com.iBer.iBerAppV2/files/Temporary_”, MusicDir: “/storage/emulated/0/Music”, SDCardDir: “/storage/emulated/0”, RingtoneDir: “/storage/emulated/0/Ringtones”, …}
  47. QQSDK: {checkClientInstalled: ƒ, logout: ƒ, shareAudio: ƒ, shareImage: ƒ, shareNews: ƒ, …}
  48. RNDeviceInfo: {getBatteryLevel: ƒ, getCarrier: ƒ, getFreeDiskStorage: ƒ, getIpAddress: ƒ, getMacAddress: ƒ, …}
  49. RNFSManager: {appendFile: ƒ, copyFile: ƒ, copyFileAssets: ƒ, downloadFile: ƒ, exists: ƒ, …}
  50. RNFetchBlob: {actionViewIntent: ƒ, addCompleteDownload: ƒ, cancelRequest: ƒ, closeStream: ƒ, cp: ƒ, …}
  51. RNI18n: {getLanguages: ƒ, languages: Array(3)}
  52. RNReactNativeDocViewer: {openDoc: ƒ, openDocBinaryinUrl: ƒ, openDocb64: ƒ}
  53. RNSVGSvgViewManager: {toDataURL: ƒ}
  54. RNSentry: {activateStacktraceMerging: ƒ, addExtra: ƒ, captureBreadcrumb: ƒ, captureEvent: ƒ, clearContext: ƒ, …}
  55. RNSentryEventEmitter: {EVENT_SENT_SUCCESSFULLY: “Sentry/eventSentSuccessfully”, EVENT_STORED: “Sentry/eventStored”}
  56. RNShare: {isBase64File: ƒ, open: ƒ, shareSingle: ƒ, EMAIL: “email”, TWITTER: “twitter”, …}
  57. RNViewShot: {captureRef: ƒ, captureScreen: ƒ, releaseCapture: ƒ}
  58. ReactNativeFingerprintScanner: {authenticate: ƒ, isSensorAvailable: ƒ, release: ƒ}
  59. SQLite: {attach: ƒ, backgroundExecuteSqlBatch: ƒ, close: ƒ, delete: ƒ, echoStringValue: ƒ, …}
  60. ShareModule: {share: ƒ}
  61. SinaShareModule: {shareSystem: ƒ, shareToWeibo: ƒ}
  62. SourceCode: {scriptURL: “http://192.168.0.56:8081/index.delta?platform=android&dev=true&minify=false”}
  63. StatusBarManager: {setColor: ƒ, setHidden: ƒ, setStyle: ƒ, setTranslucent: ƒ, HEIGHT: 24}
  64. StripeModule: {canMakeAndroidPayPayments: ƒ, createSourceWithParams: ƒ, createTokenWithBankAccount: ƒ, createTokenWithCard: ƒ, deviceSupportsAndroidPay: ƒ, …}
  65. SystemUtilsModule: {actionViewIntent: ƒ, getLanguage: ƒ, isAppInstalled: ƒ, isNotificationEnabled: ƒ, openSettingActivity: ƒ}
  66. TimePickerAndroid: {open: ƒ}
  67. Timing: {createTimer: ƒ, deleteTimer: ƒ, setSendIdleEvents: ƒ}
  68. ToastAndroid: {show: ƒ, showWithGravity: ƒ, showWithGravityAndOffset: ƒ, LONG: 1, SHORT: 0, …}
  69. UIManager: {clearJSResponder: ƒ, configureNextLayoutAnimation: ƒ, createView: ƒ, dispatchViewManagerCommand: ƒ, findSubviewIn: ƒ, …}
  70. UMAnalyticsModule: {initGame: ƒ, bonus: ƒ, bonusWithItem: ƒ, buy: ƒ, clearSuperProperties: ƒ, …}
  71. Vibration: {cancel: ƒ, vibrate: ƒ, vibrateByPattern: ƒ}
  72. WeChat: {getApiVersion: ƒ, isWXAppInstalled: ƒ, openMinProgram: ƒ, openWXApp: ƒ, pay: ƒ, …}
  73. WebSocketModule: {close: ƒ, connect: ƒ, ping: ƒ, send: ƒ, sendBinary: ƒ}
  74. iCloudManager: {openiCloud: ƒ}

解决方案:
竟然多了一个:找到原因 android多了一个监测应用是否安装的库,删掉

21. 正式工程的IOS—NativeModules

  1. AccessibilityManager: {setAccessibilityContentSizeMultipliers: ƒ, setAccessibilityFocus: ƒ, announceForAccessibility: ƒ, getMultiplier: ƒ, getCurrentVoiceOverState: ƒ}
  2. ActionSheetManager: {showShareActionSheetWithOptions: ƒ, showActionSheetWithOptions: ƒ}
  3. AlbumJurisdictionManager: {checkAlbumJurisdiction: ƒ, checkCameraJurisdiction: ƒ}
  4. AlertManager: {alertWithArgs: ƒ}
  5. AlipayModule: {pay: ƒ}
  6. AliyunOSSMoudle: {asyncPutImage: ƒ, asyncGetImage: ƒ, normalRequestCancel: ƒ, AliyunUploadProgressMsg: “aliyunUploadProgress”}
  7. AppState: {getCurrentAppState: ƒ, addListener: ƒ, removeListeners: ƒ, initialAppState: “active”}
  8. AsyncLocalStorage: {multiGet: ƒ, multiSet: ƒ, multiMerge: ƒ, multiRemove: ƒ, clear: ƒ, …}
  9. AuthorityManager: {checkAlbumJurisdiction: ƒ, checkNotifyStatus: ƒ, checkCameraStatus: ƒ, checkCalendarStatus: ƒ}
  10. BlobModule: {enableBlobSupport: ƒ, disableBlobSupport: ƒ, sendBlob: ƒ, createFromParts: ƒ, release: ƒ, …}
  11. CameraRollManager: {saveToCameraRoll: ƒ, getPhotos: ƒ, deletePhotos: ƒ}
  12. Clipboard: {setString: ƒ, getString: ƒ}
  13. Contacts: {checkPermission: ƒ, requestPermission: ƒ, getContactsMatchingString: ƒ, getAll: ƒ, getAllWithoutPhotos: ƒ, …}
  14. DevLoadingView: {hide: ƒ, showMessage: ƒ}
  15. DevMenu: {show: ƒ, reload: ƒ, debugRemotely: ƒ, setProfilingEnabled: ƒ, setLiveReloadEnabled: ƒ, …}
  16. DevSettings: {reload: ƒ, setIsShakeToShowDevMenuEnabled: ƒ, setIsDebuggingRemotely: ƒ, setProfilingEnabled: ƒ, setLiveReloadEnabled: ƒ, …}
  17. DeviceInfo: {isIPhoneX_deprecated: true, Dimensions: {…}}
  18. ExceptionsManager: {reportSoftException: ƒ, reportFatalException: ƒ, updateExceptionMessage: ƒ, reportUnhandledException: ƒ}
  19. FBAccessToken: {getCurrentAccessToken: ƒ, setCurrentAccessToken: ƒ, refreshCurrentAccessTokenAsync: ƒ}
  20. FBAppEventsLogger: {logEvent: ƒ, logPurchase: ƒ, logPushNotificationOpen: ƒ, setUserID: ƒ, getUserID: ƒ, …}
  21. FBAppInviteDialog: {canShow: ƒ, show: ƒ}
  22. FBExtension: {registerApp: ƒ}
  23. FBGameRequestDialog: {canShow: ƒ, show: ƒ}
  24. FBGraphRequest: {start: ƒ}
  25. FBLoginManager: {setLoginBehavior: ƒ, setDefaultAudience: ƒ, getLoginBehavior: ƒ, getDefaultAudience: ƒ, logInWithReadPermissions: ƒ, …}
  26. FBMessageDialog: {canShow: ƒ, show: ƒ, setShouldFailOnDataError: ƒ}
  27. FBShareApi: {canShare: ƒ, share: ƒ, createOpenGraphObject: ƒ}
  28. FBShareDialog: {canShow: ƒ, show: ƒ, setMode: ƒ, setShouldFailOnDataError: ƒ}
  29. FastImageView: {preload: ƒ}
  30. FireBaseManager: {logEvent: ƒ}
  31. FlieManage: {fileExists: ƒ, deleteFile: ƒ, saveImageForRN: ƒ, DIR_TEMPORARY: “/Users/bob/Library/Developer/CoreSimulator/Devices…lication/47FC7FFA-9C22-49C1-8998-814CB83474F9/tmp”, DIR_DOCUMENT: “/Users/bob/Library/Developer/CoreSimulator/Devices…on/47FC7FFA-9C22-49C1-8998-814CB83474F9/Documents”, …}
  32. HudMoudle: {showHud: ƒ}
  33. I18nManager: {allowRTL: ƒ, forceRTL: ƒ, swapLeftAndRightInRTL: ƒ, isRTL: false, doLeftAndRightSwapInRTL: true}
  34. ImageCropPicker: {openCamera: ƒ, cleanSingle: ƒ, clean: ƒ, openPicker: ƒ, openCropper: ƒ}
  35. ImageEditingManager: {cropImage: ƒ}
  36. ImagePickerIOS: {canRecordVideos: ƒ, canUseCamera: ƒ, openCameraDialog: ƒ, openSelectDialog: ƒ}
  37. ImageStoreManager: {getBase64ForTag: ƒ, removeImageForTag: ƒ, hasImageForTag: ƒ, addImageFromBase64: ƒ}
  38. ImageViewManager: {getSize: ƒ, prefetchImage: ƒ}
  39. JPushModule: {setupPush: ƒ, stopPush: ƒ, getLaunchAppNotification: ƒ, getApplicationIconBadge: ƒ, addEvent: ƒ, …}
  40. JSBundleManager: {reload: ƒ, restart: ƒ, dismissSplash: ƒ, verifyJSBundle: ƒ, stringHash: ƒ, …}
  41. JSCSamplingProfiler: {operationComplete: ƒ}
  42. KeyboardManager: {hideToolbar: ƒ, showToolbar: ƒ}
  43. KeyboardObserver: {addListener: ƒ, removeListeners: ƒ}
  44. LinkingManager: {openURL: ƒ, canOpenURL: ƒ, getInitialURL: ƒ, addListener: ƒ, removeListeners: ƒ}
  45. LocationObserver: {setConfiguration: ƒ, requestAuthorization: ƒ, startObserving: ƒ, stopObserving: ƒ, getCurrentPosition: ƒ, …}
  46. ModalManager: {addListener: ƒ, removeListeners: ƒ}
  47. NativeAnimatedModule: {createAnimatedNode: ƒ, connectAnimatedNodes: ƒ, disconnectAnimatedNodes: ƒ, startAnimatingNode: ƒ, stopAnimation: ƒ, …}
  48. NavigatorManager: {requestSchedulingJavaScriptNavigation: ƒ}
  49. NetInfo: {getCurrentConnectivity: ƒ, addListener: ƒ, removeListeners: ƒ}
  50. Networking: {sendRequest: ƒ, abortRequest: ƒ, clearCookies: ƒ, addListener: ƒ, removeListeners: ƒ}
  51. NetwrokConnectedModule: {isNetConnected: ƒ}
  52. NotifyManager: {sayHello: ƒ, getLanguage: ƒ}
  53. PlatformConstants: {osVersion: “12.1”, systemName: “iOS”, interfaceIdiom: “phone”, isTesting: false, reactNativeVersion: {…}, …}
  54. PrefsManager: {gotoSettings: ƒ}
  55. QQSDK: {ssoLogin: ƒ, checkClientInstalled: ƒ, logout: ƒ, shareText: ƒ, shareImage: ƒ, …}
  56. RNCalendarEvents: {authorizationStatus: ƒ, authorizeEventStore: ƒ, findCalendars: ƒ, fetchAllEvents: ƒ, findEventById: ƒ, …}
  57. RNDeviceInfo: {getMacAddress: ƒ, getIpAddress: ƒ, isPinOrFingerprintSet: ƒ, getBatteryLevel: ƒ, isTablet: false, …}
  58. RNFSManager: {exists: ƒ, readDir: ƒ, stat: ƒ, writeFile: ƒ, appendFile: ƒ, …}
  59. RNFetchBlob: {fetchBlobForm: ƒ, fetchBlob: ƒ, createFile: ƒ, createFileASCII: ƒ, pathForAppGroup: ƒ, …}
  60. RNI18n: {getLanguages: ƒ, languages: Array(1)}
  61. RNReactNativeDocViewer: {testModule: ƒ, statusProgress: ƒ, openDoc: ƒ, openDocBinaryinUrl: ƒ, openDocb64: ƒ, …}
  62. RNSVGSvgViewManager: {toDataURL: ƒ}
  63. RNSentry: {crashedLastLaunch: ƒ, startWithDsnString: ƒ, activateStacktraceMerging: ƒ, clearContext: ƒ, setLogLevel: ƒ, …}
  64. RNSentryEventEmitter: {addListener: ƒ, removeListeners: ƒ, EVENT_SENT_SUCCESSFULLY: “Sentry/eventSentSuccessfully”, MODULE_TABLE: “Sentry/moduleTable”, EVENT_STORED: “Sentry/eventStored”}
  65. RNShare: {shareSingle: ƒ, open: ƒ, INSTAGRAM: “instagram”, FACEBOOK: “facebook”, GOOGLEPLUS: “googleplus”, …}
  66. RNViewShot: {captureScreen: ƒ, releaseCapture: ƒ, captureRef: ƒ}
  67. ReactNativeFingerprintScanner: {authenticate: ƒ, isSensorAvailable: ƒ}
  68. RedBox: {setExtraData: ƒ, dismiss: ƒ}
  69. SQLite: {open: ƒ, echoStringValue: ƒ, close: ƒ, attach: ƒ, delete: ƒ, …}
  70. ScrollViewManager: {getContentSize: ƒ, calculateChildFrames: ƒ, scrollTo: ƒ, scrollToEnd: ƒ, zoomToRect: ƒ, …}
  71. SettingsManager: {setValues: ƒ, deleteValues: ƒ, settings: {…}}
  72. ShareModule: {shareToWeibo: ƒ, shareSystem: ƒ, ShareReadyStatus: “share_ready_status”}
  73. SourceCode: {scriptURL: “http://localhost:8081/index.bundle?platform=ios&dev=true&minify=false”}
  74. StatusBarManager: {getHeight: ƒ, setStyle: ƒ, setHidden: ƒ, setNetworkActivityIndicatorVisible: ƒ, addListener: ƒ, …}
  75. SystemUtilsModule: {isNetConnected: ƒ}
  76. TPSStripeManager: {init: ƒ, deviceSupportsApplePay: ƒ, canMakeApplePayPayments: ƒ, completeApplePayRequest: ƒ, cancelApplePayRequest: ƒ, …}
  77. Timing: {createTimer: ƒ, deleteTimer: ƒ, setSendIdleEvents: ƒ}
  78. UIManager: {removeSubviewsFromContainerWithID: ƒ, removeRootView: ƒ, replaceExistingNonRootView: ƒ, setChildren: ƒ, manageChildren: ƒ, …}
  79. UMAnalyticsModule: {onEvent: ƒ, onEventWithLabel: ƒ, onEventWithMap: ƒ, onEventWithMapAndCount: ƒ, onPageBegin: ƒ, …}
  80. Vibration: {vibrate: ƒ}
  81. VideoManager: {ScaleToFill: “AVLayerVideoGravityResize”, ScaleAspectFill: “AVLayerVideoGravityResizeAspectFill”, ScaleAspectFit: “AVLayerVideoGravityResizeAspect”, ScaleNone: “AVLayerVideoGravityResizeAspect”}
  82. WeChat: {registerAppWithDescription: ƒ, registerApp: ƒ, isWXAppInstalled: ƒ, getWXAppInstallUrl: ƒ, getApiVersion: ƒ, …}
  83. WebSocketModule: {ping: ƒ, connect: ƒ, send: ƒ, sendBinary: ƒ, close: ƒ, …}
  84. WebViewBridgeManager: {goBack: ƒ, goForward: ƒ, reload: ƒ, sendToBridge: ƒ, startLoadWithResult: ƒ, …}
  85. WebViewManager: {goBack: ƒ, goForward: ƒ, reload: ƒ, stopLoading: ƒ, postMessage: ƒ, …}
  86. iCloudManager: {openiCloud: ƒ}

留着做IOS端的对照

22. 开始运行js.bundle, 第一个错误

ReactNative Android从0.53.0到0.59.1升级记录_第5张图片
**解决方案:**已经把react-native-i18n这个库拉到自己服务器维护 代码里没改名字

23. 开始运行js.bundle, 第2个错误

ReactNative Android从0.53.0到0.59.1升级记录_第6张图片
**解决方案:**已经把这个库改为trip-stripe 代码里没改名字

24. 最后一个大坑来自npm

最重要的错误提示是:SyntaxError: Unexpected end of JSON input with React
解决方案:

  1. 通过try{}catch{}定位了出现问题的文件位置。
  2. 发现是npm缓存的锅,直接删除所有npm缓存。问题解决

25. 更改第三方库记录

共13个库。
react-native-i18n 升级了版本1.7.0 提了一个去掉清单文件里的minSdk的PR

  1. react-native-android-fullscreen-webview-video 2019年03月29日17:44:56提了PR
  2. react-native-calendar-events 2019年03月29日18:14:01提了PR
  3. react-native-contacts-iberhk 改成 react-native-contacts 更新到4.0.0版本
  4. react-native-doc-viewer 2019年03月29日18:26:23 提了PR
  5. react-native-fingerprint-scanner
  6. react-native-iber-alipay
  7. react-native-iber-fetch-blob
  8. react-native-iber-wechat
  9. react-native-spinkit
  10. react-native-view-shot
  11. react-native-webview-bridge-updated
  12. react-native-wheel-picker
  13. tipsi-stripe

你可能感兴趣的:(读书笔记)