Skip to content

Commit e644834

Browse files
committed
minimal working solution
1 parent 35dd8bb commit e644834

File tree

3 files changed

+15
-4
lines changed

3 files changed

+15
-4
lines changed
Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,5 @@
11
build
22
.gradle
3+
gradle/
4+
gradlew
5+
gradlew.bat

android/android-app-curl-with-two-buttons/README.md

Lines changed: 12 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -24,15 +24,24 @@ pushd /home/soft/android_sdk
2424
# check with app/build.gradle `android { compileSdk 34
2525
```
2626

27+
### android vs gradle
28+
> Android Gradle Plugin 8.2.2 is not compatible with Gradle 9.x
29+
```sh
30+
gradle wrapper --gradle-version 8.3 --distribution-type all
31+
./gradlew --version
32+
```
33+
2734
```sh
2835
rm -rf build .gradle app/build app/.gradle
2936
gradle --stop
3037
gradle --status
31-
gradle clean :app:assembleDebug --no-build-cache
32-
# gradle --stacktrace :app:installDebug
38+
./gradlew --stop
39+
./gradlew --status
40+
./gradlew clean :app:assembleDebug --no-build-cache
3341

3442
# gradle wrapper --gradle-version 7.5 --distribution-type all
43+
ls -la app/build/outputs/apk/debug/app-debug.apk
3544

36-
# install
45+
# install on android
3746
adb install -r app/build/outputs/apk/debug/app-debug.apk
3847
```

android/android-app-curl-with-two-buttons/app/src/main/AndroidManifest.xml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,6 @@
55

66
<application
77
android:allowBackup="true"
8-
android:icon="@mipmap/ic_launcher"
98
android:label="Button App"
109
android:usesCleartextTraffic="true"
1110
android:theme="@style/Theme.AppCompat.Light.DarkActionBar">

0 commit comments

Comments
 (0)