diff --git a/README.md b/README.md index 58d944d..3f22e74 100644 --- a/README.md +++ b/README.md @@ -14,3 +14,48 @@ per cambiare nome e ID ``` 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