APK Android généré avec succès

- Script build-apk-simple.sh créé pour build sans Docker
- Installation SDKMAN + Java 21 requise par Capacitor
- Configuration Android SDK via cmdline-tools
- APK généré: dist/compagnon-lagon-beta.apk
- Export statique Next.js configuré (next.config.export.js)
- Taille APK: ~5MB prêt pour distribution

Pour rebuild: ./scripts/build-apk-simple.sh
This commit is contained in:
2025-11-23 10:38:42 +01:00
parent d0694df12a
commit 621e478705
58 changed files with 1174 additions and 16 deletions

25
android/gradle.properties Normal file
View File

@ -0,0 +1,25 @@
# Project-wide Gradle settings.
# IDE (e.g. Android Studio) users:
# Gradle settings configured through the IDE *will override*
# any settings specified in this file.
# For more details on how to configure your build environment visit
# http://www.gradle.org/docs/current/userguide/build_environment.html
# Specifies the JVM arguments used for the daemon process.
# The setting is particularly useful for tweaking memory settings.
org.gradle.jvmargs=-Xmx1536m
# Use Java 21 toolchain (required by Capacitor)
org.gradle.java.home=/home/syoul/.sdkman/candidates/java/21.0.1-tem
# When configured, Gradle will run in incubating parallel mode.
# This option should only be used with decoupled projects. More details, visit
# http://www.gradle.org/docs/current/userguide/multi_project_builds.html#sec:decoupled_projects
# org.gradle.parallel=true
# AndroidX package structure to make it clearer which packages are bundled with the
# Android operating system, and which are packaged with your app's APK
# https://developer.android.com/topic/libraries/support-library/androidx-rn
android.useAndroidX=true