Skip to content

Commit

Permalink
Fix Android building fail
Browse files Browse the repository at this point in the history
  • Loading branch information
xmflsct committed May 7, 2022
1 parent ea0b853 commit 8f8b7b4
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 3 deletions.
1 change: 0 additions & 1 deletion android/app/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,6 @@ import com.android.build.OutputFile

project.ext.react = [
enableHermes: (findProperty('expo.jsEngine') ?: "jsc") == "hermes",
cliPath: new File(["node", "--print", "require.resolve('react-native/package.json')"].execute().text.trim(), "../cli.js")
]

apply from: new File(["node", "--print", "require.resolve('react-native/package.json')"].execute().text.trim(), "../react.gradle")
Expand Down
2 changes: 1 addition & 1 deletion fastlane/Fastfile
Original file line number Diff line number Diff line change
Expand Up @@ -123,7 +123,7 @@ private_lane :build_ios do
end

desc "Build and deploy Android app"
lane :build_android do
private_lane :build_android do
sh("echo #{ENV["ANDROID_KEYSTORE"]} | base64 -d | tee #{File.expand_path('..', Dir.pwd)}/android/tooot.jks >/dev/null", log: false)

case ENVIRONMENT
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@
"android": "react-native run-android",
"iphone": "react-native run-ios",
"ipad": "react-native run-ios --simulator 'iPad mini (6th generation)'",
"app:build": "bundle exec fastlane build_android",
"app:build": "bundle exec fastlane build",
"release": "scripts/release.sh",
"clean": "react-native-clean-project",
"postinstall": "patch-package"
Expand Down

0 comments on commit 8f8b7b4

Please sign in to comment.