This app was created using @capacitor/create-app,
and comes with a very minimal shell for building an app.
Read more about installing Android Studio
Be sure to run the following command to customize your capacitor config for your app
npx cap init
Run npm install
To run the provided example, you can use npm start command.
npm startAdd the js libraries
npm i @capacitor/android @capacitor/ios
Create the native applications
npx cap add android
npx cap add iosUpdate your logo.png in /assets then run npm run generate:assets
Install Android Studio on your machine. Read more about installing Android Studio
- Be sure to have your JAVA_HOME environment set to your install of java
To use an Android Emulator you must use an API 24+ system image. The System WebView does not automatically update on emulators. Physical devices should work as low as API 21 as long as their System WebView is updated.
Sync the web code to your project
npx cap syncThis command will open android studio
npx cap open androidnpx cap run android