This commit is contained in:
parent
7a8e561fbb
commit
7e27f9223c
1 changed files with 45 additions and 0 deletions
45
README.md
45
README.md
|
|
@ -14,3 +14,48 @@ per cambiare nome e ID
|
||||||
```
|
```
|
||||||
nano android/app/src/main/res/values/strings.xml
|
nano android/app/src/main/res/values/strings.xml
|
||||||
```
|
```
|
||||||
|
|
||||||
|
|
||||||
|
## installazione
|
||||||
|
|
||||||
|
```
|
||||||
|
npm init -y
|
||||||
|
npm install @capacitor/core @capacitor/cli
|
||||||
|
npm install @capacitor/preferences
|
||||||
|
npx cap init MyApps it.patachina.myapps
|
||||||
|
```
|
||||||
|
|
||||||
|
inserire www (dove è residente il progetto)
|
||||||
|
|
||||||
|
```
|
||||||
|
npm install @capacitor/android
|
||||||
|
npx cap add android
|
||||||
|
npx cap copy android
|
||||||
|
npx cap sync android
|
||||||
|
npx cap open android
|
||||||
|
```
|
||||||
|
se serve cambiare android gradle
|
||||||
|
|
||||||
|
|
||||||
|
```
|
||||||
|
nano android/build.gradle
|
||||||
|
```
|
||||||
|
|
||||||
|
cambiare questa versione (x es in 8.10.1)
|
||||||
|
|
||||||
|
```
|
||||||
|
classpath 'com.android.tools.build:gradle:8.13.0'
|
||||||
|
```
|
||||||
|
|
||||||
|
e rifare
|
||||||
|
|
||||||
|
```
|
||||||
|
npx cap sync android
|
||||||
|
npx cap open android
|
||||||
|
```
|
||||||
|
|
||||||
|
in android studio
|
||||||
|
|
||||||
|
vai su menù file Sync Project with gradle files
|
||||||
|
|
||||||
|
poi puoi fare run, debug oppure menù build generate apk
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue