Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Optimized android apk #136

Closed
ozkriff opened this issue Oct 3, 2017 · 2 comments
Closed

Optimized android apk #136

ozkriff opened this issue Oct 3, 2017 · 2 comments
Labels

Comments

@ozkriff
Copy link
Owner

@ozkriff ozkriff commented Oct 3, 2017

One possible simple brain-dead hack:

diff --git a/Cargo.toml b/Cargo.toml
index 4ec9d17..935a8f4 100644
--- a/Cargo.toml
+++ b/Cargo.toml
@@ -7,6 +7,9 @@ license = "MIT OR Apache-2.0"
 [workspace]
 members = ["hate"]

+[profile.dev]
+opt-level = 2
+
@ozkriff ozkriff added the android label Oct 7, 2017
@ozkriff
Copy link
Owner Author

@ozkriff ozkriff commented Nov 28, 2017

Btw, there's an old script from @shmutalov:

cargo apk --release
"%JAVA_HOME%\bin\jarsigner" -verbose -sigalg SHA1withRSA -digestalg SHA1 -keystore zoc.keystore .\target\android-artifacts\build\bin\zoc-release-unsigned.apk zoc
"%ANDROID_HOME%\build-tools\23.0.3\zipalign.exe" -p -f -v 4 .\target\android-artifacts\build\bin\zoc-release-unsigned.apk .\target\android-artifacts\build\bin\zoc-aligned.apk

Loading

@ozkriff
Copy link
Owner Author

@ozkriff ozkriff commented May 31, 2018

Closing this as there's no android build for now (#247)

Loading

@ozkriff ozkriff closed this May 31, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Linked pull requests

Successfully merging a pull request may close this issue.

None yet
1 participant