react-native-v8 icon indicating copy to clipboard operation
react-native-v8 copied to clipboard

How to reduce APK size

Open songxiaoliang opened this issue 4 years ago • 8 comments

songxiaoliang avatar Jan 02 '20 13:01 songxiaoliang

If you don't need Intl, perhaps you could try nointl version.

Kudo avatar Jan 10 '20 11:01 Kudo

Did according to READEME, but build error @Kudo

songxiaoliang avatar Jan 10 '20 11:01 songxiaoliang

@Kudo "react-native": "0.60.5" "react-native-v8": "^0.60.5-patch.0"

songxiaoliang avatar Jan 10 '20 11:01 songxiaoliang

What is your react-native-v8 exact version? Maybe you could check the verion in yarn.lock.

$ grep -A 4 'react-native-v8@' yarn.lock

"react-native-v8@>=0.61.4-patch.0 <0.61.5":
  version "0.61.4-patch.1"
  resolved "https://registry.yarnpkg.com/react-native-v8/-/react-native-v8-0.61.4-patch.1.tgz#68ebf8c95c9fca26dbb30abd2e18094af034cb97"
  integrity sha512-zLDDpSa3lvmV9z0lGxTNS2hYErJC88VlCC9EznHAMcjtJjIok5mEOXoR0l+U2nuYfP1xTmw2rlVXnzOPKGuYEQ==
  dependencies:
    v8-android "7.8.x >= 7.8.1"

Kudo avatar Jan 14 '20 00:01 Kudo

@Kudo

songlcy@SonglcydeMacBook-Pro  ~/rnapp   song/2.1.8 ●  grep -A 4 'react-native-v8@' yarn.lock react-native-v8@^0.60.5-patch.0: version "0.60.5-patch.0" resolved "https://registry.npm.taobao.org/react-native-v8/download/react-native-v8-0.60.5-patch.0.tgz#c2d8a558f509fc26953fd7e5c84e677ebe84090a" integrity sha1-wtilWPUJ/CaVP9flyE5nfr6ECQo= dependencies:

songxiaoliang avatar Jan 14 '20 06:01 songxiaoliang

@songxiaoliang I am sorry that 0.60.5 is outdated and the newer RNV8 fixed some issues. Is it possible for you to upgrade to 0.60.6? I.e. RN 0.60.6 + RNV8 0.60.6-patch.2.

Kudo avatar Jan 14 '20 08:01 Kudo

OK, I will consider upgrading to 0.60.6 in the near future and try it out. If there are any problems, I will give you feedback in time. thanks @Kudo

songxiaoliang avatar Jan 14 '20 09:01 songxiaoliang

Thanks and feel free to let me know if there are any questions.

Kudo avatar Jan 14 '20 09:01 Kudo