Build Android APK 0.1.1 with hidden status bar
This commit is contained in:
1 parent
fc81fee862
commit
afbf445b0f
7 files changed
+14
-12
No files matched your search
@@ -30,9 +30,9 @@ Open the local web address shown by Vite. Choose a dance template or add a sound
|
|||||||
|
|
||||||
## Mobile downloads
|
## Mobile downloads
|
||||||
|
|
||||||
- [Android / e/OS debug APK 0.1.0](downloads/BeatHound-Android-eOS-0.1.0-debug.apk) — installable on Android API 24 or newer. The same APK is intended for compatible e/OS 4+ devices.
|
- [Android / e/OS debug APK 0.1.1](downloads/BeatHound-Android-eOS-0.1.1-debug.apk) — installable on Android API 24 or newer and intended for compatible e/OS 4+ devices.
|
||||||
|
|
||||||
The Android file is a debug-signed build for testing. It is not a Google Play release package. No iOS app or download is currently supported because of financial constraints.
|
The generated Android file is a debug-signed build for testing. It is not a Google Play release package. No iOS app or download is currently supported because of financial constraints.
|
||||||
|
|
||||||
## Build the Android prototype
|
## Build the Android prototype
|
||||||
|
|
||||||
@@ -42,7 +42,7 @@ The mobile prototype uses Capacitor for Android.
|
|||||||
npm run android:debug
|
npm run android:debug
|
||||||
```
|
```
|
||||||
|
|
||||||
The Android build needs JDK 21 and Android SDK Platform 36 / Build Tools 36.0.0. It writes the Gradle output and copies the APK to `downloads/BeatHound-Android-eOS-0.1.0-debug.apk`. iOS is currently unsupported for financial reasons; see the [native build guide](docs/native-builds.md).
|
The Android build needs JDK 21 and Android SDK Platform 36 / Build Tools 36.0.0. It writes the Gradle output and copies the APK to `downloads/BeatHound-Android-eOS-0.1.1-debug.apk`. iOS is currently unsupported for financial reasons; see the [native build guide](docs/native-builds.md).
|
||||||
|
|
||||||
## Project checks
|
## Project checks
|
||||||
|
|
||||||
|
|||||||
@@ -7,8 +7,8 @@ android {
|
|||||||
applicationId "com.ninosaurier.beathound"
|
applicationId "com.ninosaurier.beathound"
|
||||||
minSdkVersion rootProject.ext.minSdkVersion
|
minSdkVersion rootProject.ext.minSdkVersion
|
||||||
targetSdkVersion rootProject.ext.targetSdkVersion
|
targetSdkVersion rootProject.ext.targetSdkVersion
|
||||||
versionCode 4
|
versionCode 5
|
||||||
versionName "0.1.0"
|
versionName "0.1.1"
|
||||||
testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner"
|
testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner"
|
||||||
aaptOptions {
|
aaptOptions {
|
||||||
// Files and dirs to omit from the packaged assets dir, modified to accommodate modern web apps.
|
// Files and dirs to omit from the packaged assets dir, modified to accommodate modern web apps.
|
||||||
|
|||||||
@@ -12,11 +12,13 @@
|
|||||||
<style name="AppTheme.NoActionBar" parent="Theme.AppCompat.DayNight.NoActionBar">
|
<style name="AppTheme.NoActionBar" parent="Theme.AppCompat.DayNight.NoActionBar">
|
||||||
<item name="windowActionBar">false</item>
|
<item name="windowActionBar">false</item>
|
||||||
<item name="windowNoTitle">true</item>
|
<item name="windowNoTitle">true</item>
|
||||||
|
<item name="android:windowFullscreen">true</item>
|
||||||
<item name="android:background">@null</item>
|
<item name="android:background">@null</item>
|
||||||
</style>
|
</style>
|
||||||
|
|
||||||
|
|
||||||
<style name="AppTheme.NoActionBarLaunch" parent="Theme.SplashScreen">
|
<style name="AppTheme.NoActionBarLaunch" parent="Theme.SplashScreen">
|
||||||
|
<item name="android:windowFullscreen">true</item>
|
||||||
<item name="android:background">@drawable/splash</item>
|
<item name="android:background">@drawable/splash</item>
|
||||||
</style>
|
</style>
|
||||||
</resources>
|
</resources>
|
||||||
@@ -21,16 +21,16 @@ Gradle creates the debug APK here:
|
|||||||
android/app/build/outputs/apk/debug/app-debug.apk
|
android/app/build/outputs/apk/debug/app-debug.apk
|
||||||
```
|
```
|
||||||
|
|
||||||
The checked-in file `downloads/BeatHound-Android-eOS-1.0.0-debug.apk` is debug-signed and linked from the root README. It is for direct testing and sideloading, not for Google Play publication. A release build should use a private signing key that is not stored in Git.
|
After a successful build, `downloads/BeatHound-Android-eOS-0.1.1-debug.apk` is debug-signed and available for direct testing and sideloading, not for Google Play publication. A release build should use a private signing key that is not stored in Git.
|
||||||
|
|
||||||
`npm run android:debug` also copies each new debug build to that `downloads/` path.
|
`npm run android:debug` also copies each new debug build to `downloads/BeatHound-Android-eOS-0.1.1-debug.apk`.
|
||||||
|
|
||||||
### Install with ADB
|
### Install with ADB
|
||||||
|
|
||||||
With USB debugging enabled on an Android or e/OS device, install the APK with:
|
With USB debugging enabled on an Android or e/OS device, install the APK with:
|
||||||
|
|
||||||
```sh
|
```sh
|
||||||
adb install downloads/BeatHound-Android-eOS-1.0.0-debug.apk
|
adb install downloads/BeatHound-Android-eOS-0.1.1-debug.apk
|
||||||
```
|
```
|
||||||
|
|
||||||
You can also transfer the APK to the device and open it. The device may ask you to allow installation from that file source.
|
You can also transfer the APK to the device and open it. The device may ask you to allow installation from that file source.
|
||||||
|
|||||||
BIN
Binary file not shown.
Generated
+2
-2
@@ -1,12 +1,12 @@
|
|||||||
{
|
{
|
||||||
"name": "beat-hound",
|
"name": "beat-hound",
|
||||||
"version": "0.1.0",
|
"version": "0.1.1",
|
||||||
"lockfileVersion": 3,
|
"lockfileVersion": 3,
|
||||||
"requires": true,
|
"requires": true,
|
||||||
"packages": {
|
"packages": {
|
||||||
"": {
|
"": {
|
||||||
"name": "beat-hound",
|
"name": "beat-hound",
|
||||||
"version": "0.1.0",
|
"version": "0.1.1",
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"@capacitor/android": "^8.6.2",
|
"@capacitor/android": "^8.6.2",
|
||||||
"@capacitor/core": "^8.6.2",
|
"@capacitor/core": "^8.6.2",
|
||||||
|
|||||||
+2
-2
@@ -1,7 +1,7 @@
|
|||||||
{
|
{
|
||||||
"name": "beat-hound",
|
"name": "beat-hound",
|
||||||
"private": true,
|
"private": true,
|
||||||
"version": "0.1.0",
|
"version": "0.1.1",
|
||||||
"type": "module",
|
"type": "module",
|
||||||
"scripts": {
|
"scripts": {
|
||||||
"dev": "vite --host 0.0.0.0",
|
"dev": "vite --host 0.0.0.0",
|
||||||
@@ -11,7 +11,7 @@
|
|||||||
"docs:build": "vitepress build docs",
|
"docs:build": "vitepress build docs",
|
||||||
"docs:preview": "vitepress preview docs --host 0.0.0.0",
|
"docs:preview": "vitepress preview docs --host 0.0.0.0",
|
||||||
"cap:sync": "npm run build:mobile && cap sync",
|
"cap:sync": "npm run build:mobile && cap sync",
|
||||||
"android:debug": "npm run build:mobile && cap sync android && cd android && ./gradlew assembleDebug && cd .. && mkdir -p downloads && cp android/app/build/outputs/apk/debug/app-debug.apk downloads/BeatHound-Android-eOS-0.1.0-debug.apk",
|
"android:debug": "npm run build:mobile && cap sync android && cd android && ./gradlew assembleDebug && cd .. && mkdir -p downloads && cp android/app/build/outputs/apk/debug/app-debug.apk downloads/BeatHound-Android-eOS-0.1.1-debug.apk",
|
||||||
"ios:sync": "npm run build:mobile && cap sync ios",
|
"ios:sync": "npm run build:mobile && cap sync ios",
|
||||||
"ios:open": "cap open ios",
|
"ios:open": "cap open ios",
|
||||||
"test": "vitest run",
|
"test": "vitest run",
|
||||||
|
|||||||
Reference in new issue
Block a user