Uh oh!
There was an error while loading. Please reload this page.
add x86_64 arm64-v8a support. Fixes #2814 - #18754
Conversation
b617f49 to
668204cComparehwangjr
commented
May 5, 2018
any progress about this support? |
This comment has been minimized.
This comment has been minimized.
gengjiawen
commented
May 11, 2018
@hramos Can you help on this ? |
hramos
commented
May 14, 2018
I'm not the right person to review this, sorry. |
hwangjr
commented
May 15, 2018
@hramos maybe you know the right person? |
668204c to
fc3ea39Comparehramos
commented
Jun 15, 2018
This comment has been minimized.
This comment has been minimized.
f5e579d to
cba56dfComparegengjiawen
commented
Aug 19, 2018
@mdvacca Any thought to merge this or wait for user-specific jsc support ? |
gengjiawen
commented
Aug 21, 2018
We have been stuck with #2814 too long, maybe merge this first. |
facebook-github-bot
left a comment
There was a problem hiding this comment.
hramos is landing this pull request. If you are a Facebook employee, you can view this diff on Phabricator.
gengjiawen
commented
Sep 22, 2018
Looks like take too long to import. @hramos |
CoreFloDev
commented
Sep 22, 2018
One quick question about this. How can we guaranty that there is no keylogger or bitcoin mining program inside the binary and it is doing only what it is suppose to do? |
gengjiawen
commented
Sep 22, 2018
get the so to any virus scan software or push fb to merge my pr to android-jsc. |
hramos
commented
Sep 24, 2018
The import failed due to a binary size limit. I've whitelisted the PR and I am trying to land this again. Please do not add any commits, to ensure the land is not cancelled. |
Summary: add arm64 support, related issue : #2814. If we are okay with binary aar android-jsc, then the pr can be directly merged. Otherwise merge facebookarchive/android-jsc#30 first and do a new release. RNTester all variant works. You can also test the apk from here: https://github.com/gengjiawen/react-native/releases/tag/v0.56beta. facebookarchive/android-jsc#30. [ANDROID] [ENHANCEMENT] [ABI] - add x86_64 arm64-v8a support. Differential Revision: D9491481 Pulled By: hramos fbshipit-source-id: d6ec6992768eb0c0866a0317273e09fae5b8935e
@gengjiawen. So I generate a new project using Pretty sure this commit is the problem since its parent works fine, but this commit doesn't. Are you familiar with what could have caused this problem, @gengjiawen? |
gengjiawen
commented
Sep 27, 2018
what device are you running ? Is it a x86_64 emulator ? |
kelset
commented
Sep 28, 2018
@RSNara did you pass some custom parameters to |
@kelset I used @gengjiawen It's a x86_64 emulator. Here are the details (from IntelliJ): |
gengjiawen
commented
Sep 28, 2018
I doesn't put x86_64 abi in template, only in RNTester. Normally from my experience a x86 emulator is sufficient. |
RSNara
commented
Sep 28, 2018
@gengjiawen, I'm not sure I follow your comment. What concrete steps can we take to fix this? |
gengjiawen
commented
Sep 28, 2018
If you want to run this on x86_64 emulator, add x86_64 to this line https://github.com/facebook/react-native/blob/master/local-cli/templates/HelloWorld/android/app/build.gradle#L112. |
RSNara
commented
Oct 3, 2018
@gengjiawen, I just added |
gengjiawen
commented
Oct 3, 2018
@RSNara Can you try RNTester on that emulator ? |
@gengjiawen RNTester works fine. In case you're curious, here's the script I'm using to create a react native project: #/bin/bashset -e
APP_NAME=rnapp$(date +%s)
RN_GITUB=~/fbsource/xplat/js/react-native-github
echo'Installing dependencies...'cd$RN_GITHUB
npm install prompt
echo''echo'Temporarily modify local files'
sed -i ''"s/execSync(installCommand/execSync('yarn link react-native'/g"$RN_GITHUB/react-native-cli/index.js
sed -i ''"s|ReactNativeVersionCheck.checkVersions();|// ReactNativeVersionCheck.checkVersions();|g"$RN_GITHUB/Libraries/Core/InitializeCore.js
echo''echo'Link react-native'
yarn link
echo''echo"Create react-native app: $APP_NAME"
node ./react-native-cli/index.js init $APP_NAMEcd$APP_NAME&& npm install react-native
echo''echo"Copy source files into \"$APP_NAME\""
cp -r ../{React,ReactAndroid,ReactCommon,Libraries} ./node_modules/react-native
echo''echo"Move \"$APP_NAME\" to desktop"cd .. && mv $APP_NAME~/Desktop/$APP_NAMEecho''echo"Undo file modifications"
sed -i ''"s/execSync('yarn link react-native'/execSync(installCommand/g"$RN_GITHUB/react-native-cli/index.js
sed -i ''"s|// ReactNativeVersionCheck.checkVersions();|ReactNativeVersionCheck.checkVersions();|g"$RN_GITHUB/Libraries/Core/InitializeCore.js
echo''echo"Generated app: $APP_NAME"echo"Run \"cd ~/Desktop/$APP_NAME\" to get to app"echo'Run "yarn start" to start metro'echo'Run "yarn android" to install to a running android emulator'echo'Run "yarn ios" to open up and install to an ios emulator' |
gengjiawen
commented
Oct 3, 2018
Can you check the so in the generated apk using android studio ? |
This reverts commit 0a2825f.
This reverts commit 0a2825f.
Summary: add arm64 support, related issue : react#2814. If we are okay with binary aar android-jsc, then the pr can be directly merged. Otherwise merge facebookarchive/android-jsc#30 first and do a new release. RNTester all variant works. You can also test the apk from here: https://github.com/gengjiawen/react-native/releases/tag/v0.56beta. facebookarchive/android-jsc#30. [ANDROID] [ENHANCEMENT] [ABI] - add x86_64 arm64-v8a support. Differential Revision: D9491481 Pulled By: hramos fbshipit-source-id: d6ec6992768eb0c0866a0317273e09fae5b8935e
Motivaion
add arm64 support, related issue : #2814.
If we are okay with binary aar android-jsc, then the pr can be directly merged. Otherwise merge facebookarchive/android-jsc#30 first and do a new release.
Test Plan
RNTester all variant works. You can also test the apk from here: https://github.com/gengjiawen/react-native/releases/tag/v0.56beta.
Related PRs
facebookarchive/android-jsc#30.
Release Notes
[ANDROID] [ENHANCEMENT] [ABI] - add x86_64 arm64-v8a support.