|
|
5 mēneši atpakaļ | |
|---|---|---|
| app | 5 mēneši atpakaļ | |
| gradle | 5 mēneši atpakaļ | |
| .gitignore | 5 mēneši atpakaļ | |
| README.md | 5 mēneši atpakaļ | |
| build.gradle | 5 mēneši atpakaļ | |
| gradle.properties | 5 mēneši atpakaļ | |
| gradlew | 5 mēneši atpakaļ | |
| gradlew.bat | 5 mēneši atpakaļ | |
| local.properties | 5 mēneši atpakaļ | |
| settings.gradle | 5 mēneši atpakaļ |
This is a minimal Android project written in Kotlin and built with Gradle. It can be packaged into an APK once you have the Android SDK and Gradle installed.
Android SDK
sdk.dir set in local.properties.Gradle
gradle wrapper in the project root to generate the Gradle wrapper (gradlew).Build APK
Use the wrapper or Gradle to assemble a debug APK:
./gradlew assembleDebug
on Windows use gradlew.bat.
The APK will be located at app/build/outputs/apk/debug/app-debug.apk.
app/: Android application module
src/main/java/com/example/myapp/MainActivity.kt – main activitysrc/main/res/layout/activity_main.xml – layout filebuild.gradle – module build configurationbuild.gradle – top-level build script
settings.gradle – includes app module
gradlew/gradlew.bat – placeholder wrapper scripts
Feel free to expand this demo with your own features.