android: misc fixes for android
Closes: https://github.com/damus-io/notedeck/pull/568 Signed-off-by: William Casarin <jb55@jb55.com>
This commit is contained in:
committed by
William Casarin
parent
ec755493d9
commit
8b80096290
@@ -41,7 +41,7 @@ $ rustup target add aarch64-linux-android
|
|||||||
To run on a real device, just type:
|
To run on a real device, just type:
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
$ cargo apk run --release
|
$ cargo apk run --release -p notedeck_chrome
|
||||||
```
|
```
|
||||||
|
|
||||||
## Android Emulator
|
## Android Emulator
|
||||||
@@ -54,7 +54,7 @@ $ cargo apk run --release
|
|||||||
while the emulator is running, run:
|
while the emulator is running, run:
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
cargo apk run --release
|
cargo apk run --release -p notedeck_chrome
|
||||||
```
|
```
|
||||||
|
|
||||||
The app should appear on the emulator
|
The app should appear on the emulator
|
||||||
|
|||||||
@@ -42,7 +42,6 @@ profiling = ["notedeck_columns/puffin"]
|
|||||||
android_logger = "0.11.1"
|
android_logger = "0.11.1"
|
||||||
android-activity = { version = "0.4", features = [ "native-activity" ] }
|
android-activity = { version = "0.4", features = [ "native-activity" ] }
|
||||||
winit = { version = "0.30.5", features = [ "android-native-activity" ] }
|
winit = { version = "0.30.5", features = [ "android-native-activity" ] }
|
||||||
#winit = { git="https://github.com/rust-windowing/winit.git", rev = "2a58b785fed2a3746f7c7eebce95bce67ddfd27c", features = ["android-native-activity"] }
|
|
||||||
|
|
||||||
[package.metadata.bundle]
|
[package.metadata.bundle]
|
||||||
identifier = "com.damus.notedeck"
|
identifier = "com.damus.notedeck"
|
||||||
@@ -67,7 +66,7 @@ name = "android.permission.READ_EXTERNAL_STORAGE"
|
|||||||
max_sdk_version = 18
|
max_sdk_version = 18
|
||||||
|
|
||||||
[package.metadata.android.signing.release]
|
[package.metadata.android.signing.release]
|
||||||
path = "damus.keystore"
|
path = "../../damus.keystore"
|
||||||
keystore_password = "damuskeystore"
|
keystore_password = "damuskeystore"
|
||||||
|
|
||||||
[[package.metadata.android.uses_permission]]
|
[[package.metadata.android.uses_permission]]
|
||||||
|
|||||||
Reference in New Issue
Block a user