File tree Expand file tree Collapse file tree 3 files changed +15
-4
lines changed
android/android-app-curl-with-two-buttons Expand file tree Collapse file tree 3 files changed +15
-4
lines changed Original file line number Diff line number Diff line change 11build
22.gradle
3+ gradle /
4+ gradlew
5+ gradlew.bat
Original file line number Diff line number Diff 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
2835rm -rf build .gradle app/build app/.gradle
2936gradle --stop
3037gradle --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
3746adb install -r app/build/outputs/apk/debug/app-debug.apk
3847```
Original file line number Diff line number Diff line change 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" >
You can’t perform that action at this time.
0 commit comments