Skip to content

Comments

[Merged by Bors] - Android uninstall 31#2533

Closed
mockersf wants to merge 2 commits intobevyengine:mainfrom
mockersf:android-uninstall-31
Closed

[Merged by Bors] - Android uninstall 31#2533
mockersf wants to merge 2 commits intobevyengine:mainfrom
mockersf:android-uninstall-31

Conversation

@mockersf
Copy link
Member

Objective

Solution

  • Uninstalling "platforms;android-31" seems to do the trick and cargo-apk stops trying to target ...31

Android is not my thing, this solution was found with a lot of trials and errors. I am not sure how long term it is, I don't know the release schedule of android build tools, or if we need to target this 31 thing. I just wanted to stop all those failed ci everywhere...

@mockersf mockersf added A-Build-System Related to build systems or continuous integration O-Android Specific to the Android mobile operating system labels Jul 24, 2021
Copy link
Member

@TheRawMeatball TheRawMeatball left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Seems like a reasonable fix for a real problem for now, and we can revisit this when we get more serious about targeting android.

@cart
Copy link
Member

cart commented Jul 26, 2021

bors r+

bors bot pushed a commit that referenced this pull request Jul 26, 2021
# Objective

- Related to #2514 - not sure if it's a proper fix long term
- CI was complaining Error: Path `"/usr/local/lib/android/sdk/ndk-bundle/toolchains/llvm/prebuilt/linux-x86_64/bin/aarch64-linux-android31-clang"` was not found
- A lot of questions started popping up 10 days ago about ["android build tools 31 corrupted"](https://www.google.com/search?q=android+build+tools+31+corrupted)
  - https://stackoverflow.com/questions/68387270/android-studio-error-installed-build-tools-revision-31-0-0-is-corrupted
- Uninstalling `"build-tools;31.0.0"` doesn't seem to work, as it removes other components even though `"build-tools;30.0.3"` are available


## Solution

- Uninstalling `"platforms;android-31"` seems to do the trick and `cargo-apk` stops trying to target `...31`

Android is not my thing, this solution was found with a lot of trials and errors. I am not sure how long term it is, I don't know the release schedule of android build tools, or if we need to target this 31 thing. I just wanted to stop all those failed ci everywhere...
@bors bors bot changed the title Android uninstall 31 [Merged by Bors] - Android uninstall 31 Jul 26, 2021
@bors bors bot closed this Jul 26, 2021
ostwilkens pushed a commit to ostwilkens/bevy that referenced this pull request Jul 27, 2021
# Objective

- Related to bevyengine#2514 - not sure if it's a proper fix long term
- CI was complaining Error: Path `"/usr/local/lib/android/sdk/ndk-bundle/toolchains/llvm/prebuilt/linux-x86_64/bin/aarch64-linux-android31-clang"` was not found
- A lot of questions started popping up 10 days ago about ["android build tools 31 corrupted"](https://www.google.com/search?q=android+build+tools+31+corrupted)
  - https://stackoverflow.com/questions/68387270/android-studio-error-installed-build-tools-revision-31-0-0-is-corrupted
- Uninstalling `"build-tools;31.0.0"` doesn't seem to work, as it removes other components even though `"build-tools;30.0.3"` are available


## Solution

- Uninstalling `"platforms;android-31"` seems to do the trick and `cargo-apk` stops trying to target `...31`

Android is not my thing, this solution was found with a lot of trials and errors. I am not sure how long term it is, I don't know the release schedule of android build tools, or if we need to target this 31 thing. I just wanted to stop all those failed ci everywhere...
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

A-Build-System Related to build systems or continuous integration O-Android Specific to the Android mobile operating system

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants