-
Notifications
You must be signed in to change notification settings - Fork 1
/
building.html
28 lines (28 loc) · 7.2 KB
/
building.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
<!DOCTYPE html SYSTEM "about:legacy-compat">
<html lang="en-US" data-preset="contrast" data-primary-color="#307FFF"><head><meta http-equiv="Content-Type" content="text/html; charset=UTF-8"><meta charset="UTF-8"><meta name="robots" content="noindex"><meta name="built-on" content="2024-03-24T12:10:53.0500556"><title>Building | Help Instance</title><script type="application/json" id="virtual-toc-data">[{"id":"download-flutter-sdk","level":0,"title":"Download Flutter SDK","anchor":"#download-flutter-sdk"},{"id":"download-the-source-code","level":0,"title":"Download the source code","anchor":"#download-the-source-code"},{"id":"building-for-windows","level":0,"title":"Building for Windows","anchor":"#building-for-windows"},{"id":"building-for-android","level":0,"title":"Building for Android","anchor":"#building-for-android"},{"id":"building-for-ios-ipados","level":0,"title":"Building for iOS/iPadOS","anchor":"#building-for-ios-ipados"}]</script><script type="application/json" id="topic-shortcuts"></script><link href="https://resources.jetbrains.com/writerside/apidoc/6.6.6-b224/app.css" rel="stylesheet"><link rel="manifest" href="site.webmanifest"><meta name="msapplication-TileColor" content="#000000"><link rel="apple-touch-icon" sizes="180x180" href="https://jetbrains.com/apple-touch-icon.png"><link rel="icon" type="image/png" sizes="32x32" href="https://jetbrains.com/favicon-32x32.png"><link rel="icon" type="image/png" sizes="16x16" href="https://jetbrains.com/favicon-16x16.png"><meta name="msapplication-TileImage" content="https://resources.jetbrains.com/storage/ui/favicons/mstile-144x144.png"><meta name="msapplication-square70x70logo" content="https://resources.jetbrains.com/storage/ui/favicons/mstile-70x70.png"><meta name="msapplication-square150x150logo" content="https://resources.jetbrains.com/storage/ui/favicons/mstile-150x150.png"><meta name="msapplication-wide310x150logo" content="https://resources.jetbrains.com/storage/ui/favicons/mstile-310x150.png"><meta name="msapplication-square310x310logo" content="https://resources.jetbrains.com/storage/ui/favicons/mstile-310x310.png"><meta name="image" content=""><!-- Open Graph --><meta property="og:title" content="Building | Help Instance"><meta property="og:description" content=""><meta property="og:image" content=""><meta property="og:site_name" content="Help Instance Help"><meta property="og:type" content="website"><meta property="og:locale" content="en_US"><meta property="og:url" content="writerside-documentation/building.html"><!-- End Open Graph --><!-- Twitter Card --><meta name="twitter:card" content="summary_large_image"><meta name="twitter:site" content=""><meta name="twitter:title" content="Building | Help Instance"><meta name="twitter:description" content=""><meta name="twitter:creator" content=""><meta name="twitter:image:src" content=""><!-- End Twitter Card --><!-- Schema.org WebPage --><script type="application/ld+json">{
"@context": "http://schema.org",
"@type": "WebPage",
"@id": "writerside-documentation/building.html#webpage",
"url": "writerside-documentation/building.html",
"name": "Building | Help Instance",
"description": "",
"image": "",
"inLanguage":"en-US"
}</script><!-- End Schema.org --><!-- Schema.org WebSite --><script type="application/ld+json">{
"@type": "WebSite",
"@id": "writerside-documentation/#website",
"url": "writerside-documentation/",
"name": "Help Instance Help"
}</script><!-- End Schema.org --></head><body data-id="Building" data-main-title="Building" data-article-props="{"seeAlsoStyle":"links"}" data-template="article" data-breadcrumbs=""><div class="wrapper"><main class="panel _main"><header class="panel__header"><div class="container"><h3>Help Instance Help</h3><div class="panel-trigger"></div></div></header><section class="panel__content"><div class="container"><article class="article" data-shortcut-switcher="inactive"><h1 data-toc="Building" id="Building.md">Building</h1><p id="guzuh1_2">If you would like to build the app from source, please make sure you are building for a support platform:</p><ol class="list _decimal" id="guzuh1_3" type="1"><li class="list__item" id="guzuh1_4"><p>Windows</p></li><li class="list__item" id="guzuh1_5"><p>Android</p></li><li class="list__item" id="guzuh1_6"><p>iOS (+iPadOS)</p></li></ol><p id="guzuh1_7"><span class="emphasis" id="guzuh1_8">Other platforms may be supported, but they are untested and unstable.</span></p><section class="chapter"><h2 id="download-flutter-sdk" data-toc="download-flutter-sdk">Download Flutter SDK</h2><p id="guzuh1_9">Go to <a href="https://flutter.dev" id="guzuh1_10" data-external="true" rel="noopener noreferrer">flutter.dev</a> and follow the instructions to download and setup the Flutter SDK for your platform.</p></section><section class="chapter"><h2 id="download-the-source-code" data-toc="download-the-source-code">Download the source code</h2><p id="guzuh1_11">This steps requires that you have <code class="code" id="guzuh1_12">git</code> installed!</p><p id="guzuh1_13">Run</p><div class="code-block" data-lang="bash">
git clone https://github.com/rebels2638/ScoutingApp2024
</div><p id="guzuh1_15">Then move into the cloned directory with</p><div class="code-block" data-lang="bash">
cd ScoutingApp2024
</div></section><section class="chapter"><h2 id="building-for-windows" data-toc="building-for-windows">Building for Windows</h2><p id="guzuh1_17">Run</p><div class="code-block" data-lang="bash">
flutter build windows --release
</div><p id="guzuh1_19">The resultant artifacts can be found in <code class="code" id="guzuh1_20">build/windows/x64/runner/Release</code></p></section><section class="chapter"><h2 id="building-for-android" data-toc="building-for-android">Building for Android</h2><p id="guzuh1_21"><span class="control" id="guzuh1_22">Make sure you have Android Studio installed! You can find it <a href="https://developer.android.com/studio" id="guzuh1_23" data-external="true" rel="noopener noreferrer">here</a></span></p><p id="guzuh1_24">After that, you can either build an app bundle or an APK:</p><div class="code-block" data-lang="bash">
flutter build apk --release --no-tree-shake-icons
</div><p id="guzuh1_26">Or</p><div class="code-block" data-lang="bash">
flutter build aab --release --no-tree-shake-icons
</div><p id="guzuh1_28">The resultant artifacts can be found in <code class="code" id="guzuh1_29">build/app/outputs/</code></p></section><section class="chapter"><h2 id="building-for-ios-ipados" data-toc="building-for-ios-ipados">Building for iOS/iPadOS</h2><p id="guzuh1_30"><span class="control" id="guzuh1_31">Make sure you have XCode installed. You can more information <a href="https://developer.apple.com/xcode/" id="guzuh1_32" data-external="true" rel="noopener noreferrer">here</a></span></p><p id="guzuh1_33">After that you can run:</p><div class="code-block" data-lang="bash">
flutter build ipa --release
</div></section><div class="last-modified">Last modified: 24 March 2024</div><div data-feedback-placeholder="true"></div><div class="navigation-links _bottom"><a href="reference.html" class="navigation-links__prev">Reference</a></div></article><div id="disqus_thread"></div></div></section></main></div><script src="https://resources.jetbrains.com/writerside/apidoc/6.6.6-b224/app.js"></script></body></html>