Conversation
…g method and for accuracy.
|
I need someone who has never worked on PVTA-multiplatform before (hasn't set it up on their current computer, in any case) to try out these instructions. |
doc/deploy/android.md
Outdated
| ### Android Studio | ||
| We use Android Studio to easily manage the Android SDK tools. If you wish, you can attempt | ||
| to download the tools separately, but these instructions will not help you because I found the | ||
| attempt maddening. Plus, Android Studio will keep track of updates for you, which is nice. |
There was a problem hiding this comment.
This isn't too helpful in documentation.
doc/deploy/android.md
Outdated
| 1. `$brew install gradle` | ||
| 1. Follow any additional commands to set Gradle up. | ||
|
|
||
| ### Node |
There was a problem hiding this comment.
There's no way you don't already have node installed if anything else works for you while developing the app. (i.e. ionic and cordova also need node to run).
There was a problem hiding this comment.
These instructions should work for someone who was instructed to deploy the application and never worked on it, even though that's unlikely. Or someone whose computer crashed before they got to deploy.
I'm going to push back against assuming anything.
There was a problem hiding this comment.
Right, but we have instructions for that here:
doc/deploy/android.md
Outdated
| an emulator or phone: `$ionic cordova build android`. | ||
| 1. If you have an Android: Plug it into the computer with a USB cable and enable USB | ||
| debugging. Side-load like so, replacing the paths with your own: | ||
| `~/Library/Android/sdk/platform-tools/adb install /Users/my_name/pvta-multiplatform/platforms/android/build/outputs/apk/debug/android-debug.apk |
There was a problem hiding this comment.
Better to use placeholders here rather than full paths: <android_sdk>/platform_tools/adb install platforms/android/build/outputs/apk/debug/android-debug.apk
There was a problem hiding this comment.
If I read that I'd be flummoxed by what that meant, but hopefully the people that read and use this have knowledge and minds more like yours and less like mine.
doc/deploy/android.md
Outdated
| 1. Now you can build a release APK that should be signed automatically: | ||
| `$ionic cordova build android --prod --release` | ||
| The terminal output should tell you your release location. If it's something like this: | ||
| `/platforms/android/build/outputs/apk/release/android-release.apk` |
doc/deploy/android.md
Outdated
| my location was `/Users/my_name/Library/Android/sdk` | ||
|
|
||
| For "JAVA_HOME" problems, find the location of your JDK installation. My location | ||
| was `/Library/Java/JavaVirtualMachines/jdk-11.jdk/Contents/Home` and I don't know how |
There was a problem hiding this comment.
Are you sure it's "jdk-11" Your instructions below seem to imply that you should be using Java 8 not Java 11.
There was a problem hiding this comment.
Or, you're saying that's what is was but not what it should have been?
There was a problem hiding this comment.
Woops I copied and pasted from a "failed examples" part of my running documentation. Fuxed
mboneil10
left a comment
There was a problem hiding this comment.
General comments. Wasn't able to make it all the way through once, but I will at some point this week.
doc/deploy/android.md
Outdated
| 2. Open `config.xml`. On line 2, increment `android-versionCode` with your appropriately chosen new version number. | ||
| ### Android Studio | ||
| We use Android Studio to easily manage the Android SDK tools. If you wish, you can attempt | ||
| to download the tools separately, but these instructions will not help you because I found the |
There was a problem hiding this comment.
You can end the sentence here.
There was a problem hiding this comment.
Well, I was trying to insert a little whimsy into an otherwise extremely dry document, but WHATEVER
doc/deploy/android.md
Outdated
| attempt maddening. Plus, Android Studio will keep track of updates for you, which is nice. | ||
| 1. Get [Android Studio](https://developer.android.com/studio/) | ||
| 1. Use it to download the SDK platforms and tools: | ||
| 1. Click menu items Android Studio -> Appearance and Behavior -> System Settings -> Android SDK |
There was a problem hiding this comment.
Instead of menu items, should we say Android Studio > Preferences > Appearance and Behavior ...? That's a bit clearer to me.
There was a problem hiding this comment.
Ah yeah I was totally unclear. I meant "click the menu items "This" -> "that" -> "this"", not "click a button called 'menu items'. Will change so that's clearer.
doc/deploy/android.md
Outdated
| level 26, which we target at the moment. | ||
| 1. Click on the "tools" tab. Make sure "Android SDK Platform Tools", "Android SDK Tools", and | ||
| "Android SDK Build Tools" are checked. If you don't have access to an Android phone, make sure | ||
| the Emulator is also installed. Click "apply" |
There was a problem hiding this comment.
This is probably a job for someone who has never worked with pvtrack before, but I wonder if the emulator works.
There was a problem hiding this comment.
I have no idea. Maybe I should take that part out, since I've never tried the emulator.
doc/deploy/android.md
Outdated
| # Building an Android App to Deploy in Google Play | ||
|
|
||
| ##### Steps | ||
| ## Requirements |
There was a problem hiding this comment.
Worth mentioning, also, that almost all of these requirements are documented here:
https://cordova.apache.org/docs/en/latest/guide/platforms/android/index.html
There was a problem hiding this comment.
I think it might be worth just linking to those instructions and these instructions:
https://cordova.apache.org/docs/en/latest/guide/platforms/ios/index.html
In the main readme rather than duplicating them here.
There was a problem hiding this comment.
Oh god. I'm so sad right now.
doc/deploy/android.md
Outdated
| be downloaded separately, but these instructions do not cover how. | ||
| 1. Get [Android Studio](https://developer.android.com/studio/) | ||
| 1. Use it to download the SDK platforms and tools: | ||
| 1. Navigate through these menu items: |
There was a problem hiding this comment.
Are these indentations four spaces long?
There was a problem hiding this comment.
No. You can actually tell from here if you highlight with your mouse.
Updated the Android doc and some packages.